i just looped the animation but when i play it it not playing or looping
video:
i checked it if it looped but its looped
heres the script
UserInputService.InputBegan:Connect(function(Key, IsTyping)
if Key.KeyCode == Enum.KeyCode.F and Equipped and not Blocking and not Stomping and not IsTyping then
charging:Play()
task.wait(0.59)
chargingidle:Play()
end
end)
UserInputService.InputEnded:Connect(function(Key, IsTyping)
if Key.KeyCode == Enum.KeyCode.F and Equipped and not Blocking and not Stomping and not IsTyping then
charging:Stop()
chargingidle:Stop()
wait()
chargingSwing:Play()
Hitbox:HitStart(0.29)
end
end)
Could you tell me what the red line and the 3 blue lines from your video above say? At least in my experience whenever you see that while running it is a scripting error and will stop any following code once that is hit.
If you tried playing the charging animation by itself and it still doesn’t work, then it’s a problem with the animation you’re using.
If you haven’t done this yet- I recommend making sure you’ve exported it properly and make sure you’re using the right id. Sometimes it’s these small things we miss that cause the biggest problems.