Confused on the behaviour of the default Animate script

I wanted to make custom walking/running animations for my game and i tried using the default Animate script to do so, but i am confused on the weird behaviour of the script for example:

In here it is set to the default walking animation ID:

and works as expected:

but when i change the prefix of it to “rbxassetid://” the animation speed doesnt change based on the player’s speed:

and when i tried setting the animationID to have the prefix “http://www.roblox.com/asset/?id=
its automatically overwritten to “rbxassetid://”

I’ve kind of had this problem (where the http prefix is overwritten by rbxasset), not sure how to fix it It may be a bug, but I could be wrong

rbxassetid points to a user uploaded asset on roblox that’s why it’s being overwritten

I have looked more into it and it had to do with this line of code:

if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
	setAnimationSpeed(speed / 14.5)
end

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.