Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local find = game.CoreGui:FindFirstChild("VSGUI")
- if find then
- game.CoreGui.VSGUI:Destroy()
- local VSGUI = Instance.new("ScreenGui")
- local VSGF = Instance.new("Frame")
- local VSGBAR = Instance.new("Frame")
- local Divider = Instance.new("Frame")
- local LOGO = Instance.new("TextLabel")
- local Speed = Instance.new("TextButton")
- local Divider2 = Instance.new("Frame")
- local JumpPower = Instance.new("TextButton")
- local Divider3 = Instance.new("Frame")
- local Settings = Instance.new("TextButton")
- local Divider4 = Instance.new("Frame")
- local SettingsFrame = Instance.new("Frame")
- local ReturnToStart = Instance.new("TextButton")
- local SpeedFrame = Instance.new("Frame")
- local SpeedNote = Instance.new("TextLabel")
- local GSS = Instance.new("TextButton")
- local JumpPowerFrame = Instance.new("Frame")
- local ComingSoon = Instance.new("TextLabel")
- local Start = Instance.new("Frame")
- local Welcome = Instance.new("TextLabel")
- local open = true
- --Properties:
- VSGUI.Name = "VSGUI"
- VSGUI.Parent = game.CoreGui
- VSGF.Name = "VSGF"
- VSGF.Parent = VSGUI
- VSGF.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- VSGF.Position = UDim2.new(0.466789663, -146, 0.450199217, -116)
- VSGF.Size = UDim2.new(0, 402, 0, 273)
- VSGBAR.Name = "VSGBAR"
- VSGBAR.Parent = VSGF
- VSGBAR.BackgroundColor3 = Color3.new(0, 0, 0)
- VSGBAR.BorderSizePixel = 0
- VSGBAR.Size = UDim2.new(0, 59, 0, 273)
- Divider.Name = "Divider"
- Divider.Parent = VSGBAR
- Divider.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Divider.BorderSizePixel = 0
- Divider.Position = UDim2.new(0, 0, 0.142857149, 0)
- Divider.Size = UDim2.new(0, 65, 0, 2)
- LOGO.Name = "LOGO"
- LOGO.Parent = VSGBAR
- LOGO.BackgroundColor3 = Color3.new(1, 1, 1)
- LOGO.BackgroundTransparency = 1
- LOGO.Size = UDim2.new(0, 59, 0, 41)
- LOGO.Font = Enum.Font.SourceSans
- LOGO.Text = "VSG"
- LOGO.TextColor3 = Color3.new(1, 1, 1)
- LOGO.TextScaled = true
- LOGO.TextSize = 14
- LOGO.TextWrapped = true
- Speed.Name = "Speed"
- Speed.Parent = VSGBAR
- Speed.BackgroundColor3 = Color3.new(1, 1, 1)
- Speed.BackgroundTransparency = 1
- Speed.Position = UDim2.new(0, 0, 0.150183156, 0)
- Speed.Size = UDim2.new(0, 59, 0, 50)
- Speed.Font = Enum.Font.SourceSans
- Speed.Text = "Speed"
- Speed.TextColor3 = Color3.new(1, 1, 1)
- Speed.TextScaled = true
- Speed.TextSize = 14
- Speed.TextWrapped = true
- Divider2.Name = "Divider2"
- Divider2.Parent = VSGBAR
- Divider2.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Divider2.BorderSizePixel = 0
- Divider2.Position = UDim2.new(0, 0, 0.333333343, 0)
- Divider2.Size = UDim2.new(0, 65, 0, 2)
- JumpPower.Name = "JumpPower"
- JumpPower.Parent = VSGBAR
- JumpPower.BackgroundColor3 = Color3.new(1, 1, 1)
- JumpPower.BackgroundTransparency = 1
- JumpPower.Position = UDim2.new(0, 0, 0.34065935, 0)
- JumpPower.Size = UDim2.new(0, 59, 0, 50)
- JumpPower.Font = Enum.Font.SourceSans
- JumpPower.Text = "Jump Power"
- JumpPower.TextColor3 = Color3.new(1, 1, 1)
- JumpPower.TextScaled = true
- JumpPower.TextSize = 14
- JumpPower.TextWrapped = true
- Divider3.Name = "Divider3"
- Divider3.Parent = VSGBAR
- Divider3.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Divider3.BorderSizePixel = 0
- Divider3.Position = UDim2.new(-0.0508474559, 0, 0.516483545, 0)
- Divider3.Size = UDim2.new(0, 65, 0, 2)
- Settings.Name = "Settings"
- Settings.Parent = VSGBAR
- Settings.BackgroundColor3 = Color3.new(1, 1, 1)
- Settings.BackgroundTransparency = 1
- Settings.Position = UDim2.new(0, 0, 0.523809552, 0)
- Settings.Size = UDim2.new(0, 59, 0, 50)
- Settings.Font = Enum.Font.SourceSans
- Settings.Text = "Settings"
- Settings.TextColor3 = Color3.new(1, 1, 1)
- Settings.TextScaled = true
- Settings.TextSize = 14
- Settings.TextWrapped = true
- Divider4.Name = "Divider4"
- Divider4.Parent = VSGBAR
- Divider4.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Divider4.BorderSizePixel = 0
- Divider4.Position = UDim2.new(-0.0508474559, 0, 0.695970714, 0)
- Divider4.Size = UDim2.new(0, 65, 0, 2)
- SettingsFrame.Name = "SettingsFrame"
- SettingsFrame.Parent = VSGF
- SettingsFrame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- SettingsFrame.Position = UDim2.new(0.154228851, 0, 0, 0)
- SettingsFrame.Size = UDim2.new(0, 346, 0, 273)
- SettingsFrame.Visible = false
- ReturnToStart.Name = "ReturnToStart"
- ReturnToStart.Parent = SettingsFrame
- ReturnToStart.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.247059)
- ReturnToStart.Position = UDim2.new(0.210982665, 0, 0.142857149, 0)
- ReturnToStart.Size = UDim2.new(0, 200, 0, 50)
- ReturnToStart.Font = Enum.Font.SourceSans
- ReturnToStart.Text = "Return To Start"
- ReturnToStart.TextColor3 = Color3.new(1, 1, 1)
- ReturnToStart.TextScaled = true
- ReturnToStart.TextSize = 14
- ReturnToStart.TextWrapped = true
- SpeedFrame.Name = "SpeedFrame"
- SpeedFrame.Parent = VSGF
- SpeedFrame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- SpeedFrame.Position = UDim2.new(0.154228851, 0, 0, 0)
- SpeedFrame.Size = UDim2.new(0, 346, 0, 273)
- SpeedFrame.Visible = false
- SpeedNote.Name = "SpeedNote"
- SpeedNote.Parent = SpeedFrame
- SpeedNote.BackgroundColor3 = Color3.new(1, 1, 1)
- SpeedNote.BackgroundTransparency = 1
- SpeedNote.Position = UDim2.new(0.00867052004, 0, 0, 0)
- SpeedNote.Size = UDim2.new(0, 343, 0, 105)
- SpeedNote.Font = Enum.Font.SourceSans
- SpeedNote.Text = "Click \"Give Supper Speed\" to gain super speed. You must be sitting inside the driver seat of the car to gain super speed."
- SpeedNote.TextColor3 = Color3.new(1, 1, 1)
- SpeedNote.TextScaled = true
- SpeedNote.TextSize = 14
- SpeedNote.TextWrapped = true
- GSS.Name = "GSS"
- GSS.Parent = SpeedFrame
- GSS.BackgroundColor3 = Color3.new(0.247059, 0.247059, 0.247059)
- GSS.Position = UDim2.new(0.213872835, 0, 0.608058631, 0)
- GSS.Size = UDim2.new(0, 200, 0, 50)
- GSS.Font = Enum.Font.SourceSans
- GSS.Text = "Give Super Speed"
- GSS.TextColor3 = Color3.new(1, 1, 1)
- GSS.TextSize = 14
- JumpPowerFrame.Name = "JumpPowerFrame"
- JumpPowerFrame.Parent = VSGF
- JumpPowerFrame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- JumpPowerFrame.Position = UDim2.new(0.154228851, 0, 0, 0)
- JumpPowerFrame.Size = UDim2.new(0, 346, 0, 273)
- JumpPowerFrame.Visible = false
- ComingSoon.Name = "ComingSoon"
- ComingSoon.Parent = JumpPowerFrame
- ComingSoon.BackgroundColor3 = Color3.new(1, 1, 1)
- ComingSoon.BackgroundTransparency = 1
- ComingSoon.Size = UDim2.new(0, 346, 0, 273)
- ComingSoon.Font = Enum.Font.SourceSans
- ComingSoon.Text = "Coming Soon..."
- ComingSoon.TextColor3 = Color3.new(1, 1, 1)
- ComingSoon.TextScaled = true
- ComingSoon.TextSize = 14
- ComingSoon.TextWrapped = true
- Start.Name = "Start"
- Start.Parent = VSGF
- Start.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Start.Position = UDim2.new(0.154228851, 0, 0, 0)
- Start.Size = UDim2.new(0, 346, 0, 273)
- Welcome.Name = "Welcome"
- Welcome.Parent = Start
- Welcome.BackgroundColor3 = Color3.new(1, 1, 1)
- Welcome.BackgroundTransparency = 1
- Welcome.Size = UDim2.new(0, 346, 0, 273)
- Welcome.Font = Enum.Font.SourceSans
- Welcome.Text = "Welcome to VSG, Vehicle Simulator Gui, we hope you enjoy using our script\n\nPress \"P\" to open and close the gui\n\nSome things are coming soon\n\nVersion 0.0.1\n\nScript and Gui by CrypticCoder"
- Welcome.TextColor3 = Color3.new(1, 1, 1)
- Welcome.TextScaled = true
- Welcome.TextSize = 14
- Welcome.TextWrapped = true
- Speed.MouseButton1Click:Connect(function()
- JumpPowerFrame.Visible = false
- SettingsFrame.Visible = false
- Start.Visible = false
- SpeedFrame.Visible = true
- end)
- JumpPower.MouseButton1Click:Connect(function()
- JumpPowerFrame.Visible = true
- SettingsFrame.Visible = false
- Start.Visible = false
- SpeedFrame.Visible = false
- end)
- Settings.MouseButton1Click:Connect(function()
- JumpPowerFrame.Visible = false
- SettingsFrame.Visible = true
- Start.Visible = false
- SpeedFrame.Visible = false
- end)
- ReturnToStart.MouseButton1Click:Connect(function()
- JumpPowerFrame.Visible = false
- SettingsFrame.Visible = false
- Start.Visible = true
- SpeedFrame.Visible = false
- end)
- GSS.MouseButton1Click:Connect(function()
- 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 = 3000
- han.Torque.Value = 80000
- han.SteeringRadiusConstant.Value = 3000
- han.FrictionRoad.Value = 200
- han.Gears.Value = 7
- han.Nitro.NitroSpeed.Value = 99999
- han.Nitro.NitroForce.Value = 99999
- end
- end)
- function onKeyPress(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.P then
- if open == true then
- VSGUI.Enabled = false
- open = false
- else
- VSGUI.Enabled = true
- open = true
- end
- end
- end
- game:GetService("UserInputService").InputBegan:connect(onKeyPress)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement