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 5 years ago

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

if game.ServerStorage.GameOn.Value = true then  --GameOn is a bool value


game.Players.LocalPlayer.PlayerGui.Intermission.Enabled = true --Intermission is a gui name



end

1 answer

Log in to vote
0
Answered by 5 years ago

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

Ad

Answer this question