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

How Do I Make Death Animation?

Asked by 8 years ago

How can i make a Death animation when you die your body/character will turn bue and then disapeared? i really need help for helpingg scripters HELP ME PLEASE!?

0
Don't repost, also, this isn't a request site. LegitimatlyMe 519 — 8y
0
im not requesting im asking how do i make one what functions] bennacho570 0 — 8y
0
Exactly, you haven't showed evidence that you tried, you are basically asking for us to give you something, when you have done nothing. LegitimatlyMe 519 — 8y
0
i want to know the functions and the things to make one, im not asking you to make me a scipt bennacho570 0 — 8y
View all comments (4 more)
0
you can't just jump to something like this, you have to learn basic lua scripting first... HungryJaffer 1246 — 8y
0
dude this is the script i made but it didnt work function onTouched(part) local h = part.Parent:findFirstChild("Humanoid") if h ~= nil then wait(0.001) h.Health = 0 end end script.Parent.Touched:connect(onTouched) wait(0) game.Player.Character.RightShoulder("BrickColor Blue") game.Player.Character.LeftShoulder("BrickColor Blue") game.Player.Character.LeftHip("BrickColor Blue") game.Player.Char bennacho570 0 — 8y
0
i also iserted it into a part but still it didnt work bennacho570 0 — 8y
0
Dude, edit your question, don't answer LegitimatlyMe 519 — 8y

2 answers

Log in to vote
0
Answered by
NotSoNorm 777 Moderation Voter
8 years ago

Now as I belive, There is no way to sort of 'delay' the death instance, But one possible option is to turn of CharacterAutoLoads:

http://wiki.roblox.com/index.php?title=API:Class/Players/CharacterAutoLoads

Then make the player wait until respawn, while that wait is happening you can insert a body figure (of that player) and play the animation of them dying. Then they respawn when the animation is done.

Ad
Log in to vote
-1
Answered by 8 years ago

(This isnt a real answer) this is the script i made HunGry Jaffer function onTouched(part) local h = part.Parent:findFirstChild("Humanoid") if h ~= nil then wait(0.001) h.Health = 0 end end

script.Parent.Touched:connect(onTouched) wait(0) game.Player.Character.RightShoulder("BrickColor Blue") game.Player.Character.LeftShoulder("BrickColor Blue") game.Player.Character.LeftHip("BrickColor Blue") game.Player.Character.RightHip("BrickColor Blue")

Answer this question