I’m trying to align models in WolrdModels in a Model list GUI so they’re fully visible.
local mod:Model = script.Parent:FindFirstChildWhichIsA("Model")
if mod then
local size = mod:GetExtentsSize()
mod:PivotTo(
CFrame.new(0,-2,-size.Z*2)
)
game["Run Service"].RenderStepped:Connect(function()
mod:PivotTo(mod:GetPivot()*CFrame.Angles(0,math.rad(2),0))
end)
end
But the results are pretty much random.
