Im trying to make a script that adds to a value every 3 seconds but it doesnt do anything, i dont see any errors on the output.
while true do local yes = 1 local uuu = script.Parent.Text local iii = script.Parent.Value wait(3) uuu = iii.Value iii.Value = iii.Value + yes end
please help me fix it.
You called for the value of a value.
iii = script.Parent.Value iiii.Value
You should refer to iii as the object and get its value.
while true do local yes = 1 local uuu = script.Parent.Text local iii = script.Parent wait(3) uuu = iii.Value iii.Value = iii.Value + yes end
Why do you have
local uuu = script.Parent.Text local iii = script.Parent.Value
from what i know, there is no instance that has both a text and a value
the variable iii should just be a number instead of script.Parent.Value because the parent should not have a number "value". it should have a "text" value