Egegold0
(Saitama)
#1
How can I make when I press the button the GUI will be shown to everyone in the server
By The way do not edit this part of the script
script.Parent.Parent.Visible = false
This is my code:
script.Parent.MouseButton1Click:Connect(function(plr)
script.Parent.Parent.Visible = false
script.Parent.Parent.Parent.Parent.EtkinlikGui.Yetenek.Visible = true
wait(15)
script.Parent.Parent.Parent.Parent.EtkinlikGui.Yetenek.Visible = false
end)
Orbular3
(Orbular3)
#2
RemoteEvent
s have a method called :FireAllClients()
. When you press the button use :FireAllClients()
to tell each client to show a gui.
FireAllClients
OnClientEvent
Egegold0
(Saitama)
#3
How do I make my script do that idk how to do it
Orbular3
(Orbular3)
#4
When the player presses the button call FireAllClients, and in a local script use the .OnClientEvent Event to show the gui