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

How to make a script so when someone joins they die?

Asked by 9 years ago

I need to make a script so the joined player dies when it joins. I have this

game.Players.PlayerAdded:connect(function(player)
    player:BreakJoints()
end

1 answer

Log in to vote
0
Answered by
Tesouro 407 Moderation Voter
9 years ago

Use PlayerAdded event and just set the Humanoid.Health property to 0, or you may BreakJoints of the character, also works.

0
Thanks TheImmuneNoobKiller 0 — 9y
0
But can someone give me a full script because I tried this and It didn't work TheImmuneNoobKiller 0 — 9y
0
"Scripting Helpers is not a request site! " Tesouro 407 — 9y
0
No its called scripting helper and I'm asking for further help! TheImmuneNoobKiller 0 — 9y
View all comments (2 more)
0
Helpers* TheImmuneNoobKiller 0 — 9y
0
"can someone give me a full script" looks like a resquest Tesouro 407 — 9y
Ad

Answer this question