How would I make a value get +1 every second? I tried this it doesnt work... This is my first try with using math in roblox
while true do
wait(1)
script.Parent.Value = script.Parent.Value.Value+1
end
How would I make a value get +1 every second? I tried this it doesnt work... This is my first try with using math in roblox
while true do
wait(1)
script.Parent.Value = script.Parent.Value.Value+1
end
+= will increment value by the number.
while true do
wait(1)
script.Parent.Value += 1
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thanks!