Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make sure a model is always right side up?

for example, I have a car model > vehicle seat + all the parts that go with it

how would I make sure it never flips over and if it does to put it back into the proper position?

1 answer

car = game.Workspace.Model

while wait() do
for i,v in pairs(car:GetChildren()) do
	if v.Orientation == not Vector3.new(0,0,0) then
	   v.Orientation = Vector3.new(0,0,0)
end
end

This discussion is preserved as it was. New answers, comments, and votes are closed.