I have the pivot of multiple parts set to the center of it all, but whenvever i load it in the game it just rotates itself, but i want it to function like a fan would (or a windmill in this case)
robloxapp-20241104-1828071.wmv (989.4 KB)
its hard to explain.
heres the script i have for it
local Windmill = script.Parent
local RS = game:GetService(“RunService”)
for i, part in pairs(Windmill:GetChildren()) do
if part.Name == "Wind" then
RS.Heartbeat:Connect(function ()
part.CFrame = part.CFrame * CFrame.Angles(0.1,0,0)
end)
end
end