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
local RS = game:WaitForChild("ReplicatedStorage") local players = game.Players:GetPlayers() function module.RoundStartingGui() print("yes") RS.RoundStarting:FireAllClients() end
handler side
local noButt = script.Parent.ParticipationQuestionFrame.No local yesButt = script.Parent.ParticipationQuestionFrame.Yes local RS = game:WaitForChild("ReplicatedStorage") RS.RoundStarting.OnClientEvent:Connect(function() print("yay") print(game.Players.LocalPlayer) script.Parent.Enabled = true end)
Call the function in a server script duh