It was literally working fine a couple minutes ago.
`local button = game.StarterGui.ScreenGui.TextButton
local button2 = game.StarterGui.ScreenGui.stop
local vel = Instance.new("LinearVelocity")
local e = game.Workspace.Elevator.Union
vel.Parent = e
vel.Attachment0 = e.Attachment
vel.ForceLimitsEnabled = false
local function buttonPressed()
vel.Enabled = true
print("go")
vel.VectorVelocity = Vector3.new(0,10,0)
e.Anchored = false
end
local function button2Pressed()
vel.Enabled = false
print("stop")
vel.VectorVelocity = Vector3.new(0,0,0)
e.Anchored = true
end
button.Activated:Connect(buttonPressed)`