so I haven't really did anything because roblox studio crashes on me. So I was thinking if you can do variable += 1 like in a script
x = 0 while true do x += 1 end
instead of
for x = 0, ? do print('idk") end
No +=
increment is not possible, neither is ++
you will have to do x = x + 1;
As for your second example, I don't know what language that is from. but the ?
by itself holds no value in Lua.
I recommend you take a look at syntax of Lua.