local TweenService = game:GetService("TweenService")
local part = script.Parent
local rotationDuration = .1
local function rotatePart(part)
local rotateTween = TweenService:Create(part, TweenInfo.new(rotationDuration), {Orientation = part.Orientation + Vector3.new(0, 360, 0)})
rotateTween.Completed:Connect(function()
rotatePart(part)
end)
rotateTween:Play()
end
for _, part in ipairs(part:GetDescendants()) do
if part:IsA("BasePart") then
rotatePart(part)
end
end
robloxapp-20230422-1815598.wmv (638,2 Ko)
robloxapp-20230422-1816260.wmv (911,6 Ko)