[FIXED] Why does my NumberValue keep going down even tho a value is false?
Asked by
5 years ago Edited 5 years ago
I have been stuck on this problem for a couple of hours now, and I don't know how to fix it. My NumberValue is supposed to stop going down but it just continues to go down even tho a BoolValue is set to false.
02 | if game.ReplicatedStorage.ClickedPlay.Value = = true then |
03 | script.Parent.Visible = true |
09 | if game.ReplicatedStorage.IsOn 2. Value = = true then |
10 | game.ReplicatedStorage.Battery.Value = game.ReplicatedStorage.Battery.Value - 1 |
Please help.