Script works in studio and not in game

Hello.
I have a script that removes all core gui (like chat, players tab) and the reset button.

If I test the game on studio it works perfectly.

image Reset gone.

image Other stuff gone.

If I test it by joining the game on site it doesn't work.

image Reset still here.

image Other stuff still here.

Is there a way to fix that?

try putting a game.Loaded event, if it doesnt work, you can do a while loop performing what you want

1 Like