you are attempting to turn the gui off from startergui
, this will only turn off the gui that players start with when they join or reset, you need to turn the gui off inside the players PlayerGui
inside your code you could fire all the clients in the game with this:
1 | game.ReplicatedStorage:FireAllClients() |
and inside a localscript you put inside the gui you could put:
1 | game.ReplicatedStorage.OnClientEvent:Connect( function () |
2 | script.Parent.Enable = false |
i know this answer is not the best answer but if it did help be sure to mark it as answer and as always leave a reply if you have any problems.