#Animation wont play?

1 messages · Page 1 of 1 (latest)

steep bronze
#

local Animation = script.Parent.Animation
local plr = game.Players.LocalPlayer
local chr = plr.Character
local Humanoid = chr:WaitForChild("Humanoid")
local Animator = Humanoid:WaitForChild("Animator")
local PlayAnimation = Animator:LoadAnimation(Animation)
local tool = script.Parent

tool.Activated:Connect(function()

print("Animation")
PlayAnimation:Play()

end)

Pls Help!

ornate elk
#

hey

#

uh

#

im not sure but

#

maybe the script dont find the char

#

cuz u loading

#

modify: local character = player.Character

#

local character = player.Character or player.CharacterAdded:Wait()

#

and there is an error or no? if ye tell me pls

plush nymph
#

I don't know what you're trying to do, but if you don't have a handle and the requires handle property is checked, then I'd disable that.

steep bronze
#

and there a no errors in the output

ornate tundra
plush nymph
steep bronze
steep bronze
plush nymph
#

are you sure the animation isn't playing?

#

what is the animation supposed to be?

#

it's possible that you didn't set its priority right. it should be set to an action

#
print("Animation")

Everything should be fine if this print is in the output