It disables all easy ways of adding a death animation.
Maybe move the breakjoints part into your standard animation script or something?
Maybe make humanoid.BreakJointsOnDeath value?
Just don’t force breakjoints because it makes death animations… useless…
As8D
(as8d)
August 20, 2015, 3:56pm
#2
game:service("Players").PlayerAdded:connect(function(plr)
plr.CharacterAdded:connect(function(char)
char:WaitForChild("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Dead, false)
end)
end)
Oh, the wonders of SetStateEnabled
x_o
(x_o)
August 20, 2015, 3:56pm
#3
[quote] game:service("Players").PlayerAdded:connect(function(plr)
plr.CharacterAdded:connect(function(char)
char:WaitForChild("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Dead, false)
end)
end)
Oh, the wonders of SetStateEnabled [/quote]
It’s enabled now?
@As8D That’s pretty cool, didn’t know you could do that.
I usually make a custom health thingy.
[quote] game:service("Players").PlayerAdded:connect(function(plr)
plr.CharacterAdded:connect(function(char)
char:WaitForChild("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Dead, false)
end)
end)
Oh, the wonders of SetStateEnabled [/quote]
That is nothing short of amazing XD