Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ao = "astralorchid"
- local char = workspace:WaitForChild(ao)
- local part = Instance.new("Part")
- local seat = Instance.new("VehicleSeat")
- local weld = Instance.new("Weld")
- part.Size = Vector3.new(10,1,10)
- part.CFrame = char.PrimaryPart.CFrame + Vector3.new(0,10,0)
- seat.Size = Vector3.new(2,1,2)
- seat.CFrame = part.CFrame + Vector3.new(0,1,0)
- weld.Part0 = part
- weld.Part1 = seat
- weld.C0 = CFrame.new(0,0,0)
- weld.C1 = CFrame.new(0,0,0)
- weld.Parent = part
- seat.Parent = part
- part.Parent = workspace
- seat.Touched:Connect(function(hit)
- local char = hit.Parent
- local hum = char:FindFirstChild("Humanoid")
- if hum then
- if char.Name == ao then
- else
- hum.Jump = true
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement