Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to check if a value is true before executing a script?????

Asked by 6 years ago

I need to check if a Value is true before executing the script.
This is what I tried to do.

1if game.ServerStorage.GameOn.Value = true then  --GameOn is a bool value
2 
3 
4game.Players.LocalPlayer.PlayerGui.Intermission.Enabled = true --Intermission is a gui name
5 
6 
7 
8end

1 answer

Log in to vote
0
Answered by 6 years ago

I did it!
I changed the parent to replicated storage put ==

Ad

Answer this question