Goal & Issue
I want to make a function that will grab a bunch of models inside of a folder, then have those models rotate in different directions than each other.
My problem is that I’m not exactly sure what the best way to go about it would be. I’m not very educated on CFraming, let alone Model Pivoting; so I’m not sure what the best way to do this would be.
Script
This is what I have currently and it’s very bland to say the least. Each model turns in the same direction & isn’t the most spectacular thing to look at; and I want to change that.
I’m fully aware that this script only does a block at a time, I plan to fully rescript a new Rotation Function; just want to know the best way to do it.
for _,Light in ipairs (game.Workspace.VenueLights[LightingName]:GetChildren()) do
coroutine.wrap(function()
local c = Light.CFrame
while enabled do
Light.CFrame = Light.CFrame*CFrame.fromEulerAnglesXYZ(0,0.1,0.05)
wait(0.05)
end
Light.CFrame = c
end)()
end
Edit
Giving this a bump, if you need any extra information; shoot me a message and i’ll add it in. Going to put a video of what I mean shortly.
Thank you for any help/advice you may give.