Advertisement
Guest User

RB World 2 GUI

a guest
Aug 20th, 2018
7,433
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.35 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local RBWorld2 = Instance.new("ScreenGui")
  5. local OpenFrame = Instance.new("Frame")
  6. local OpenClose = Instance.new("TextButton")
  7. local Main = Instance.new("Frame")
  8. local boxing = Instance.new("TextButton")
  9. local aimbot = Instance.new("TextButton")
  10. local playsound = Instance.new("TextButton")
  11. local ID = Instance.new("TextBox")
  12. local clicktp = Instance.new("TextButton")
  13. local fly = Instance.new("TextButton")
  14. local noclip = Instance.new("TextButton")
  15. local westside = Instance.new("TextButton")
  16. local speed = Instance.new("TextButton")
  17. local speednumber = Instance.new("TextBox")
  18. local eastside = Instance.new("TextButton")
  19. local credits = Instance.new("TextLabel")
  20. local supportedexploits = Instance.new("TextLabel")
  21. local title = Instance.new("TextLabel")
  22. local Next = Instance.new("TextButton")
  23. local Page2 = Instance.new("Frame")
  24. local credits2 = Instance.new("TextLabel")
  25. local Page2_2 = Instance.new("TextLabel")
  26. local Prev = Instance.new("TextButton")
  27. local statchange = Instance.new("TextButton")
  28. --Properties:
  29. RBWorld2.Name = "RB World 2"
  30. RBWorld2.Parent = game.CoreGui
  31.  
  32. OpenFrame.Name = "Open Frame"
  33. OpenFrame.Parent = RBWorld2
  34. OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  35. OpenFrame.Position = UDim2.new(0, 0, 0.486994207, 0)
  36. OpenFrame.Size = UDim2.new(0, 119, 0, 41)
  37. OpenFrame.Style = Enum.FrameStyle.DropShadow
  38.  
  39. OpenClose.Name = "Open/Close"
  40. OpenClose.Parent = OpenFrame
  41. OpenClose.BackgroundColor3 = Color3.new(0, 0, 0)
  42. OpenClose.BackgroundTransparency = 0.89999997615814
  43. OpenClose.Position = UDim2.new(0.0336134471, 0, 0.097560972, 0)
  44. OpenClose.Size = UDim2.new(0, 97, 0, 24)
  45. OpenClose.Font = Enum.Font.Cartoon
  46. OpenClose.Text = "Close"
  47. OpenClose.TextColor3 = Color3.new(1, 1, 1)
  48. OpenClose.TextSize = 16
  49.  
  50. Main.Name = "Main"
  51. Main.Parent = RBWorld2
  52. Main.BackgroundColor3 = Color3.new(1, 1, 1)
  53. Main.Position = UDim2.new(0.160377353, 0, 0.0326633193, 0)
  54. Main.Size = UDim2.new(0, 570, 0, 371)
  55. Main.Style = Enum.FrameStyle.DropShadow
  56. Main.Active = true
  57. Main.Draggable = true
  58.  
  59. boxing.Name = "boxing"
  60. boxing.Parent = Main
  61. boxing.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
  62. boxing.BorderColor3 = Color3.new(1, 1, 1)
  63. boxing.BorderSizePixel = 5
  64. boxing.Position = UDim2.new(0.676886141, 0, 0.570126116, 0)
  65. boxing.Size = UDim2.new(0, 166, 0, 50)
  66. boxing.Font = Enum.Font.Cartoon
  67. boxing.Text = "Boxing (Press keys 1-8)"
  68. boxing.TextColor3 = Color3.new(0, 0, 0)
  69. boxing.TextSize = 14
  70.  
  71. aimbot.Name = "aimbot"
  72. aimbot.Parent = Main
  73. aimbot.BackgroundColor3 = Color3.new(0, 0, 0)
  74. aimbot.BorderColor3 = Color3.new(1, 1, 1)
  75. aimbot.BorderSizePixel = 5
  76. aimbot.Position = UDim2.new(0.342232198, 0, 0.179290578, 0)
  77. aimbot.Size = UDim2.new(0, 166, 0, 50)
  78. aimbot.Font = Enum.Font.SourceSans
  79. aimbot.Text = "Aimbot (Press F to shoot)"
  80. aimbot.TextColor3 = Color3.new(1, 0, 0)
  81. aimbot.TextSize = 14
  82.  
  83. playsound.Name = "playsound"
  84. playsound.Parent = Main
  85. playsound.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
  86. playsound.BorderColor3 = Color3.new(1, 1, 1)
  87. playsound.BorderSizePixel = 5
  88. playsound.Position = UDim2.new(0.0146864224, 0, 0.570126176, 0)
  89. playsound.Size = UDim2.new(0, 166, 0, 50)
  90. playsound.Font = Enum.Font.Cartoon
  91. playsound.Text = "Play Sound"
  92. playsound.TextColor3 = Color3.new(0, 0, 0)
  93. playsound.TextSize = 14
  94.  
  95. ID.Name = "ID"
  96. ID.Parent = playsound
  97. ID.BackgroundColor3 = Color3.new(0, 0, 0)
  98. ID.BorderColor3 = Color3.new(1, 1, 1)
  99. ID.Position = UDim2.new(0.0421686769, 0, 1.20000005, 0)
  100. ID.Size = UDim2.new(0, 152, 0, 41)
  101. ID.Font = Enum.Font.SourceSans
  102. ID.Text = "ID"
  103. ID.TextColor3 = Color3.new(0, 1, 1)
  104. ID.TextSize = 14
  105.  
  106. clicktp.Name = "click tp"
  107. clicktp.Parent = Main
  108. clicktp.BackgroundColor3 = Color3.new(0, 0, 0)
  109. clicktp.BorderColor3 = Color3.new(1, 1, 1)
  110. clicktp.BorderSizePixel = 5
  111. clicktp.Position = UDim2.new(0.67433548, 0, 0.370968491, 0)
  112. clicktp.Size = UDim2.new(0, 166, 0, 50)
  113. clicktp.Font = Enum.Font.SourceSans
  114. clicktp.Text = "Click TP (ctrl+click)"
  115. clicktp.TextColor3 = Color3.new(1, 0, 0)
  116. clicktp.TextSize = 14
  117.  
  118. fly.Name = "fly"
  119. fly.Parent = Main
  120. fly.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
  121. fly.BorderColor3 = Color3.new(1, 1, 1)
  122. fly.BorderSizePixel = 5
  123. fly.Position = UDim2.new(0.342232227, 0, 0.368273079, 0)
  124. fly.Size = UDim2.new(0, 166, 0, 50)
  125. fly.Font = Enum.Font.Cartoon
  126. fly.Text = "Fly"
  127. fly.TextColor3 = Color3.new(0, 0, 0)
  128. fly.TextSize = 14
  129.  
  130. noclip.Name = "noclip"
  131. noclip.Parent = Main
  132. noclip.BackgroundColor3 = Color3.new(0, 0, 0)
  133. noclip.BorderColor3 = Color3.new(1, 1, 1)
  134. noclip.BorderSizePixel = 5
  135. noclip.Position = UDim2.new(0.0137283131, 0, 0.373663902, 0)
  136. noclip.Size = UDim2.new(0, 166, 0, 50)
  137. noclip.Font = Enum.Font.SourceSans
  138. noclip.Text = "Noclip (Hold L)"
  139. noclip.TextColor3 = Color3.new(1, 0, 0)
  140. noclip.TextSize = 14
  141.  
  142. westside.Name = "westside"
  143. westside.Parent = Main
  144. westside.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
  145. westside.BorderColor3 = Color3.new(1, 1, 1)
  146. westside.BorderSizePixel = 5
  147. westside.Position = UDim2.new(0.676089942, 0, 0.18130371, 0)
  148. westside.Size = UDim2.new(0, 166, 0, 50)
  149. westside.Font = Enum.Font.Cartoon
  150. westside.Text = "Change to Westside"
  151. westside.TextColor3 = Color3.new(0, 0, 0)
  152. westside.TextSize = 14
  153.  
  154. speed.Name = "speed"
  155. speed.Parent = Main
  156. speed.BackgroundColor3 = Color3.new(0, 0, 0)
  157. speed.BorderColor3 = Color3.new(1, 1, 1)
  158. speed.BorderSizePixel = 5
  159. speed.Position = UDim2.new(0.342232227, 0, 0.569443941, 0)
  160. speed.Size = UDim2.new(0, 166, 0, 50)
  161. speed.Font = Enum.Font.SourceSans
  162. speed.Text = "Speed Hack ( Hold Q)"
  163. speed.TextColor3 = Color3.new(1, 0, 0)
  164. speed.TextSize = 14
  165.  
  166. speednumber.Name = "speednumber"
  167. speednumber.Parent = speed
  168. speednumber.BackgroundColor3 = Color3.new(0, 0, 0)
  169. speednumber.BorderColor3 = Color3.new(1, 1, 1)
  170. speednumber.Position = UDim2.new(0.0240963884, 0, 1.20000005, 0)
  171. speednumber.Size = UDim2.new(0, 152, 0, 41)
  172. speednumber.Font = Enum.Font.SourceSans
  173. speednumber.Text = "Speed Number"
  174. speednumber.TextColor3 = Color3.new(0, 1, 0.498039)
  175. speednumber.TextSize = 16
  176.  
  177. eastside.Name = "eastside"
  178. eastside.Parent = Main
  179. eastside.BackgroundColor3 = Color3.new(0.666667, 0, 0.498039)
  180. eastside.BorderColor3 = Color3.new(1, 1, 1)
  181. eastside.BorderSizePixel = 5
  182. eastside.Position = UDim2.new(0.0137283225, 0, 0.18130374, 0)
  183. eastside.Size = UDim2.new(0, 166, 0, 50)
  184. eastside.Font = Enum.Font.Cartoon
  185. eastside.Text = "Change to Eastside"
  186. eastside.TextColor3 = Color3.new(0, 0, 0)
  187. eastside.TextSize = 14
  188.  
  189. credits.Name = "credits"
  190. credits.Parent = Main
  191. credits.BackgroundColor3 = Color3.new(0, 0, 0)
  192. credits.BorderColor3 = Color3.new(1, 1, 1)
  193. credits.Position = UDim2.new(-0.00526315812, 0, 0.854447484, 0)
  194. credits.Size = UDim2.new(0, 560, 0, 50)
  195. credits.Font = Enum.Font.SourceSans
  196. credits.Text = "Join the Discord for updates: Discord.me/Cyamic"
  197. credits.TextColor3 = Color3.new(0.666667, 1, 0)
  198. credits.TextSize = 20
  199.  
  200. supportedexploits.Name = "supported exploits"
  201. supportedexploits.Parent = Main
  202. supportedexploits.BackgroundColor3 = Color3.new(0, 0, 0)
  203. supportedexploits.BorderColor3 = Color3.new(1, 1, 1)
  204. supportedexploits.Position = UDim2.new(0.349122792, 0, -0.00269541703, 0)
  205. supportedexploits.Size = UDim2.new(0, 361, 0, 47)
  206. supportedexploits.Font = Enum.Font.SourceSans
  207. supportedexploits.Text = "Supported Exploits: Check #exploits"
  208. supportedexploits.TextColor3 = Color3.new(0.333333, 0.333333, 1)
  209. supportedexploits.TextSize = 16
  210.  
  211. title.Name = "title"
  212. title.Parent = Main
  213. title.BackgroundColor3 = Color3.new(0, 0, 0)
  214. title.BorderColor3 = Color3.new(1, 1, 1)
  215. title.Position = UDim2.new(-0.00553505681, 0, -0.00257749483, 0)
  216. title.Size = UDim2.new(0, 196, 0, 47)
  217. title.Font = Enum.Font.Cartoon
  218. title.Text = "RB WORLD 2 GUI"
  219. title.TextColor3 = Color3.new(1, 1, 0)
  220. title.TextSize = 24
  221.  
  222. Next.Name = "Next"
  223. Next.Parent = Main
  224. Next.BackgroundColor3 = Color3.new(0, 0, 0)
  225. Next.BorderColor3 = Color3.new(0, 0, 0)
  226. Next.BorderSizePixel = 0
  227. Next.Position = UDim2.new(0.909594119, 0, 0.856249988, 0)
  228. Next.Size = UDim2.new(0, 50, 0, 45)
  229. Next.Font = Enum.Font.SourceSans
  230. Next.Text = ">"
  231. Next.TextColor3 = Color3.new(1, 1, 1)
  232. Next.TextSize = 45
  233.  
  234. Page2.Name = "Page2"
  235. Page2.Parent = RBWorld2
  236. Page2.BackgroundColor3 = Color3.new(1, 1, 1)
  237. Page2.Position = UDim2.new(0.159999996, 0, 0.0329999998, 0)
  238. Page2.Size = UDim2.new(0, 570, 0, 371)
  239. Page2.Visible = false
  240. Page2.Style = Enum.FrameStyle.DropShadow
  241. Page2.Active = true
  242. Page2.Draggable = true
  243.  
  244. credits2.Name = "credits2"
  245. credits2.Parent = Page2
  246. credits2.BackgroundColor3 = Color3.new(0, 0, 0)
  247. credits2.BorderColor3 = Color3.new(1, 1, 1)
  248. credits2.Position = UDim2.new(-0.00526315812, 0, 0.854447484, 0)
  249. credits2.Size = UDim2.new(0, 560, 0, 50)
  250. credits2.Font = Enum.Font.SourceSans
  251. credits2.Text = "Join the Discord for updates: Discord.me/Cyamic"
  252. credits2.TextColor3 = Color3.new(0.666667, 1, 0)
  253. credits2.TextSize = 20
  254.  
  255. Page2_2.Name = "Page2"
  256. Page2_2.Parent = Page2
  257. Page2_2.BackgroundColor3 = Color3.new(0, 0, 0)
  258. Page2_2.BorderColor3 = Color3.new(1, 1, 1)
  259. Page2_2.Position = UDim2.new(-0.00526315812, 0, 1.16415322e-09, 0)
  260. Page2_2.Size = UDim2.new(0, 560, 0, 50)
  261. Page2_2.Font = Enum.Font.SourceSans
  262. Page2_2.Text = "Page 2"
  263. Page2_2.TextColor3 = Color3.new(0, 0.333333, 1)
  264. Page2_2.TextSize = 20
  265.  
  266. Prev.Name = "Prev"
  267. Prev.Parent = Page2
  268. Prev.BackgroundColor3 = Color3.new(0, 0, 0)
  269. Prev.BorderColor3 = Color3.new(0, 0, 0)
  270. Prev.BorderSizePixel = 0
  271. Prev.Position = UDim2.new(-0.00578947598, 0, 0.858695447, 0)
  272. Prev.Size = UDim2.new(0, 50, 0, 45)
  273. Prev.Font = Enum.Font.SourceSans
  274. Prev.Text = "<"
  275. Prev.TextColor3 = Color3.new(1, 1, 1)
  276. Prev.TextSize = 45
  277.  
  278. statchange.Name = "statchange"
  279. statchange.Parent = Page2
  280. statchange.BackgroundColor3 = Color3.new(0, 0, 0)
  281. statchange.BorderColor3 = Color3.new(1, 0, 1)
  282. statchange.BorderSizePixel = 5
  283. statchange.Position = UDim2.new(0.342000008, 0, 0.179000005, 0)
  284. statchange.Size = UDim2.new(0, 166, 0, 50)
  285. statchange.Font = Enum.Font.SourceSans
  286. statchange.Text = "StatChange"
  287. statchange.TextColor3 = Color3.new(1, 0, 1)
  288. statchange.TextSize = 14
  289. -- Scripts:
  290.  
  291. Next.MouseButton1Down:connect(function()
  292. if game.CoreGui["RB World 2"].Page2.Visible == false and game.CoreGui["RB World 2"].Main.Visible == true then
  293. game.CoreGui["RB World 2"].Page2.Visible = true
  294. game.CoreGui["RB World 2"].Main.Visible = false
  295. end
  296. end)
  297.  
  298. Prev.MouseButton1Down:connect(function()
  299. if game.CoreGui["RB World 2"].Page2.Visible == true and game.CoreGui["RB World 2"].Main.Visible == false then
  300. game.CoreGui["RB World 2"].Page2.Visible = false
  301. game.CoreGui["RB World 2"].Main.Visible = true
  302. end
  303. end)
  304.  
  305. function SCRIPT_NNBZ71_FAKESCRIPT() -- OpenClose.Script
  306. getfenv().script = Instance.new('Script', OpenClose)
  307.  
  308. local Button = script.Parent
  309. Frame = script.Parent.Parent.Parent.Main
  310. Open = script.Parent
  311. function onClick()
  312. if Frame.Visible == false and Open.Text == "Open" then
  313. Frame.Visible = true
  314. Open.Text = "Close"
  315.  
  316. elseif Frame.Visible == true and Open.Text == "Close" then
  317. Frame.Visible = false
  318. Open.Text = "Open"
  319. end
  320. end
  321.  
  322. Button.MouseButton1Click:connect(onClick)
  323.  
  324. end
  325. coroutine.resume(coroutine.create(SCRIPT_NNBZ71_FAKESCRIPT))
  326. function SCRIPT_LQPN85_FAKESCRIPT() -- boxing.Script
  327. getfenv().script = Instance.new('Script', boxing)
  328.  
  329. function Click()
  330. plr = game.Players.LocalPlayer
  331. hum = plr.Character.HumanoidRootPart
  332. mouse = plr:GetMouse()
  333. mouse.KeyDown:connect(function(key)
  334. if key == "1" then
  335. Player = "LocalPlayer"
  336. AnimationId = "1041467040"
  337. local Anim = Instance.new("Animation")
  338. Anim.AnimationId = "rbxassetid://"..AnimationId
  339. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  340. k:Play() --Play the animation
  341. k:AdjustSpeed(0.7)
  342. end
  343. if key == "2" then
  344. Player = "LocalPlayer"
  345. AnimationId = "1041467753"
  346. local Anim = Instance.new("Animation")
  347. Anim.AnimationId = "rbxassetid://"..AnimationId
  348. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  349. k:Play() --Play the animation
  350. k:AdjustSpeed(0.7)
  351. end
  352. if key == "3" then
  353. Player = "LocalPlayer"
  354. AnimationId = "1041462100"
  355. local Anim = Instance.new("Animation")
  356. Anim.AnimationId = "rbxassetid://"..AnimationId
  357. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  358. k:Play() --Play the animation
  359. k:AdjustSpeed(0.7)
  360. end
  361. if key == "4" then
  362. Player = "LocalPlayer"
  363. AnimationId = "1041681504"
  364. local Anim = Instance.new("Animation")
  365. Anim.AnimationId = "rbxassetid://"..AnimationId
  366. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  367. k:Play() --Play the animation
  368. k:AdjustSpeed(0.7)
  369. end
  370. if key == "5" then
  371. Player = "LocalPlayer"
  372. AnimationId = "1041470826"
  373. local Anim = Instance.new("Animation")
  374. Anim.AnimationId = "rbxassetid://"..AnimationId
  375. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  376. k:Play() --Play the animation
  377. k:AdjustSpeed(0.7)
  378. end
  379. if key == "6" then
  380. Player = "LocalPlayer"
  381. AnimationId = "1041470182"
  382. local Anim = Instance.new("Animation")
  383. Anim.AnimationId = "rbxassetid://"..AnimationId
  384. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  385. k:Play() --Play the animation
  386. k:AdjustSpeed(0.7)
  387. end
  388. if key == "7" then
  389. Player = "LocalPlayer"
  390. AnimationId = "1041374433"
  391. local Anim = Instance.new("Animation")
  392. Anim.AnimationId = "rbxassetid://"..AnimationId
  393. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  394. k:Play() --Play the animation
  395. k:AdjustSpeed(0.7)
  396. end
  397. if key == "8" then
  398. Player = "LocalPlayer"
  399. AnimationId = "849611631"
  400. local Anim = Instance.new("Animation")
  401. Anim.AnimationId = "rbxassetid://"..AnimationId
  402. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  403. k:Play() --Play the animation
  404. k:AdjustSpeed(1)
  405. end
  406. end)
  407. end
  408.  
  409. script.Parent.MouseButton1Down:connect(Click)
  410.  
  411.  
  412. end
  413. coroutine.resume(coroutine.create(SCRIPT_LQPN85_FAKESCRIPT))
  414. function SCRIPT_GPOH70_FAKESCRIPT() -- aimbot.Script
  415. getfenv().script = Instance.new('Script', aimbot)
  416.  
  417. function Click()
  418. --// RBW2 UPDATED //--
  419.  
  420. -- works here; https://www.roblox.com/games/593223204/RB-Westlake-Park
  421.  
  422. --// MAINVARS //--
  423.  
  424. remotes = game:GetService("ReplicatedStorage").gameplay
  425. mouse = game.Players.LocalPlayer:GetMouse()
  426.  
  427. --// EDITVARS //--
  428.  
  429. _G.accuracy = 99 -- Accuracy; 99 Makes it in almost always; 100 is always a green;
  430. _G.key = "f" -- Key to press to activate;
  431.  
  432. --// SCRIPT //--
  433.  
  434. --// ACCURACY SWITCH
  435.  
  436. mouse.KeyDown:connect(function(k)
  437. if k == "b" then
  438. if _G.accuracy == 99 then
  439. _G.accuracy = 100
  440. elseif _G.accuracy == 100 then
  441. _G.accuracy = 99
  442. end
  443. print(_G.accuracy)
  444. end
  445. end)
  446.  
  447. --// SHOOT
  448.  
  449. mouse.KeyDown:connect(function(k)
  450. if k == _G.key then
  451. for _,v in pairs(game.Workspace:GetChildren()) do
  452. if v.Name == "Basketball" then
  453. if v.controller.Value == game.Players.LocalPlayer.Name then
  454. local oncourt = "Court"..tonumber(game.Players.LocalPlayer.System.OnCourt.Value)
  455. local onhoop = "_Hoop"..tonumber(game.Players.LocalPlayer.System.OnTeam.Value)
  456. remotes.character.value:FireServer("shooting", true)
  457. if game.Workspace[oncourt]:FindFirstChild(onhoop) then
  458. v.shoot:FireServer(game.Workspace[oncourt][onhoop], _G.accuracy, true)
  459. elseif game.Workspace[oncourt]:FindFirstChild("_Hoop1") then
  460. v.shoot:FireServer(game.Workspace[oncourt]["_Hoop1"], _G.accuracy, true)
  461. end
  462. end
  463. end
  464. end
  465. end
  466. end)
  467. end
  468.  
  469. script.Parent.MouseButton1Down:connect(Click)
  470.  
  471. end
  472. coroutine.resume(coroutine.create(SCRIPT_GPOH70_FAKESCRIPT))
  473.  
  474. speed.MouseButton1Down:connect(function()
  475. -- << K1LL0X >> --
  476.  
  477. --This may be a little buggy, so beware.
  478. --Hold "Q" to speed up
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485. down = false
  486. velocity = Instance.new("BodyVelocity")
  487. velocity.maxForce = Vector3.new(100000, 0, 100000)
  488. ---vv Use that to change the speed v
  489. local speed = speednumber.Text
  490. gyro = Instance.new("BodyGyro")
  491. gyro.maxTorque = Vector3.new(100000, 0, 100000)
  492.  
  493. local hum = game.Players.LocalPlayer.Character.Humanoid
  494.  
  495. function onButton1Down(mouse)
  496. down = true
  497. velocity.Parent = game.Players.LocalPlayer.Character.UpperTorso
  498. velocity.velocity = (hum.MoveDirection) * speed
  499. gyro.Parent = game.Players.LocalPlayer.Character.UpperTorso
  500. while down do
  501. if not down then break end
  502. velocity.velocity = (hum.MoveDirection) * speed
  503. local refpos = gyro.Parent.Position + (gyro.Parent.Position - workspace.CurrentCamera.CoordinateFrame.p).unit * 5
  504. gyro.cframe = CFrame.new(gyro.Parent.Position, Vector3.new(refpos.x, gyro.Parent.Position.y, refpos.z))
  505. wait(0.1)
  506. end
  507. end
  508.  
  509. function onButton1Up(mouse)
  510. velocity.Parent = nil
  511. gyro.Parent = nil
  512. down = false
  513. end
  514. --To Change the key in those 2 lines, replace the "q" with your desired key
  515. function onSelected(mouse)
  516. mouse.KeyDown:connect(function(k) if k:lower()=="q"then onButton1Down(mouse)end end)
  517. mouse.KeyUp:connect(function(k) if k:lower()=="q"then onButton1Up(mouse)end end)
  518. end
  519.  
  520. onSelected(game.Players.LocalPlayer:GetMouse())
  521. end)
  522.  
  523. local flytoggle = false
  524. -- FLY SCRIPT BY RGEENEUS
  525.  
  526. -- The following code should be in a local script.
  527. -- Only works on PC, not xbox or mobile. I do not have devices to test on.
  528. -- Call the start fly function AFTER the character exists to fly. The function does not run if there is no character.
  529.  
  530. local speed = 60 -- This is the fly speed. Change it to whatever you like. The variable can be changed while running
  531.  
  532. local c
  533. local h
  534. local bv
  535. local bav
  536. local cam
  537. local flying
  538. local p = game.Players.LocalPlayer
  539. local buttons = {W = false, S = false, A = false, D = false, Moving = false}
  540.  
  541. local startFly = function () -- Call this function to begin flying
  542. if not p.Character or not p.Character.Head or flying then return end
  543. c = p.Character
  544. h = c.Humanoid
  545. h.PlatformStand = true
  546. cam = workspace:WaitForChild('Camera')
  547. bv = Instance.new("BodyVelocity")
  548. bav = Instance.new("BodyAngularVelocity")
  549. bv.Velocity, bv.MaxForce, bv.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
  550. bav.AngularVelocity, bav.MaxTorque, bav.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
  551. bv.Parent = c.Head
  552. bav.Parent = c.Head
  553. flying = true
  554. h.Died:connect(function() flying = false end)
  555. end
  556.  
  557. local endFly = function () -- Call this function to stop flying
  558. if not p.Character or not flying then return end
  559. h.PlatformStand = false
  560. bv:Destroy()
  561. bav:Destroy()
  562. flying = false
  563. end
  564.  
  565. game:GetService("UserInputService").InputBegan:connect(function (input, GPE)
  566. if GPE then return end
  567. for i, e in pairs(buttons) do
  568. if i ~= "Moving" and input.KeyCode == Enum.KeyCode[i] then
  569. buttons[i] = true
  570. buttons.Moving = true
  571. end
  572. end
  573. end)
  574.  
  575. game:GetService("UserInputService").InputEnded:connect(function (input, GPE)
  576. if GPE then return end
  577. local a = false
  578. for i, e in pairs(buttons) do
  579. if i ~= "Moving" then
  580. if input.KeyCode == Enum.KeyCode[i] then
  581. buttons[i] = false
  582. end
  583. if buttons[i] then a = true end
  584. end
  585. end
  586. buttons.Moving = a
  587. end)
  588.  
  589. local setVec = function (vec)
  590. return vec * (speed / vec.Magnitude)
  591. end
  592.  
  593. game:GetService("RunService").Heartbeat:connect(function (step) -- The actual fly function, called every frame
  594. if flying and c and c.PrimaryPart then
  595. local p = c.PrimaryPart.Position
  596. local cf = cam.CFrame
  597. local ax, ay, az = cf:toEulerAnglesXYZ()
  598. c:SetPrimaryPartCFrame(CFrame.new(p.x, p.y, p.z) * CFrame.Angles(ax, ay, az))
  599. if buttons.Moving then
  600. local t = Vector3.new()
  601. if buttons.W then t = t + (setVec(cf.lookVector)) end
  602. if buttons.S then t = t - (setVec(cf.lookVector)) end
  603. if buttons.A then t = t - (setVec(cf.rightVector)) end
  604. if buttons.D then t = t + (setVec(cf.rightVector)) end
  605. c:TranslateBy(t * step)
  606. end
  607. end
  608. end)
  609.  
  610. function flytogl()
  611. if flytoggle == true then
  612. flytoggle = false
  613. fly.Text = "Fly off"
  614. else
  615. flytoggle = true
  616. fly.Text = "Fly on"
  617. startFly()
  618. repeat
  619. wait(0.001)
  620. until flytoggle == false
  621. endFly()
  622. end
  623. end
  624. fly.MouseButton1Down:connect(flytogl)
  625.  
  626. eastside.MouseButton1Down:connect(function()
  627. game.ReplicatedStorage.places:FindFirstChild("RB Westlake Park").Value = 591582661
  628. print 'worked';
  629. end)
  630.  
  631. westside.MouseButton1Down:connect(function()
  632. game.ReplicatedStorage.places:FindFirstChild("RB Eastside Park").Value = 593223204
  633. print 'worked';
  634. end)
  635.  
  636. playsound.MouseButton1Down:connect(function()
  637. local sound = Instance.new("Sound")
  638. local id = ID.Text
  639. sound.Parent = game.Workspace
  640. sound.SoundId = "rbxassetid://"..id
  641. sound.Volume = 1
  642. wait(1)
  643. sound:Play()
  644. print "played"
  645. end)
  646.  
  647. noclip.MouseButton1Down:connect(function()
  648. game:getService("RunService"):BindToRenderStep("",0,function()
  649. if not game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid") then return end
  650. if game:getService("UserInputService"):IsKeyDown(Enum.KeyCode.L) then
  651. game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid"):ChangeState(11)
  652. end
  653. end)
  654. end)
  655.  
  656. clicktp.MouseButton1Down:connect(function()
  657. local UIS = game:GetService("UserInputService")
  658.  
  659. local Player = game.Players.LocalPlayer
  660. local Mouse = Player:GetMouse()
  661.  
  662.  
  663. function GetCharacter()
  664. return game.Players.LocalPlayer.Character
  665. end
  666.  
  667. function Teleport(pos)
  668. local Char = GetCharacter()
  669. if Char then
  670. Char:MoveTo(pos)
  671. end
  672. end
  673.  
  674.  
  675. UIS.InputBegan:Connect(function(input)
  676. if input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) then
  677. Teleport(Mouse.Hit.p)
  678. end
  679. end)
  680. end)
  681.  
  682. statchange.MouseButton1Down:connect(function()
  683. --[[
  684. Name: RB_statchange.lua
  685. Author: Vail#8531
  686. Desc: Yes, you can edit this.
  687. ]]
  688.  
  689. for i,v in next, debug.getregistry() do
  690. if type(v) == 'function' then
  691. local s, yo = pcall(function() return debug.getupvalues(v) end)
  692. if yo and type(yo) == 'table' then
  693. if yo.Attributes then
  694. local hi = yo.Attributes;
  695. hi.freethrow = math.huge;
  696. hi.postscorer = math.huge;
  697. hi.ballspeed = math.huge;
  698. hi.jump = 50;
  699. hi.steal = math.huge;
  700. hi.shotcontest = 0;
  701. hi["2pointer"] = math.huge;
  702. hi["3pointer"] = math.huge;
  703. hi.passing = math.huge;
  704. hi.layup = math.huge;
  705. hi.strength = math.huge;
  706. hi.dunk = math.huge;
  707. hi.speed = math.huge;
  708. hi.handles = math.huge;
  709. hi.movingshot = math.huge;
  710. hi.defense = math.huge;
  711. hi.stamina = math.huge;
  712. end;
  713. end;
  714. end;
  715. end;
  716. print 'worked'
  717. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement