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

Is there a way to customixe the way you die?

Asked by 10 years ago

I wanted to know if you could make a script to over-ride the way you die. Like if you could replace the old fall apart type action with an animation you could find and load it as the id or something. So does anyone thing or know how to do it?

1 answer

Log in to vote
0
Answered by 10 years ago
game:GetService('Players').PlayerAdded:connect(function(player)
    player.CharacterAdded:connect(function(character)
        character:WaitForChild("Humanoid").Died:connect(function()
            --Stuff
        end)
    end)
end)

player is the local player from game.Players, character is player's character

Ad

Answer this question