#no death animation script doesnt work for me either IT repeats and then i die or im stuck in it

6 messages · Page 1 of 1 (latest)

gaunt matrix
#

I trieed like 5 different scripts and animationa that shit not working please help

signal cape
gaunt matrix
#

wait()
local Humanoid = script.Parent.Humanoid
Humanoid.BreakJointsOnDeath = false
local DA = Instance.new("Animation")
DA.AnimationId = "rbxassetid://17795538864"
local DeathAnimation = Humanoid:LoadAnimation(DA)

Humanoid.HealthChanged:Connect(function(Health)
if Health <= 0 then
print("died")
script.Parent.HumanoidRootPart.Anchored = true
DeathAnimation:Play()
wait(2)
script.Parent:Destroy()

end

end)

#

i forgor code

gaunt matrix
gaunt matrix