Its a local script inside of starterplayerscripts also mod variable is just another normal variable in Studio. I think its highlighting here because devforum thinks its another word for moderator but idk
No error. Only warn:
Yeah so what that is saying is the script cant find the StoreSteps script at that location. Its an infinite yeild so the rest of the script can’t run (its stopped forever). Make sure the StoreSteps module script is actually inside PlayerScripts.
“mod” is a math function. I’d change it to something else because right now you’re overwriting that function. It shouldn’t be causing any errors though.
Closest thing I could find to mod in math
Also it still does not change my steps to “inf” when im in it
Are you still getting any errors or warnings?
Nope.
iufewhfweiuwfeifwhifew(30)
Can you give me a run down of what’s happening on your end? I can’t help you without any information.
Are those print statements printing? I’d like to narrow down what the actual problem here is.
Yes the print statements are running except whenever I go into the part, its not changing it into “inf” it just stays at whatever the stage steps is. So basically every stage, the player gets a certain amount of steps to complete it so if on stage 1, they get 100, then go back into lobby to the safe zone, it still stays at 100 instead of inf
The safezone must not be named “sf”. Try replacing print("touch")
with print(hit.Name)
to see what its actually called. Thats why its not changing it to “inf”.
It prints “sf”. However, I could only achieve this by making the safe zone smaller and not in the way of spawn which is bad because I want the safezone to be the entire lobby when they spawn but their torso is not touching it for some reason even though they walk around.