I’m trying out a new method for knocking a player backwards with knockback type moves for my game. Only problem is I know I’m doing it wrong, but how can I do it correctly? When I change the Force to ‘PushBack’ it doesn’t really do what I want it to do. It pushes the player sideways rather than backwards.
Here’s an example of the script:
local pushBack = Instance.new("VectorForce",oRoot)
local att = Instance.new("Attachment")
att.Parent = oRoot
pushBack.Attachment0 = att
pushBack.Force = CFrame.new(yourRoot.Position, oRoot.Position).lookVector * 1000