while true do
wait()
if v.Value ~= 1 then
print("bye")
repeat wait() until v.Value == 1
end
end
At the beginning, it was working once. Now, this loop works for 2 times and then it stops responding to anything. In studio, it works normally. The script is a LocalScript.
