FireAllClients Help

Two events aren’t necessary when it can be done with one only to lessen the objects in the game and makes it easier.

-- Server

RE.OnServerEvent:Connect(function()
    RE:FireAllClients()
end)
-- Client

RE.OnClientEvent:Connect(function()
    -- make gui visible
end)

button.MouseButton1Click:Connect(function()
    RE:FireServer()
end)
5 Likes