I need to check if a Value is true before executing the script.
This is what I tried to do.
1 | if game.ServerStorage.GameOn.Value = true then --GameOn is a bool value |
2 |
3 |
4 | game.Players.LocalPlayer.PlayerGui.Intermission.Enabled = true --Intermission is a gui name |
5 |
6 |
7 |
8 | end |
I did it!
I changed the parent to replicated storage put ==