Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Vehicle Simulator Moneyscript by Butters @ V3RM
- -- good to use with LucasVanDrill'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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement