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

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

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

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

2 comments

1

@KingLoneCat, This might also be useful. http://wiki.roblox.com/index.php?title=CFrame

0

^I suppose if you want to make the most in-sufficient and slowest and most glitchy thing ever.

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