I’ve been working on a game for 1 month and suddenly two of my scripts stopped working correctly. I revised them multiple times and nothing was wrong (as I didn’t change anything and it stopped working out of nowhere).
Since nothing was making the scripts work I decided to erase all of it and simply code:
wait(5)
print("Fired")
But that also didn’t work. It didn’t get printed.
Before you tell me to check if the Enabled property is set to true, yes it is. The script is enabled. Also, the script is located in the StarterGui, which is a place where scripts are also fired.
Kinda switching topics but I just noticed that these scripts are only working with task.wait(). When I used wait() on them they basically broke. I just replaced all the waits with task.waits and now it’s working as before.
Hmm… Seems like roblox is having it’s crazy moments once again. If task.wait is unkwnoingly the only method that is working right now i’ll stick to it haha.
Thanks for your time by the way