Does anyone know if I can make a screen GUI that shows up on a specific account's screen that when clicked, it triggers an event?
ok so lets assume youve made the gui already (make sure its invisible)
if game.Players.LocalPlayer == "playernamehere" then gui.Visible = true end
and for the part where the event happens when its clicked, i dont really understand what you mean by event, so ill assume its a remote event
button.MouseButton1Down:Connect(function() game.ReplicatedStorage.RemoteEvent:FireServer() end)
hope it helps, replace the event and the player name, gui etc with the actual gui name / path (eg. script.Parent.Gui)
Closed as Not Constructive by Ziffixture and RayCurse
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?