How to make gui pop on client side, when it is triggered on server?
I am trying to have a gui pop up on the player screen when the event is fired and the event is handled on the client side, but it doesn't pop up and there is no error code.
Trigger side
01 | local RS = game:WaitForChild( "ReplicatedStorage" ) |
02 | local players = game.Players:GetPlayers() |
08 | function module.RoundStartingGui() |
12 | RS.RoundStarting:FireAllClients() |
handler side
01 | local noButt = script.Parent.ParticipationQuestionFrame.No |
03 | local yesButt = script.Parent.ParticipationQuestionFrame.Yes |
05 | local RS = game:WaitForChild( "ReplicatedStorage" ) |
07 | RS.RoundStarting.OnClientEvent:Connect( function () |
09 | print (game.Players.LocalPlayer) |
10 | script.Parent.Enabled = true |