Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do I make a gui pop up when a certain player joins the game? [closed]

Asked by
Im345 6
7 years ago
Edited 7 years ago

This question already has an answer here:

How to make a gui appear upon player joining the server

Example...

When the Owner of a game joins I want a G.U.I to come on everyone's screens saying:

"Say Hello To The Owner!"

0
this question is sooo hard pls don't post it on this site hiimgoodpack 2009 — 7y
1
@hiimgoodpack Either comment something useful/helpful or don't comment at all. Mineloxer 187 — 7y
0
@Mineloxer True true GottaHaveAFunTime 218 — 7y
0
Use_the_search_bar Goulstem 8144 — 7y
0
+1 to omit mod rep loss Goulstem 8144 — 7y

Marked as Duplicate by Goulstem

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?

1 answer

Log in to vote
2
Answered by
joshxie 25
7 years ago
Edited 7 years ago

you could do an onplayerenterd script.. for example:

function onPlayerEntered(newPlayer)
    if newPlayer.Name == "Owner" then
        local plr = game.Players:GetPlayers()
        local gui = game.Lighting["Name here"]:Clone()
        for i, v in pairs(plr) do
            gui.Parent = v.PlayerGui
            gui.Enabled = true
            wait()
        end
    end
end

game.Players.ChildAdded:connect(onPlayerEntered)
0
I've had some errors in the last post, but I've fixed it in studio, and it works perfectly. joshxie 25 — 7y
Ad