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

How can I make a PlayerEntered Script? [closed]

Asked by 10 years ago

Can someone help me with that please?

Closed as Not Constructive by Articulating

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?

1 answer

Log in to vote
0
Answered by 10 years ago

Hiya.

Try this:

function onPlayerAdded(newplayer)
    --Your stuff goes here.
end
game.Players.PlayerAdded:connect(onPlayerAdded)
Ad