How to make Completely new animations for a player, when they equip a tool?

How to make it that when a player equips a tool a whole new set of animations are used on the player.
I Have Tried making a copy of the default animations in player and then putting my own animations, then disabling the original animations, when a tool is equipped, but I couldn’t get it to work.

Any help appreciated!

1 Like

https://developer.roblox.com/en-us/api-reference/event/Tool/Equipped

local tool = script.Parent

tool.Equipped:Connect(function()
	--load and play animations here
end)

Whenever a Tool instance is equipped by the player the corresponding “Equipped” event is fired for that particular tool, we can use this to determine when a specific tool is equipped and act accordingly, in this case load and play custom animations, oppositely the event “Unequipped” is fired when the Tool instance is unequipped by the player.

https://developer.roblox.com/en-us/api-reference/event/Tool/Unequipped

1 Like