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

Velocity? Pushing a player backwards? How does someone do so?

Asked by 9 years ago

I'd like to know how the "force push" would be made like on roblox.. I'd like an example??? Because I'm out of ideas I don't know how to use velocity and idk how to make the player get pushed back when the cursor is on the players body and you press a key like "d". I'm guessing this involves animation.

2 answers

Log in to vote
1
Answered by
Marios2 360 Moderation Voter
9 years ago

STOP REPOSTING QUESTIONS

0
May I see the duplicate so I may start a community moderation to have this question locked? M39a9am3R 3210 — 9y
0
I would deliver the duplicate, but i cannot see all questions i've answered to so i cannot find it. Marios2 360 — 9y
Ad
Log in to vote
0
Answered by 9 years ago

Hello TheReapersComing, We have noticed you have been requesting things and have not read the guidelines. Please read the guidelines and review all rules. You have been breaking a rule of "Requesting Scripts". We are not forcing for you to read it but you have been warned of breaking the rules.

P.S It doesn't require animation, you don't use velocity, you use CFrame.

TIP : This is the main CFrame part that makes them go back.

local PLAYER = game.Players.Player.Character
PLAYER.Torso.CFrame = CFrame.new(PLAYER.Torso.CFrame.p-Vector3.new(NUMVALUE,NUMVALUE,NUMVALUE))

The Numvalue will be the thing that will make them go backwards. (X,Y,Z) X = Left Right, Y = Up Down, Z = Backwards Forwards.

0
You could also use velocity, I have done so before. Perci1 4988 — 9y
0
Cframe is glitchy to me, that's why. TheReapersComing 0 — 9y

Answer this question