Hey there! So, i found this post and it didn’t work (not even surprised i mess up everything xd)
What happens rather than the yellow parts going around the blue part, they merge into one and one yellow part just goes to 0,0,0 for some reason.
here is the script (bluep = blue part, part = part thats gonna rotate around blue part):
for i, v in pairs(parts) do
local angle = i * (fullCircle / #parts)
local x, z = getXAndZPositions(angle)
part.Pos.Value = (bluep[plr].Position + Vector3.new(x, 3, z))
end
local s,e = pcall(function()
print(part.Pos.Value)
bodyPos.Position = (part.Pos.Value) - Vector3.new(0,2,0) + Vector3.new(0,part.PrimaryPart.Size.Y/2,0) + Vector3.new(0, 0, 0)
bodyGyro.CFrame = bluep[plr].CFrame
end)
(I wrapped in a pcall because it errored everytime i removed the part so i decided to wrap it in a pcall instead cuz sure, the error didnt affect anything, but it was bugging me)
here is what’s happening:
yellow parts are merging into one position and blue part is where they are supposed to circle on.
Thanks!