Advertisement
Guest User

rb world gui

a guest
Aug 22nd, 2018
4,832
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.35 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local RBWorld2 = Instance.new("ScreenGui")
  5. local MainFrame = Instance.new("Frame")
  6. local Credits = Instance.new("TextLabel")
  7. local Aimboting = Instance.new("TextButton")
  8. local SpeedHax = Instance.new("TextButton")
  9. local West = Instance.new("TextButton")
  10. local East = Instance.new("TextButton")
  11. local Play = Instance.new("TextButton")
  12. local Id = Instance.new("TextBox")
  13. local steal = Instance.new("TextButton")
  14. local close = Instance.new("TextButton")
  15. --Properties:
  16. RBWorld2.Name = "RB World 2"
  17. RBWorld2.Parent = game.CoreGui
  18.  
  19. MainFrame.Name = "MainFrame"
  20. MainFrame.Parent = RBWorld2
  21. MainFrame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  22. MainFrame.BorderSizePixel = 0
  23. MainFrame.Position = UDim2.new(0, 0, 0.707823992, 0)
  24. MainFrame.Size = UDim2.new(0, 586, 0, 230)
  25. MainFrame.Active = true
  26. MainFrame.Draggable = true
  27. Credits.Name = "Credits"
  28. Credits.Parent = MainFrame
  29. Credits.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  30. Credits.BorderSizePixel = 0
  31. Credits.Size = UDim2.new(0, 586, 0, 24)
  32. Credits.Font = Enum.Font.SciFi
  33. Credits.Text = "RB World Gui[Created By ExploitGodz]"
  34. Credits.TextColor3 = Color3.new(0, 0, 0)
  35. Credits.TextSize = 20
  36.  
  37. Aimboting.Name = "Aimboting"
  38. Aimboting.Parent = MainFrame
  39. Aimboting.BackgroundColor3 = Color3.new(0, 0, 0)
  40. Aimboting.BorderSizePixel = 0
  41. Aimboting.Position = UDim2.new(0.0587248355, 0, 0.170897081, 0)
  42. Aimboting.Size = UDim2.new(0, 200, 0, 50)
  43. Aimboting.Font = Enum.Font.SourceSansBold
  44. Aimboting.Text = "Aimbot(Press F)"
  45. Aimboting.TextColor3 = Color3.new(0.666667, 0, 0)
  46. Aimboting.TextSize = 20
  47. Aimboting.TextWrapped = true
  48.  
  49. SpeedHax.Name = "SpeedHax"
  50. SpeedHax.Parent = MainFrame
  51. SpeedHax.BackgroundColor3 = Color3.new(0, 0, 0)
  52. SpeedHax.BorderSizePixel = 0
  53. SpeedHax.Position = UDim2.new(0.553691268, 0, 0.157983214, 0)
  54. SpeedHax.Size = UDim2.new(0, 200, 0, 50)
  55. SpeedHax.Font = Enum.Font.SourceSansBold
  56. SpeedHax.Text = "Speed(Hold B)"
  57. SpeedHax.TextColor3 = Color3.new(0.666667, 0, 0)
  58. SpeedHax.TextSize = 20
  59. SpeedHax.TextWrapped = true
  60.  
  61. West.Name = "West"
  62. West.Parent = MainFrame
  63. West.BackgroundColor3 = Color3.new(0, 0, 0)
  64. West.BorderSizePixel = 0
  65. West.Position = UDim2.new(0.0587248355, 0, 0.384873986, 0)
  66. West.Size = UDim2.new(0, 200, 0, 50)
  67. West.Font = Enum.Font.SourceSansBold
  68. West.Text = "Change To West"
  69. West.TextColor3 = Color3.new(0.666667, 0, 0)
  70. West.TextSize = 20
  71. West.TextWrapped = true
  72.  
  73. East.Name = "East"
  74. East.Parent = MainFrame
  75. East.BackgroundColor3 = Color3.new(0, 0, 0)
  76. East.BorderSizePixel = 0
  77. East.Position = UDim2.new(0.553691268, 0, 0.372053474, 0)
  78. East.Size = UDim2.new(0, 200, 0, 50)
  79. East.Font = Enum.Font.SourceSansBold
  80. East.Text = "Change To East"
  81. East.TextColor3 = Color3.new(0.666667, 0, 0)
  82. East.TextSize = 20
  83. East.TextWrapped = true
  84.  
  85. Play.Name = "Play"
  86. Play.Parent = MainFrame
  87. Play.BackgroundColor3 = Color3.new(0, 0, 0)
  88. Play.BorderSizePixel = 0
  89. Play.Position = UDim2.new(0.0587248206, 0, 0.598056495, 0)
  90. Play.Size = UDim2.new(0, 200, 0, 50)
  91. Play.Font = Enum.Font.SourceSansBold
  92. Play.Text = "Play Music"
  93. Play.TextColor3 = Color3.new(0.666667, 0, 0)
  94. Play.TextSize = 20
  95. Play.TextWrapped = true
  96.  
  97. Id.Name = "Id"
  98. Id.Parent = Play
  99. Id.BackgroundColor3 = Color3.new(1, 0, 1)
  100. Id.BorderSizePixel = 0
  101. Id.Position = UDim2.new(0, 0, 1, 0)
  102. Id.Size = UDim2.new(0, 200, 0, 31)
  103. Id.Font = Enum.Font.SourceSansBold
  104. Id.Text = "Enter ID Here"
  105. Id.TextColor3 = Color3.new(0, 0, 0)
  106. Id.TextSize = 14
  107.  
  108. steal.Name = "steal"
  109. steal.Parent = MainFrame
  110. steal.BackgroundColor3 = Color3.new(0, 0, 0)
  111. steal.BorderSizePixel = 0
  112. steal.Position = UDim2.new(0.553691268, 0, 0.585235953, 0)
  113. steal.Size = UDim2.new(0, 200, 0, 50)
  114. steal.Font = Enum.Font.SourceSansBold
  115. steal.Text = "Auto Steal"
  116. steal.TextColor3 = Color3.new(0.666667, 0, 0)
  117. steal.TextSize = 20
  118. steal.TextWrapped = true
  119.  
  120. close.Name = "close"
  121. close.Parent = MainFrame
  122. close.BackgroundColor3 = Color3.new(0, 0, 0)
  123. close.BorderSizePixel = 0
  124. close.Position = UDim2.new(0.938566506, 0, -0.00434781611, 0)
  125. close.Size = UDim2.new(0, 36, 0, 26)
  126. close.Font = Enum.Font.SourceSansBold
  127. close.Text = "X"
  128. close.TextColor3 = Color3.new(0.666667, 0, 0)
  129. close.TextSize = 20
  130. -- Scripts:
  131. Aimboting.MouseButton1Down:connect(function()
  132. remotes = game:GetService("ReplicatedStorage").gameplay
  133. mouse = game.Players.LocalPlayer:GetMouse()
  134.  
  135. --// EDITVARS //--
  136.  
  137. _G.accuracy = 99 -- Accuracy; 99 Makes it in almost always; 100 is always a green;
  138. _G.key = "f" -- Key to press to activate;
  139.  
  140. --// SCRIPT //--
  141.  
  142. print("Press f to shoot! \nPress q to toggle accuracy between 99 and 100!")
  143.  
  144. --// ACCURACY SWITCH
  145.  
  146. mouse.KeyDown:connect(function(k)
  147. if k == "q" then
  148. if _G.accuracy == 99 then
  149. _G.accuracy = 100
  150. elseif _G.accuracy == 100 then
  151. _G.accuracy = 99
  152. end
  153. print(_G.accuracy)
  154. end
  155. end)
  156.  
  157. --// SHOOT
  158.  
  159. mouse.KeyDown:connect(function(k)
  160. if k == _G.key then
  161. for _,v in pairs(game.Workspace:GetChildren()) do
  162. if v.Name == "Basketball" then
  163. if v.controller.Value == game.Players.LocalPlayer.Name then
  164. local oncourt = "Court"..tonumber(game.Players.LocalPlayer.System.OnCourt.Value)
  165. local onhoop = "_Hoop"..tonumber(game.Players.LocalPlayer.System.OnTeam.Value)
  166. remotes.character.value:FireServer("shooting", true)
  167. if game.Workspace[oncourt]:FindFirstChild(onhoop) then
  168. v.shoot:FireServer(game.Workspace[oncourt][onhoop], _G.accuracy, true)
  169. elseif game.Workspace[oncourt]:FindFirstChild("_Hoop1") then
  170. v.shoot:FireServer(game.Workspace[oncourt]["_Hoop1"], _G.accuracy, true)
  171. end
  172. end
  173. end
  174. end
  175. end
  176. end)
  177. end)
  178.  
  179. SpeedHax.MouseButton1Down:connect(function()
  180. down = false
  181. velocity = Instance.new("BodyVelocity")
  182. velocity.maxForce = Vector3.new(100000, 0, 100000)
  183. ---vv Use that to change the speed v
  184. local speed = 99
  185. gyro = Instance.new("BodyGyro")
  186. gyro.maxTorque = Vector3.new(100000, 0, 100000)
  187.  
  188. local hum = game.Players.LocalPlayer.Character.Humanoid
  189.  
  190. function onButton1Down(mouse)
  191. down = true
  192. velocity.Parent = game.Players.LocalPlayer.Character.UpperTorso
  193. velocity.velocity = (hum.MoveDirection) * speed
  194. gyro.Parent = game.Players.LocalPlayer.Character.UpperTorso
  195. while down do
  196. if not down then break end
  197. velocity.velocity = (hum.MoveDirection) * speed
  198. local refpos = gyro.Parent.Position + (gyro.Parent.Position - workspace.CurrentCamera.CoordinateFrame.p).unit * 5
  199. gyro.cframe = CFrame.new(gyro.Parent.Position, Vector3.new(refpos.x, gyro.Parent.Position.y, refpos.z))
  200. wait(0.1)
  201. end
  202. end
  203.  
  204. function onButton1Up(mouse)
  205. velocity.Parent = nil
  206. gyro.Parent = nil
  207. down = false
  208. end
  209. --To Change the key in those 2 lines, replace the "q" with your desired key
  210. function onSelected(mouse)
  211. mouse.KeyDown:connect(function(k) if k:lower()=="b"then onButton1Down(mouse)end end)
  212. mouse.KeyUp:connect(function(k) if k:lower()=="b"then onButton1Up(mouse)end end)
  213. end
  214.  
  215. onSelected(game.Players.LocalPlayer:GetMouse())
  216. end)
  217.  
  218. Id.MouseButton1Down:connect(function()
  219. local sound = Instance.new("Sound")
  220. local id = game.CoreGui:FindFirstChild("RB World 2").Main.Play.Id.Text
  221. sound.Parent = game.Workspace
  222. sound.SoundId = "rbxassetid://"..id
  223. sound.Volume = 60
  224. wait(1)
  225. sound:Play()
  226. print "played"
  227. end)
  228.  
  229. West.MouseButton1Down:connect(function()
  230. game.ReplicatedStorage.places:FindFirstChild("RB Eastside Park").Value = 593223204
  231. print 'worked';
  232. end)
  233.  
  234. East.MouseButton1Down:connect(function()
  235. game.ReplicatedStorage.places:FindFirstChild("RB Westlake Park").Value = 591582661
  236. print 'worked';
  237. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement