#Show GUI on all players

15 messages · Page 1 of 1 (latest)

south flame
#

u can use a RemoteEvent to fire it to all clients

tulip depot
#

yea I know but like how would I implement it?

south flame
#

uhh i think u need to add remote event in replicated storage, name it whatever u want then make a script in server script service with something like:

local RemoteEvent = ReplicatedStorage:WaitForChild("RemoteEvent") --the remote event u made, if you named it differently

RemoteEvent:FireAllClients()```

then a local script you want smtn like
```local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemoteEvent = ReplicatedStorage:WaitForChild("RemoteEvent")

RemoteEvent.OnClientEvent:Connect(function()
-- your stuff here
end)```

hopfully i explained that right cuz i hardly use these things so 😭
hasty emberBOT
#

studio** You are now Level 11! **studio

south flame
#

lmk if that works out, if not i need to do some studying sad

tulip depot
#

when I press play

zinc hedge
#

@tulip depot

#

Use a for loop to loop through everyones player gui and enable the gui

#

For i, v in game.Players:GetChildren() do
v.PlayerGui[ScreenGuiName.GuiName].Visible = true/false
end)

#

Sorry about no textblock

#

Cant get wm to work on my phone

hasty emberBOT
#

studio** You are now Level 11! **studio

tulip depot
#

ty