Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 6 years ago

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
0
Did you get any errors? ventrixion 27 — 6y
0
No DeveloPatter 23 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

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.

Ad

Answer this question