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

ok so i made a script that increses a value every second?

what did I do wrong

print ("Core temperature script started")

while true do
	function game.Workspace.Temp.Current.Value< + 10
		wait(60)
	end

1 answer

✓ Accepted answer

First of all, wait goes by seconds, not frames.

To save yourself a line you can do

while wait(1) do
	game.Workspace.Temp.Current.Value += 10
end

4 comments

0

Ill see if it works

0

For some reason its giving me a santax error print ("Core tempature script started") while wait(60) do function game.Workspace.Temp.Current.Value< += 10 end

0

why do you have the less than sign before the +=?

0

i saw it on a free model

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