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

How do I make a brick or model bob up and down?

Asked by 10 years ago

I've attempted using BodyVelocity and still haven't got any luck.

0
BodyForce or CFrame? NotsoPenguin 705 — 10y
0
You have the option of bodyforce or of CFrame. If you want it better, use bodyforce. Have a script to increase and decrease the y axis of the bodyforce. TomsGames 225 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago

If attemping to use CFrame, try using math.sin (in a for loop, or variable). Wiki here.

Ad

Answer this question