Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

can you add a number simply using like + 1 to an int value?

Asked by 5 years ago

so you dont have to do something like

1If game.Workspace.Progress.Value == 1 then
2    If game.Workspace.Go.Value == 1 then
3        game.Workspace.Progress.Value = 2
4    end
5end
6end
0
sry if you lose brain cells GAMER_64T 32 — 5y

1 answer

Log in to vote
2
Answered by
SnowieDev 171
5 years ago
Edited 5 years ago

Yes you can.

1if game.Workspace.Progress.Value == 1 then
2    if game.Workspace.Go.Value == 1 then
3        game.Workspace.Progress.Value = game.Workspace.Progress.Value + 1
4    end
5end
Ad

Answer this question