Having more trouble with anims

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 :thinking:

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 prints what when I run it though…

I am probably doing sum stupid error and btw its a serverscript and its in r6( i animated in r6)

Does it print any other errors?

No nothing lol so idk whats going on :thinking:

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.

Just wondering, what video on YouTube did you get this script from?

Yes I exported it correctly ill try it again rn if u want, also the char does stand still while i am

Just this random vid i found since i was too lazy to make it myself lol

Can you send me the animation link so I can see?

Here it is https://web.roblox.com/library/configure?id=9475644019#!/general

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.

alright ill try again i hope it works

Exported it again, still doesnt work

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?

Yes, I used the default animator and export to roblox lol

When you play the animation inside of the animator, does that play correctly?

You also mentioned that you animated in R6, is your avatar in R6 when you playtest?

yes in my last animation problem i fixed that, rn im switching to r15 cuz i think it has less problems im ngl

I don’t think the type matters, but give it a shot I guess.

I feel like it does ngl everything is made like that when i find it