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

How do you make a object spin?

I need to add a theme sit on the horse while you spin, its like one of those rides in a park fair where you sit on a seat but for kids its horses and stuff then there's (http:http://www.roblox.com/games/304372641/LF//) this ceiling on top of you which spins and because you are connected to it you will spin as well

For some reason Motor would not work

1 comment

0

Go to school kid. "where you sit on a sit"

2 answers

✓ Accepted answer
while true do 
wait()
script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0.1)
end

Put this into a normal script not local script. Just place this script into the "part" that you want the "part" to spin. I hope this helps. :)

2 comments

0

It did not work

0

SORRY it did work

What you need to do is weld Parts of the (It's called a Carousel, I believe). http://wiki.roblox.com/index.php/Weld

Then, you can use a Motor to spin the bottom part to which all other parts are welded. http://wiki.roblox.com/index.php?title=API:Class/Motor

Your question is vague, you show no effort of researching or attempting to code. Next time, actually do the research and post in the question all that you have attempted. Not just 'This method didn't work' as a method to do something can be used in both good and wrong ways, so we can't know what you actually did with it.

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