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

How can I push a character?

Asked by 5 years ago

Hello. I have a hammer tool. I want that when the hammer hits a character that it gets pushed into the player's that's Holding the Tools view direction. How can I do that?

0
you can add a bodyVelocity in the player that got it and make the velocity = the players lookVector Fad99 286 — 5y
0
try using bodyVelocity. User#27411 0 — 5y
0
Cool, I had the same question! NeutralEnergy -1 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

Just add a BodyForce and set the Force to the player's HumanoidRootPart's Lookvector.

Yes, I actually answered my own Question.

Ad

Answer this question