Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

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

This discussion is preserved as it was. New answers, comments, and votes are closed.