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

How to make a block go 5 studs right and 5 studs left?

Asked by 7 years ago

So basically I want it on the x axis to go 5 studs right slowly and then 5 studs left. This would be a loop any advice?

1 answer

Log in to vote
0
Answered by 7 years ago
Edited 7 years ago

I could script this for you however, i have not seen a script of yours presented, so in this answer I will just recommend somethings you can use to do what you're asking.

The following methods/objects could help you do what you're looking for:

:Lerp() method - Website to find the lerp method

Question I personally found helpful about the lerp method.

BodyPosition object - Website to find out more about how to use it.

Website to see the methods for this object

BodyVelocity object - Question on here with important information.

Website to see the methods for this object

There are various ways to do what you are asking for. Here is a website that you would find all the body movers at and perhaps use them for special effects and they could maybe help you in your quest for success.

I hope, I helped in one way or another. If you have any questions please, post them below. I will get back to you as soon as possible. Thank you.

~~ KingLoneCat

1
@KingLoneCat, This might also be useful. http://wiki.roblox.com/index.php?title=CFrame AZDev 590 — 7y
0
^I suppose if you want to make the most in-sufficient and slowest and most glitchy thing ever. KingLoneCat 2642 — 7y
Ad

Answer this question