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

Spinning Brick Script?

I was wondering how would I make my Brick spin on the X Axis? You know, Rotate like the Earth does. I need it for a game but I can't find any Resources to help me. I do not want to use a Motor cause the Brick is Hovering in mid air.

1 answer

-- In a local script.
service = game:GetService("RunService")
service.Heartbeat:connect(function()
	part = Workspace.model.base -- Just an example replace it with the link to your part.
	part.CFrame = part.CFrame * CFrame.Angles(0, math.rad(1), 0)
end)

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