script.Parent.Parent.PlayAnimation.Changed:connect(function()
	if script.Parent.Parent.PlayAnimation.Value == true then
		script.Parent.Parent.PlayAnimation.Value = false
		--
		local animLoaded = player.Character:WaitForChild("Humanoid"):LoadAnimation(player.Character:FindFirstChild("Scissors").Handle.CutAnim)
		wait()
		animLoaded:Play()
	end
end)


I made an animation for my scissors, but the animation only plays when the scissors aren't equipped. Is there something wrong here? Do I need to include the tool in the animation editor somehow when creating the animation?

2 comments

0

Please ignore the "--", that's just how I organized my code and this question is miss-interpreting it as a comment.

0

you should do this with an Equipped event for the tool