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

how can i make a rotating script?

Asked by
NexeusX 137
10 years ago

I want to make a script that can rotate any model so far i can only rotate bricks, what can i do?

0
Check out Model methods: http://wiki.roblox.com/index.php?title=Model Tesouro 407 — 10y

2 answers

Log in to vote
0
Answered by
Xianon 105
10 years ago

You need to create an instance

local brick.script.Parent

brick.Rotation = UMdi2.new(0,360,0,0)
end

0
thanks ive tryed that but when i did it it spins the brick from the center how can i make so i can make it spin from the end? NexeusX 137 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

The easiest way to do it is to make the Top Surface of a brick a Motor and then put the brick you desire to spin on top of the small, yellow cylinder.

Answer this question