cxcharlie
|
  |
| Joined: 26 Aug 2009 |
| Total Posts: 1414 |
|
|
| 30 Mar 2013 12:03 AM |
I'm trying to make a script that will CFrame multiple ojects at one time I made this but it wont work: Please Help... while true do local children = script.Parent:GetChildren() for i = 1, #children do children[i].CFrame = children[i].CFrame * CFrame.fromEulerAnglesXYZ(0,0.01,0) wait(0.1) end end
|
|
|
| Report Abuse |
|
|
| 30 Mar 2013 01:59 AM |
while true do local children = script.Parent:GetChildren() for _, v in pairs(children) do if v:IsA("BasePart") then v.CFrame = v.CFrame * CFrame.Angles(0,0.01,0) end end wait(0.1) end |
|
|
| Report Abuse |
|