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

New player join script?

Asked by 10 years ago

so i'm wanting to make a script that tells everyone in the server that a new player has joined . the message will be saying "(New player name) has joined the server!" Can someone please help me on how to do this?

1 answer

Log in to vote
2
Answered by
Shawnyg 4330 Trusted Badge of Merit Snack Break Moderation Voter Community Moderator
10 years ago

This is not a request site, but since this is very easy, I'll help....

game.Players.PlayerAdded:connect(function(p)
    h = Instance.new("Hint", Workspace)
    h.Text = p.Name.." has joined the server!"
    wait(2)
    h:Destroy()
end)
0
i'm sorry for acting greedy, thanks for the help you've given Kingbeast786 0 — 10y
0
At least you've accepted your fault. No problem ;) Shawnyg 4330 — 10y
Ad

Answer this question