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

How to make my character thrust(lunge forward) in (insert direction) after animation is played?

Asked by 8 years ago

if player then~~~~~~~~~~~~~~~~~

        if combo == 0 then
            event:FireClient(player, "RunAnimation", "SlashAnim2" )
            slashsound:Play()
        elseif combo == 1 then
            event:FireClient(player, "RunAnimation", "ThrustAnim2" )
            overheadsound:Play()BodyForce.Force = Vector3.new(1000,0,0)
        elseif combo == 2 then
            event:FireClient(player, "RunAnimation", "OverheadAnim2" ) 
            lungesound:Play()
            end
        end
    end
end)

~~~~~~~~~~~~~~~~~ I'm fairly sure it has to be placed somewhere in here , but I'm not sure where and how to get it so it works.

0
@TeagueTime00 Thanks erniec0105 0 — 8y
0
Nevermind, that didn't send my character flying forward. erniec0105 0 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago
    if combo == 1 then
        event:FireClient(player, "RunAnimation", "SlashAnim2" )
        slashsound:Play()
    elseif combo == 2 then
        event:FireClient(player, "RunAnimation", "ThrustAnim2" )
        overheadsound:Play()BodyForce.Force = Vector5.new(1000,0,0)
    elseif combo == 3 then
        event:FireClient(player, "RunAnimation", "OverheadAnim2" ) 
        lungesound:Play()
        end
    end
end

end)

0
Sorry did something wrong in mine TeagueTime00 0 — 8y
Ad

Answer this question