Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "z" then
- game.ReplicatedStorage.Events.ToolRequests:FireServer("MP5", "CellPhone")
- elseif key == "x" then
- game.ReplicatedStorage.Events.ToolRequests:FireServer("FAMAS", "CellPhone")
- elseif key == "c" then
- game.ReplicatedStorage.Events.MedicineGiver:FireServer("Medikit", true)
- elseif key == "l" then
- game.ReplicatedStorage.Events.MedicineGiver:FireServer("Amphetamines", true)
- elseif key == "p" then
- game.ReplicatedStorage.Events.MedicineGiver:FireServer("Morphine", true)
- end
- end)
- local ScreenGui = Instance.new("ScreenGui", game.CoreGui)
- ScreenGui.Name = "Robbing GUI"
- ScreenGui.ResetOnSpawn = false
- local Frame = Instance.new("Frame", ScreenGui)
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.new(31/255, 31/255, 31/255)
- Frame.BackgroundTransparency = 0.5
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0, 10, 0.5, -100)
- Frame.Size = UDim2.new(0, 140, 0, 200)
- Frame.Draggable = true
- local Folder = Instance.new("Folder", ScreenGui)
- local Example = Instance.new("TextButton", Folder)
- Example.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255)
- Example.BackgroundTransparency = 0.1
- Example.BorderSizePixel = 0
- Example.Size = UDim2.new(1, 0, 0, 20)
- Example.Visible = false
- Example.Font = Enum.Font.SourceSans
- Example.FontSize = Enum.FontSize.Size14
- local Value = Instance.new("BoolValue", Example)
- Value.Name = "Value"
- local Title = Instance.new("TextLabel", Frame)
- Title.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255)
- Title.BackgroundTransparency = 0.1
- Title.BorderSizePixel = 0
- Title.Name = "Title"
- Title.Size = UDim2.new(1, 0, 0, 20)
- Title.Font = Enum.Font.SourceSansBold
- Title.FontSize = Enum.FontSize.Size14
- Title.Text = "LV Combat GUI"
- local Buttons = Instance.new("ScrollingFrame", Frame)
- Buttons.BackgroundColor3 = Color3.new(0, 0, 0)
- Buttons.BackgroundTransparency = 0.9
- Buttons.BorderSizePixel = 0
- Buttons.Name = "Buttons"
- Buttons.Position = UDim2.new(0, 5, 1, -175)
- Buttons.Size = UDim2.new(0, 130, 0, 170)
- Buttons.BottomImage = ""
- Buttons.ScrollBarThickness = 0
- Buttons.TopImage = ""
- -- Functions
- local amount = 0
- local bamount = 0
- local bamount2 = 0
- CreateButton = function(name, text, parent)
- local Button = Instance.new("TextButton", parent)
- Button.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255)
- Button.BackgroundTransparency = 0.1
- Button.BorderSizePixel = 0
- Button.Name = name
- Button.Position = UDim2.new(0, 0, 0, 20*bamount)
- Button.Size = UDim2.new(1, 0, 0, 20)
- Button.Visible = true
- Button.Font = Enum.Font.SourceSans
- Button.FontSize = Enum.FontSize.Size14
- Button.Text = text
- bamount = bamount + 1
- return Button
- end
- -- Buttons
- local GetMP5 = CreateButton("GetMP5", "Purchase MP5 (z)", Buttons)
- local GetFAMAS = CreateButton("GetFAMAS", "Purchase FAMAS (x)", Buttons)
- local Amps = CreateButton("Amps", "Get Amphes (l)", Buttons)
- local Morp = CreateButton("Morp", "Get Morphine (p)", Buttons)
- local Medk = CreateButton("Medk", "Get Meds (c)", Buttons)
- local Sports = CreateButton("Sports", "Get Sports Car", Buttons)
- local CarBomb = CreateButton("CarBomb", "Buy Car Bomb", Buttons)
- local Bail = CreateButton("Bail", "Quick Bail (m)", Buttons)
- GetMP5.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Events.ToolRequests:FireServer("MP5", "CellPhone")
- end)
- GetFAMAS.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Events.ToolRequests:FireServer("FAMAS", "CellPhone")
- end)
- Amps.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Events.MedicineGiver:FireServer("Amphetamines", true)
- end)
- Morp.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Events.MedicineGiver:FireServer("Morphine", true)
- end)
- Meds.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Events.MedicineGiver:FireServer("Medikit", true)
- end)
- Sports.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Events.CarShopGiver:FireServer(false, "Sports Car")
- end)
- Bail.MouseButton1Down:connect(function()
- game.ReplicatedStorage.Events.JailTimeRequest:FireServer(game.Player.LocalPlayer.UserId, "Unarrest")
- end)
- CarBomb.MouseButton1Down:connect(function()
- game.Workspace.BombShop.Needed.Garage.Position = game.Players.LocalPlayer.Character.Torso.Position
- end)
- game:GetService("RunService").RenderStepped:connect(function()
- game.Players.LocalPlayer.PlayerGui:FindFirstChild("AntiSpeedHack").Disabled = true
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement