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

Shifting a player left using BodyVelocity?

Asked by 5 years ago

How would I use BodyVelocity to shift a player left? I can't figure out how. Any help is appreciated

1 answer

Log in to vote
0
Answered by 5 years ago

This requires a tool. Inside the tool insert a localscript. Paste this inside the local script

script.Parent.Equipped:Connect(function()
print("Paratus")
local plr = game.Players.LocalPlayer
local char = plr.Character.Torso
speed = -100 --make sure this is a negative number
bodyV = Instance.new("BodyVelocity")
bodyV.MaxForce = Vector3.new(90000,90000,90000)
bodyV.Velocity = script.Parent.Parent.Torso.CFrame.RightVector * speed
bodyV.Parent = script.Parent.Parent.Torso
end)
0
Doesn't seem to work. The print doesn't even fire. gameisawesom 4 — 5y
0
the tool needs a handle EliteRayGawnX2 124 — 5y
Ad

Answer this question