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

Would I change a player's velocity from the client or server?

0_0

Player.Character.HumanoidRootPart.Velocity

1 answer

✓ Accepted answer

Use body velocity

local velocity = Instance.new("BodyVelocity",Player.Character.HumanoidRootPart)
velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
velocity.Velocity = (Player.Character.HumanoidRootPart.CFrame.LookVector*50) --we use lookvector just bc it goes in the direction of the humanoidrootpart

3 comments

0

press view source its messed up on the website

0

hmm the lookVector didn't go into effect. it's going off the orientation of the world, not the player

0

nevermind, thats just because the number(50) was too low.

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