of     1   

joekingly
#221198235Thursday, July 13, 2017 7:51 AM GMT

Nothing happens when I do this. The value remains the same at 0. while script.Parent.anxiety.Value == true do wait(1) script.Parent.timeSpent.Value = script.Parent.timeSpent.Value + 1 end It runs through this loop I know it works I've used print to get it but the value does NOT change. Yes this is a normal script. Didn't run it with a LocalScript 'cause I figure that wouldn't work either since LocalScript is mostly useful for like keybinding and such. Plus laziness. It's 2:49 PM.
KiwiTronik
#221199787Thursday, July 13, 2017 8:30 AM GMT

is the value "anxiety" true? if so, try adding these at the start of the script: repeat wait() until script.Parent.anxiety repeat wait() until script.Parent.timeSpent
joekingly
#221216558Thursday, July 13, 2017 3:57 PM GMT

Didn't work sorry but thank you anyway. I figured it out however, I had that loop in with other .Touched functions which in most cases is harmless but apparently not so in this current predicament. So I Just made a separate script for the loop. How annoying.

    of     1