Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Vehicle Simulator Moneyscript by Butters @ V3RM
- -- good to use with KertIvan's Vehicle Simulator Gui (SuperSpeed) https://pastebin.com/MiVvdVyQ
- -- n is default key, change if you'd like
- -- code is ####, I know
- timer = 0.9 -- Interval per each teleport
- Coords = Vector3.new(-1755, 40.785, 3200) -- Change to where ever you want to TP
- mKey = "n" -- What key to press
- -- Ignore the code if you dont want to change something
- Vehicle = "A"
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- keypressed = false
- function getcar()
- local children = workspace.Vehicles:GetChildren()
- for i = 1, #children do
- if i == 1 then -- skip first children cause its not a car
- else
- if children[i].owner.Value == game.Players.LocalPlayer.Character.Name then
- Vehicle = children[i]
- end
- end
- end
- end
- mouse.KeyDown:connect(function(key)
- if key == mKey then
- if(keypressed == true) then
- keypressed = false
- else
- keypressed = true
- getcar()
- while(keypressed == true) do
- wait(timer)
- Vehicle:SetPrimaryPartCFrame(CFrame.new(Coords))
- end
- end
- end
- end)
- --re-execute this if you reset your vehicle
- veh = nil
- for i,v in pairs(game.Workspace.Vehicles:GetChildren()) do
- if v:IsA("Model") then
- if v.owner.Value == game.Players.LocalPlayer.Name then
- veh = v
- end
- end
- end
- if veh then
- han = veh.Handling
- han.MaxSpeed.Value = 10000
- han.Torque.Value = 20000
- han.SteeringRadiusConstant.Value = 12000
- han.FrictionOffroad.Value = 200
- han.FrictionRoad.Value = 200
- else
- print("Unable to find your vehicle!")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement