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
Use PlayerAdded event and just set the Humanoid.Health property to 0, or you may BreakJoints of the character, also works.