So, I have a tool equiped anim I would like to run(i just used a free script of yt cuz yeah)
But it doesnt work
local Tool = script.Parent
local Animation = Tool:WaitForChild("Animation")
Tool.Activated:Connect(function()
local Character = Tool.Parent
local Humanoid = Character:WaitForChild("Humanoid")
local AnimationTrack = Humanoid.Animator:LoadAnimation(Animation)
AnimationTrack:Play()
print("wut")
end)
It might be an animation mistake. Are you positive that you exported the animation correctly and there’s actually an animation? Does the character stand still, not moving (no idle animation)? Or are you moving during the animation, the ROBLOX walking animation could interrupt the animation you want it to play.
After reviewing the animation, I don’t see any movement. It looks likes you got the correct script, but you did export the animation right. Try to export it again with a new id or tell me the steps that you did to export it.
Stupid question, but are you exporting the right animation? Also, tell me the steps you took to export the animation. And are there any keyframes on your animator?