How can i force the animation immediately ? What i want is when i equip a tool to change the animations and play them immediately, i managed to change the animations but the issue is that in order for the animations to play i must move
this is the code that im using(note out that i made some changes to the 'animate' script) :
wait()
local tool = script.Parent
tool.Equipped:Connect(function()
local idle = "rbxassetid://2639300146"
local running = "rbxassetid://2640888470"
local anim = script.Parent.Parent:WaitForChild("Animate")
anim.idle.Animation1.AnimationId = idle
anim.run.RunAnim.AnimationId = running
end)

2 comments
is that the full script?
@DevSersponge I can give show some changes i did to the 'animate' script but overall, yes that's the entire script for now