function Open()
	repeat
		local Parts = script.Parent.Parts
		local PrimaryCFrame =Parts:GetPrimaryPartCFrame()
		local OpenedCFrame = script.Parent.OpenedCFrame.CFrame
		Parts:SetPrimaryPartCFrame(PrimaryCFrame * CFrame.new(-0.05, 0, 0))
		wait()
	until PrimaryCFrame:pointToWorldSpace() == OpenedCFrame:pointToWorldSpace()
end


Open()

Anyway if print(PrimaryCFrame) the cframe of it is wacked up with man decimals and I was wondering if there was a different way to do t his, basically I am just trying to move a model by is primary part, but the "PrimaryCFrame" Keeps have 10+ decimal places.

1 comment

0