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

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

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. 

2 comments

0

@TeagueTime00 Thanks

0

Nevermind, that didn't send my character flying forward.

1 answer

    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)

1 comment

0

Sorry did something wrong in mine

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