Log In  

I'm trying to make a block-pushing puzzle game to help me understand lua more.
syntax error pls help

P#113337 2022-06-19 04:18 ( Edited 2022-06-19 04:18)

use == if you compare values, single = is for setting a variable
so it should look like:

if level==1 then

P#113340 2022-06-19 04:43

@glezmen this is what fixed it, thank you

P#113341 2022-06-19 04:46

[Please log in to post a comment]