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

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

Asked by 3 years ago

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

Log in to vote
0
Answered by 3 years ago
Edited 3 years ago

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
0
Ill see if it works nicemorew 26 — 3y
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 nicemorew 26 — 3y
0
why do you have the less than sign before the +=? LeedleLeeRocket 1257 — 3y
0
i saw it on a free model nicemorew 26 — 3y
Ad

Answer this question