CharacterAdded activating when joining a game

how would I make a script that uses CharacterAdded but doesn’t activate when the player joined the game and only when they died?

1 Like

Template for you to build on:

game.Players.PlayerAdded:Connect(function(plr)
   plr.Character.Humanoid.Died:Wait()
   plr.CharacterAdded:Connect(function()
      -- Do stuff here
   end)
end)

We are waiting for the humanoid to die first

You would want to use CharacterAdded Inside of Humanoid.Died function

that works thank you very much

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.