I'm making a game and I want to make a generator system. You have to turn on 5 generators to win. Everytime a generator is turned on I increase a NumberValue + 1. My problem is: I don't know how a other script can check if the Value of the NumberValue is 5.
I tried: if NumberValue.Value == 5 then print("It worked!")
I also tried to put the script into SeverScriptService, Workspace or ReplicatedsStorage but it didn't work :(
Have you defined "
NumberValue" yet? Have you put it in a forever loop with atask.wait(0)line? normally this script would work in workspace