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 4 years ago

so you dont have to do something like

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

1 answer

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

Yes you can.

if game.Workspace.Progress.Value == 1 then
    if game.Workspace.Go.Value == 1 then
        game.Workspace.Progress.Value = game.Workspace.Progress.Value + 1
    end
end
Ad

Answer this question