repeat wait() until v.Value == 1
I'm trying to make this repeat every time the value gets to 1.
What's actually happening : It works for the first time then the value changes to 2. When it's 1 again, the script doesn't do anything.
Any suggestions or solutions for this?
Your script works once since there is no loop to make it work every time. Try this
while true do wait(.1) if v.value ~= 1 then repeat wait() until v.value == 1 end end
Hope it helps