local n=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")This=script.Parent Lift=This.Parent.Parent.Parent CustomLabel=require(Lift.CustomLabel)Characters=require(script.Characters)CustomText=CustomLabel.CUSTOMFLOORLABEL for n,U in pairs((Lift.Car:WaitForChild("\087\101\108\100\115")):GetChildren())do if U.Part1==script.Parent.Back then U:Destroy()end end local U=Instance.new("\077\097\110\117\097\108\087\101\108\100",This.Button)U.C0=Lift.Car.Platform.CFrame:inverse()*This.Back.CFrame U.Part0=Lift.Car.Platform U.Part1=This.Back click=false for G,y in pairs(This.Button:GetChildren())do if y:IsA("\083\117\114\102\097\099\101\071\117\105")and y.Name=="\066\117\116\116\111\110"then y.Button.MouseButton1Click:connect(function()if click==false then click=true;(n:Create(U,TweenInfo.new(.1),{C1=U.C1*CFrame.new(.002,0,0)})):Play()wait(.1);(n:Create(U,TweenInfo.new(.1),{C1=U.C1*CFrame.new(-0.002,0,0)})):Play()wait(.1)click=false end end)end end
---------------------------------------------------

local tweenService = game:GetService("TweenService")
This = script.Parent
Lift = This.Parent.Parent.Parent
CustomLabel = require(Lift.CustomLabel)
Characters = require(script.Characters)

CustomText = CustomLabel["CUSTOMFLOORLABEL"]

for i, v in pairs(Lift.Car:WaitForChild("Welds"):GetChildren()) do
	if v.Part1 == script.Parent.Back then
		v:Destroy()
	end
end
local weld = Instance.new("ManualWeld", This.Button)
weld.C0 = Lift.Car.Platform.CFrame:inverse() * This.Back.CFrame
weld.Part0 = Lift.Car.Platform
weld.Part1 = This.Back
click = false

for x, x in pairs(This.Button:GetChildren()) do
	if x:IsA("SurfaceGui") and x.Name == "Button" then
		x.Button.MouseButton1Click:connect(function()
			if click == false then
				click = true
				tweenService
					:Create(weld, TweenInfo.new(0.1), {
						["C1"] = weld.C1 * CFrame.new(0.002, 0, 0),
					})
					:Play()
				wait(0.1)
				tweenService
					:Create(weld, TweenInfo.new(0.1), {
						["C1"] = weld.C1 * CFrame.new(-0.002, 0, 0),
					})
					:Play()
				wait(0.1)
				click = false
			end
		end)
	end
end
