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

How to make the model spin as a whole group?

Asked by
ImfaoXD 158
6 years ago
Edited 6 years ago

I'm trying to make the birds spin around in circle and it doesn't work. How come? Is my codes incorrect or am I missing something? Can anyone help me?

Here is my script and models layout:

https://gyazo.com/36848a7ed4a40ef046dd3062f3efae2c

The main script that make the whole group of the model spin:

MainSpinner = game.Workspace.Parent.Model

while true do
MainSpinner.CFrame = MainSpinner.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0.07)
wait(0.001)
end

1
You should set it as a primary part and use setPrimaryPartCFrame Programical 653 — 6y
1
Yeah models don't have a CFrame, only parts do. Use SetPrimaryPartCFrame Perci1 4988 — 6y
0
Thank you for your help guys. It finally work now, thanks for your help and support guys! ;) ImfaoXD 158 — 6y

Answer this question