Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

For some reason animations is canceling out this script???

I've been trying to make a decent Combat Script but it just wont work properly, The Damage script im using works just fine but when i go and put it in the Combat Script it doesn't work i don't see the problem, Can anyone help me out?

  if Combat == 1 then
        print("Loading Left Punch")
        local animation = Instance.new("Animation")
        animation.AnimationId = "http://www.roblox.com/Asset?ID=906039050"
        local animTrack = player.Humanoid:LoadAnimation(animation)
        script.Damage1.Disabled = false
	animTrack:Play()
        wait(cooldown)
        db = false
        end

2 comments

0

Did you get any errors?

0

No

1 answer

✓ Accepted answer

Perhaps you didn't make the priority action, and left it as core. Doing that will make the default Idle animation play over it, not allowing it to play. You should go back and check.

This discussion is preserved as it was. New answers, comments, and votes are closed.