hey guys so im making a roll script and i wanna apply a force to push the player forward so im using apply impulse but the thing is its not working so can someone pls help me
heres the roll function
local ROLL ; ROLL = uis.InputBegan:Connect(function(i, gpe)
if not gpe and i.UserInputType == Enum.UserInputType.MouseButton1 and state_debounce == false then
state_debounce = true
local load = animator:LoadAnimation(roll_Animation)
load:Play()
local f = 100
HRP:ApplyImpulse(HRP.CFrame.LookVector * f + Vector3.new(0, 10, 0))
task.wait(.6)
state_debounce = false
end
end)
pls help and thx for the help