I wanna make a respawn animation for my game the anim is ready but i couldn’t figure out where to start from so my questions are
How do I know when a player has died
How do I get the anim to play on respawn
1 Like
Why do you need to know when the player died?
For the spawning part, what I would do is:
- Make a Script, put it inside of “StarterCharacterScripts” (inside the “StarterPlayer” in the explorer)
- Put the Animation instance into the script
- Put this code into the Script:
script.Parent:WaitForChild(“Humanoid”):WaitForChild(“Animator”):LoadAnimation(script:FindFirstChildOfClass(“Animation”)):Play()
Name the script whatever you want.
3 Likes
So that we could add a fade out effect
And please use
-- this
By tapping the settings icon when your writing something and selecting preformatted text
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.