local button = script.Parent
local vel = Instance.new("LinearVelocity")
local e = game.Workspace.Elevator.Union
vel.Parent = e
vel.Attachment0 = e.Attachment
vel.ForceLimitsEnabled = false
vel.Enabled = false
local function buttonPressed()
vel.Enabled = true
print("go")
task.wait(1)
vel.VectorVelocity = Vector3.new(0,10,0)
e.Anchored = false
end
button.Activated:Connect(buttonPressed)
When I click the button in game, in prints go but nothing happens. I checked to see if the linearvelocity was enabled and it was. The one thing that wasn't enabled was the "Active" property. I waited a minute or two then the active property enabled and everything worked as it should. How can I make it so that the active property enables on time?
** You are now Level 1! **