Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

1 comment

0

sry if you lose brain cells

1 answer

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

This discussion is preserved as it was. New answers, comments, and votes are closed.