Help with meshpart resizing

I need help to make a door go like this

Right now, the door do this:

here is my code.

DoorSystem.SetupGarage = function()
	for _,Doors in Garages:GetChildren() do		
		local NewProximity = Instance.new("ProximityPrompt")
		NewProximity.Parent = Doors
		NewProximity.ActionText = "Open garage"
		Doors:SetAttribute("Open", false)
		
		NewProximity.Triggered:Connect(function(Player: Player)
			if Doors:GetAttribute("Open") == false then
				NewProximity.Enabled = false
				
				Tween:Create(Doors, TweenInfos.GarageDoors, {Size = Vector3.new(1.24, 29, 0.77)}):Play()
				
				Doors:SetAttribute("Open", true)
			end
		end)
	end
end

Thank you

After 5 minute reading my script I found a way to fix this:

image

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.