Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local inftoggle = false
- function getvehicle()
- for i,v in pairs(game.Workspace.Vehicles:GetChildren()) do
- if v:IsA("Model") then
- if v.owner.Value == plr.Name then
- return v
- end
- end
- end
- return nil
- end
- function hint(txt, t)
- if t then
- local h = Instance.new("Hint",plr.PlayerGui)
- h.Text = txt
- wait(t)
- h:remove()
- else
- local h = Instance.new("Hint",plr.PlayerGui)
- h.Text = txt
- wait(2)
- h:remove()
- end
- end
- warn("VVV all cmds VVV")
- wait(0.1)
- warn("/e toggle:NUMBER")
- warn("/e nitrospeed:NUMBER")
- warn("/e nitroforce:NUMBER")
- warn("/e maxspeed:NUMBER")
- warn("/e torque:40000+")
- warn("/e friction:NUMBER")
- warn("/e racingmode")
- wait(3)
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
- Frame.BorderColor3 = Color3.new(0.0862745, 0.0862745, 0.0862745)
- Frame.BorderSizePixel = 5
- Frame.BackgroundTransparency = 1
- Frame.Position = UDim2.new(0.377850175, 0, 0.434383214, 0)
- Frame.Size = UDim2.new(0, 300, 0, 100)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.TextTransparency = 1
- TextLabel.BorderColor3 = Color3.new(0.870588, 0.870588, 0.870588)
- TextLabel.BorderSizePixel = 0
- TextLabel.Size = UDim2.new(0, 300, 0, 100)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Press F9 To View All Cmds"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 28
- TextLabel.TextWrapped = true
- wait(0.05)
- Frame.BackgroundTransparency = 1
- TextLabel.TextTransparency = 1
- wait(0.05)
- Frame.BackgroundTransparency = 0.9
- TextLabel.TextTransparency = 0.9
- wait(0.05)
- Frame.BackgroundTransparency = 0.8
- TextLabel.TextTransparency = 0.8
- wait(0.05)
- Frame.BackgroundTransparency = 0.7
- TextLabel.TextTransparency = 0.7
- wait(0.05)
- Frame.BackgroundTransparency = 0.6
- TextLabel.TextTransparency = 0.6
- wait(0.05)
- Frame.BackgroundTransparency = 0.5
- TextLabel.TextTransparency = 0.5
- wait(0.05)
- Frame.BackgroundTransparency = 0.4
- TextLabel.TextTransparency = 0.4
- wait(0.05)
- Frame.BackgroundTransparency = 0.3
- TextLabel.TextTransparency = 0.3
- wait(0.05)
- Frame.BackgroundTransparency = 0.2
- TextLabel.TextTransparency = 0.2
- wait(0.05)
- Frame.BackgroundTransparency = 0.1
- TextLabel.TextTransparency = 0.1
- wait(0.05)
- Frame.BackgroundTransparency = 0
- TextLabel.TextTransparency = 0
- wait(4)
- Frame.BackgroundTransparency = 0
- TextLabel.TextTransparency = 0
- wait(0.05)
- Frame.BackgroundTransparency = 0.1
- TextLabel.TextTransparency = 0.1
- wait(0.05)
- Frame.BackgroundTransparency = 0.2
- TextLabel.TextTransparency = 0.2
- wait(0.05)
- Frame.BackgroundTransparency = 0.3
- TextLabel.TextTransparency = 0.3
- wait(0.05)
- Frame.BackgroundTransparency = 0.4
- TextLabel.TextTransparency = 0.4
- wait(0.05)
- Frame.BackgroundTransparency = 0.5
- TextLabel.TextTransparency = 0.5
- wait(0.05)
- Frame.BackgroundTransparency = 0.6
- TextLabel.TextTransparency = 0.6
- wait(0.05)
- Frame.BackgroundTransparency = 0.7
- TextLabel.TextTransparency = 0.7
- wait(0.05)
- Frame.BackgroundTransparency = 0.7
- TextLabel.TextTransparency = 0.7
- wait(0.05)
- Frame.BackgroundTransparency = 0.8
- TextLabel.TextTransparency = 0.8
- wait(0.05)
- Frame.BackgroundTransparency = 0.9
- TextLabel.TextTransparency = 0.9
- wait(0.05)
- ScreenGui:Destroy()
- --VVV all cmds down here if you wish to edit them feel free to do so VVV
- plr.Chatted:connect(function(msg)
- if msg:lower():sub(1,10) == "/e toggle:" then
- local ins = msg:lower():sub(11)
- local vehicle = getvehicle()
- if vehicle then
- if ins == "infnitro" then
- if inftoggle == true then
- inftoggle = false
- hint("(-)Disabled Infinite Nitro!(-)")
- else
- inftoggle = true
- hint("(+)Enabled Infinite Nitro!(+)")
- end
- end
- else
- hint("(-)You do not have a vehicle spawned!(-)")
- end
- elseif msg:lower():sub(1,14) == "/e nitrospeed:" then
- local num = msg:sub(15)
- local vehicle = getvehicle()
- if vehicle then
- vehicle.Handling.Nitro.NitroSpeed.Value = tonumber(num)
- else
- hint("(-)You do not have a vehicle spawned!(-)")
- end
- elseif msg:lower():sub(1,14) == "/e nitroforce:" then
- local num = msg:sub(1,15)
- local vehicle = getvehicle()
- if vehicle then
- vehicle.Handling.Nitro.NitroForce.Value = tonumber(num)
- else
- hint("(-)You do not have a vehicle spawned!(-)")
- end
- elseif msg:lower():sub(1,12) == "/e maxspeed:" then
- local num = msg:sub(13)
- local vehicle = getvehicle()
- if vehicle then
- vehicle.Handling.MaxSpeed.Value = tonumber(num)
- else
- hint("(-)You do not have a vehicle spawned!(-)")
- end
- elseif msg:lower():sub(1,10) == "/e torque:" then
- local num = msg:sub(11)
- local vehicle = getvehicle()
- if vehicle then
- vehicle.Handling.Torque.Value = tonumber(num)
- else
- hint("(-)You do not have a vehicle spawned!(-)")
- end
- elseif msg:lower():sub(1,12) == "/e friction:" then
- local num = msg:sub(13)
- local vehicle = getvehicle()
- if vehicle then
- vehicle.Handling.FrictionOffroad.Value = tonumber(num)
- vehicle.Handling.FrictionRoad.Value = tonumber(num)
- else
- hint("(-)You do not have a vehicle spawned!(-)")
- end
- elseif msg:lower():sub(1,13) == "/e racingmode" then
- local vehicle = getvehicle()
- if vehicle then
- han = vehicle.Handling
- han.MaxSpeed.Value = 10000
- han.Torque.Value = 20000
- han.SteeringRadiusConstant.Value = 12000
- han.FrictionOffroad.Value = 200
- han.FrictionRoad.Value = 200
- han.Nitro.NitroSpeed.Value = 300
- han.Nitro.NitroForce.Value = 8000
- inftoggle = true
- else
- hint("(-)You do not have a vehicle spawned!(-)")
- end
- end
- end)
- wait(0.5)
- while inftoggle == true do
- wait(0.02)
- local vehicle = getvehicle()
- if vehicle then
- vehicle.Handling.Nitro.NitroAmount.Value = 250
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement