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

Why isn't my rotating script working?

Owned = game.Workspace.owned
reset = Owned.CFrame.new(0,0.1,0)

Owned.CFrame.new(0,.01,0)
wait() 
Owned.CFrame.add(0,.01,0)
repeat 
	
until
Owned.CFrame.current(0,360.01,0) local next = reset

--I am a super beginner and I would like you to explain why it won't work.

I made this my self over the week end.

2 comments

0

Can you explain what you're trying to do?

0

It's in the title, make a rotating part script. Also, can't you tell by the CFrame?

1 answer

✓ Accepted answer

while true do script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(0,0.07,0) wait(0.01) end

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