Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why My animation got conflicted by Roblox's walkanimation?

I'm was thinking about this is a conflicting animation maybe.
These is my codes:

function onKeyPress(inputObject, gameProcessedEvent)
	if MovingKeys then
		Moving = true
		if ControlHolding then
			print("HEY!")
			SquatMoving:play() --It got conflicted by roblox's walking animation :C
		end
	end
end
game:GetService("UserInputService").InputBegan:connect(onKeyPress)

I actually get HEY! too, but it still not playing. How do i fix them?
Thanks for help!

1 comment

0

It's probably Roblox's Animator script.

1 answer

✓ Accepted answer

What you need to do is go back to the animator, load the animation you currently have and press on settings and change the priority of the animation to Action this means that this animation is more important then Roblox's animation and so your animation actually will overlap Roblox's animation.

For more information on animation check here: http://wiki.roblox.com/index.php?title=Animations

This is a simple setting change in the Plugin, your code looks fine to me, if it happens to error comment your error and I will get back to you.

Hope this helped!

1 comment

0

Ooooooh!!! this is REALLY worked!! thank you very very much!

This discussion is preserved as it was. New answers, comments, and votes are closed.