local module = {}
local hum = script.Parent:WaitForChild("Humanoid")
local animator = hum.Animator
local anims = {
charge = animator:LoadAnimation(script.Charge)
}
function module.Play(anim)
anims[string.lower(anim)]:Play()
end
return module
I want to make it look like in animation editor but I have no idea how to.
I had that problem too, I dont think thats a script issue. It might be an animating error that happened, try to reanimate every keyframe (rotate everything and rotate it back to the normal position) like this:
sometimes it worked when I did this but sometimes it doesnt. Sry if it doesnt work. I dont really know how module scripts work