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 9 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
9 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 — 9y
0
At least you've accepted your fault. No problem ;) Shawnyg 4330 — 9y
Ad

Answer this question