I am making a script where an animation plays and after the animation stops I want the player to change from default animation to the zombie animation and I never really done this and only thing I can do is make the zombie animation play when player joins the game.
you can make a function to either run an animation WHILE a player is a zombie, or forever after a player is a zombie
local zombie = Humanoid.Died
while zombie = true do
-- use this one if you want to have a player be revived, you would have to add a lot more scripts for this.
if zombie = true do--much simpler, just can't have a revived system
game.Workspace. --other blaby blab here defining which animation you want
:Play()
end
hope this helped, reply if you are still confused, even though i am still new to scripting so keep in mind i cant solve all things
I think the OP is asking about changing player animation.
If so, a simple google search will solve your question. There are tons of ways of doing this.
True, sorry, i forgot where to find it, but there are templates that can change animations for walking, idle, etc. And you can just change the :Play() in my script to the PlayerAnimation:Walk() or whatever it is.
1 Like