Advertisement
Guest User

LV Rob Gui

a guest
Jan 18th, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. game.Workspace.Bank.Bank.VaultContents:Remove()
  2.  
  3. local plr = game.Players.LocalPlayer
  4. local mouse = plr:GetMouse()
  5.  
  6. mouse.KeyDown:connect(function(key)
  7. if key == "z" then
  8. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(827.643, 30.5891, -2098.15))
  9. elseif key == "x" then
  10. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(835.848572, -22.3971996, -2176.12866))
  11. elseif key == "c" then
  12. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(849.098877, -22.4314365, -2209.3772))
  13. elseif key == "v" then
  14. game.ReplicatedStorage.Events.GuiHandler:FireServer(true, "BankGui")
  15. end
  16. end)
  17.  
  18. local ScreenGui = Instance.new("ScreenGui", game.CoreGui)
  19. ScreenGui.Name = "Robbing GUI"
  20. ScreenGui.ResetOnSpawn = false
  21.  
  22. local Frame = Instance.new("Frame", ScreenGui)
  23. Frame.Active = true
  24. Frame.BackgroundColor3 = Color3.new(31/255, 31/255, 31/255)
  25. Frame.BackgroundTransparency = 0.5
  26. Frame.BorderSizePixel = 0
  27. Frame.Position = UDim2.new(0, 10, 0.5, -100)
  28. Frame.Size = UDim2.new(0, 140, 0, 90)
  29. Frame.Draggable = true
  30.  
  31. local Folder = Instance.new("Folder", ScreenGui)
  32.  
  33. local Example = Instance.new("TextButton", Folder)
  34. Example.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255)
  35. Example.BackgroundTransparency = 0.1
  36. Example.BorderSizePixel = 0
  37. Example.Size = UDim2.new(1, 0, 0, 20)
  38. Example.Visible = false
  39. Example.Font = Enum.Font.SourceSans
  40. Example.FontSize = Enum.FontSize.Size14
  41.  
  42. local Value = Instance.new("BoolValue", Example)
  43. Value.Name = "Value"
  44.  
  45. local Title = Instance.new("TextLabel", Frame)
  46. Title.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255)
  47. Title.BackgroundTransparency = 0.1
  48. Title.BorderSizePixel = 0
  49. Title.Name = "Title"
  50. Title.Size = UDim2.new(1, 0, 0, 20)
  51. Title.Font = Enum.Font.SourceSansBold
  52. Title.FontSize = Enum.FontSize.Size14
  53. Title.Text = "LV Robbing GUI (Press 'v')"
  54.  
  55. local Buttons = Instance.new("ScrollingFrame", Frame)
  56. Buttons.BackgroundColor3 = Color3.new(0, 0, 0)
  57. Buttons.BackgroundTransparency = 0.9
  58. Buttons.BorderSizePixel = 0
  59. Buttons.Name = "Buttons"
  60. Buttons.Position = UDim2.new(0, 5, 1, -65)
  61. Buttons.Size = UDim2.new(0, 130, 0, 65)
  62. Buttons.BottomImage = ""
  63. Buttons.ScrollBarThickness = 0
  64. Buttons.TopImage = ""
  65.  
  66. -- Functions
  67.  
  68. local amount = 0
  69. local bamount = 0
  70. local bamount2 = 0
  71.  
  72.  
  73. CreateButton = function(name, text, parent)
  74. local Button = Instance.new("TextButton", parent)
  75. Button.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255)
  76. Button.BackgroundTransparency = 0.1
  77. Button.BorderSizePixel = 0
  78. Button.Name = name
  79. Button.Position = UDim2.new(0, 0, 0, 20*bamount)
  80. Button.Size = UDim2.new(1, 0, 0, 20)
  81. Button.Visible = true
  82. Button.Font = Enum.Font.SourceSans
  83. Button.FontSize = Enum.FontSize.Size14
  84. Button.Text = text
  85. bamount = bamount + 1
  86. return Button
  87. end
  88.  
  89. -- Buttons
  90.  
  91. local GetCode = CreateButton("GetCode", "GetCode (z)", Buttons)
  92. local EnterCode = CreateButton("EnterCode", "EnterCode (x)", Buttons)
  93. local GetCash = CreateButton("GetCash", "GetCash (c)", Buttons)
  94.  
  95. GetCode.MouseButton1Down:connect(function()
  96. local plr = game:GetService("Players").LocalPlayer
  97. if plr.PlayerGui:FindFirstChild("AntiSpeedHack") then plr.PlayerGui:FindFirstChild("AntiSpeedHack"):Destroy() end
  98. game:GetService("Players").LocalPlayer.Character:MoveTo(Vector3.new(827.643, 30.5891, -2098.15))
  99. wait(0.5)
  100. end)
  101.  
  102. EnterCode.MouseButton1Down:connect(function()
  103. local plr = game:GetService("Players").LocalPlayer
  104. if plr.PlayerGui:FindFirstChild("AntiSpeedHack") then plr.PlayerGui:FindFirstChild("AntiSpeedHack"):Destroy() end
  105. game:GetService("Players").LocalPlayer.Character:MoveTo(Vector3.new(835.848572, -22.3971996, -2176.12866))
  106. wait(0.5)
  107. end)
  108.  
  109. GetCash.MouseButton1Down:connect(function()
  110. local plr = game:GetService("Players").LocalPlayer
  111. if plr.PlayerGui:FindFirstChild("AntiSpeedHack") then plr.PlayerGui:FindFirstChild("AntiSpeedHack"):Destroy() end
  112. game:GetService("Players").LocalPlayer.Character:MoveTo(Vector3.new(849.098877, -22.4314365, -2209.3772))
  113. wait(0.5)
  114. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement