I'm trying to make an animation where when you equipped the tool It shows an animation BUT my animation flashes for a tenth of a second then stops then the normal walking animation plays.

Code:

tool = script.Parent
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()

tool.Equipped:Connect(function()
	print("Equipped")
	script.Parent.Parent.Humanoid:LoadAnimation(script.Parent.idle):Play()

	
	
end)

2 comments

0

Use something like setproirty or something

0

I didn't know that was a thing! Well now it is working I just had to set set proirty to action.