Advertisement
Guest User

Aimbot script

a guest
Jan 22nd, 2019
73,232
3
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.02 KB | None | 3 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local RBWorld2 = Instance.new("ScreenGui")
  5. local OpenFrame = Instance.new("Frame")
  6. local Open = Instance.new("TextButton")
  7. local Main = Instance.new("Frame")
  8. local clicktp = Instance.new("TextButton")
  9. local speedhax = Instance.new("TextButton")
  10. local speednumber = Instance.new("TextBox")
  11. local aimbot = Instance.new("TextButton")
  12. local Credits = Instance.new("TextBox")
  13. local Title = Instance.new("TextBox")
  14. local close = Instance.new("TextButton")
  15. local Play = Instance.new("TextButton")
  16. local Id = Instance.new("TextBox")
  17. local fly = Instance.new("TextButton")
  18. local noclip = Instance.new("TextButton")
  19. local changewest = Instance.new("TextButton")
  20. local changeeast = Instance.new("TextButton")
  21. --Properties:
  22. RBWorld2.Name = "RB World 2"
  23. RBWorld2.Parent = game.CoreGui
  24.  
  25. OpenFrame.Name = "Open Frame"
  26. OpenFrame.Parent = RBWorld2
  27. OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  28. OpenFrame.Position = UDim2.new(0, 0, 0.486994207, 0)
  29. OpenFrame.Size = UDim2.new(0, 119, 0, 41)
  30. OpenFrame.Style = Enum.FrameStyle.DropShadow
  31.  
  32. Open.Name = "Open"
  33. Open.Parent = OpenFrame
  34. Open.BackgroundColor3 = Color3.new(0, 0, 0)
  35. Open.BackgroundTransparency = 0.89999997615814
  36. Open.Position = UDim2.new(0.0336134471, 0, 0.097560972, 0)
  37. Open.Size = UDim2.new(0, 97, 0, 24)
  38. Open.Font = Enum.Font.Cartoon
  39. Open.Text = "Open"
  40. Open.TextColor3 = Color3.new(1, 1, 1)
  41. Open.TextSize = 16
  42.  
  43. Main.Name = "Main"
  44. Main.Parent = RBWorld2
  45. Main.BackgroundColor3 = Color3.new(1, 1, 1)
  46. Main.Position = UDim2.new(0.0959885344, 0, 0.0415647924, 0)
  47. Main.Size = UDim2.new(0, 362, 0, 390)
  48. Main.Style = Enum.FrameStyle.DropShadow
  49. Main.Active = true
  50. Main.Draggable = true
  51.  
  52.  
  53. clicktp.Name = "click tp"
  54. clicktp.Parent = Main
  55. clicktp.BackgroundColor3 = Color3.new(1, 1, 1)
  56. clicktp.BorderColor3 = Color3.new(0, 0.666667, 1)
  57. clicktp.Position = UDim2.new(0.00276243128, 0, 0.428205132, 0)
  58. clicktp.Size = UDim2.new(0, 162, 0, 52)
  59. clicktp.Font = Enum.Font.Cartoon
  60. clicktp.Text = "Click TP (ctrl+click)"
  61. clicktp.TextColor3 = Color3.new(0, 0, 0)
  62. clicktp.TextSize = 14
  63.  
  64. speedhax.Name = "speed hax"
  65. speedhax.Parent = Main
  66. speedhax.BackgroundColor3 = Color3.new(1, 1, 1)
  67. speedhax.BorderColor3 = Color3.new(0, 0.666667, 1)
  68. speedhax.Position = UDim2.new(0.527624309, 0, 0.610256433, 0)
  69. speedhax.Size = UDim2.new(0, 162, 0, 54)
  70. speedhax.Font = Enum.Font.Cartoon
  71. speedhax.Text = "Speed Hax (Hold Q)"
  72. speedhax.TextColor3 = Color3.new(0, 0, 0)
  73. speedhax.TextSize = 14
  74.  
  75. speednumber.Name = "speed number"
  76. speednumber.Parent = speedhax
  77. speednumber.BackgroundColor3 = Color3.new(0, 0, 0)
  78. speednumber.BorderColor3 = Color3.new(0, 0.666667, 1)
  79. speednumber.Position = UDim2.new(0, 0, 1.11111116, 0)
  80. speednumber.Size = UDim2.new(0, 162, 0, 33)
  81. speednumber.Font = Enum.Font.Code
  82. speednumber.Text = "Enter Speed Here"
  83. speednumber.TextColor3 = Color3.new(1, 1, 1)
  84. speednumber.TextSize = 16
  85.  
  86. aimbot.Name = "aimbot"
  87. aimbot.Parent = Main
  88. aimbot.BackgroundColor3 = Color3.new(1, 1, 1)
  89. aimbot.BorderColor3 = Color3.new(0, 0.666667, 1)
  90. aimbot.Position = UDim2.new(0.527624309, 0, 0.428205132, 0)
  91. aimbot.Size = UDim2.new(0, 162, 0, 53)
  92. aimbot.Font = Enum.Font.Cartoon
  93. aimbot.Text = "Aimbot (Automatically On)"
  94. aimbot.TextColor3 = Color3.new(0, 0, 0)
  95. aimbot.TextSize = 14
  96.  
  97. Credits.Name = "Credits"
  98. Credits.Parent = Main
  99. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  100. Credits.BorderColor3 = Color3.new(0, 0, 0)
  101. Credits.Position = UDim2.new(0.00276243128, 0, 0.907692313, 0)
  102. Credits.Size = UDim2.new(0, 344, 0, 34)
  103. Credits.Font = Enum.Font.Cartoon
  104. Credits.Text = "Created by Cyamic and me am nub"
  105. Credits.TextColor3 = Color3.new(0, 0, 0)
  106. Credits.TextSize = 14
  107.  
  108. Title.Name = "Title"
  109. Title.Parent = Main
  110. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  111. Title.BorderColor3 = Color3.new(0, 0, 0)
  112. Title.Position = UDim2.new(0, 0, 0.00256410241, 0)
  113. Title.Size = UDim2.new(0, 350, 0, 25)
  114. Title.Font = Enum.Font.Cartoon
  115. Title.Text = "RB World 2 GUI"
  116. Title.TextColor3 = Color3.new(0, 0, 0)
  117. Title.TextSize = 14
  118.  
  119. close.Name = "close"
  120. close.Parent = Main
  121. close.BackgroundColor3 = Color3.new(1, 0.945098, 0.905882)
  122. close.Position = UDim2.new(0.922680497, 0, 0.00256410148, 0)
  123. close.Size = UDim2.new(0, 30, 0, 25)
  124. close.Font = Enum.Font.SciFi
  125. close.Text = "X"
  126. close.TextColor3 = Color3.new(0, 0, 0)
  127. close.TextSize = 14
  128.  
  129. Play.Name = "Play"
  130. Play.Parent = Main
  131. Play.BackgroundColor3 = Color3.new(1, 0.972549, 0.972549)
  132. Play.Position = UDim2.new(0, 0, 0.610256433, 0)
  133. Play.Size = UDim2.new(0, 161, 0, 54)
  134. Play.Font = Enum.Font.Cartoon
  135. Play.Text = "Play Sound/music"
  136. Play.TextColor3 = Color3.new(0, 0, 0)
  137. Play.TextSize = 14
  138.  
  139. Id.Name = "Id"
  140. Id.Parent = Play
  141. Id.BackgroundColor3 = Color3.new(0, 0, 0)
  142. Id.BorderColor3 = Color3.new(0, 0.666667, 1)
  143. Id.Position = UDim2.new(0, 0, 1.11111116, 0)
  144. Id.Size = UDim2.new(0, 161, 0, 32)
  145. Id.Font = Enum.Font.Code
  146. Id.Text = "Enter Id Here"
  147. Id.TextColor3 = Color3.new(1, 1, 1)
  148. Id.TextSize = 16
  149.  
  150. fly.Name = "fly"
  151. fly.Parent = Main
  152. fly.BackgroundColor3 = Color3.new(1, 1, 1)
  153. fly.BorderColor3 = Color3.new(0, 0.666667, 1)
  154. fly.Position = UDim2.new(0.527624309, 0, 0.261538446, 0)
  155. fly.Size = UDim2.new(0, 162, 0, 53)
  156. fly.Font = Enum.Font.Cartoon
  157. fly.Text = "Fly"
  158. fly.TextColor3 = Color3.new(0, 0, 0)
  159. fly.TextSize = 14
  160.  
  161. noclip.Name = "noclip"
  162. noclip.Parent = Main
  163. noclip.BackgroundColor3 = Color3.new(1, 1, 1)
  164. noclip.BorderColor3 = Color3.new(0, 0.666667, 1)
  165. noclip.Position = UDim2.new(0, 0, 0.261538446, 0)
  166. noclip.Size = UDim2.new(0, 162, 0, 53)
  167. noclip.Font = Enum.Font.Cartoon
  168. noclip.Text = "Noclip (Hold L)"
  169. noclip.TextColor3 = Color3.new(0, 0, 0)
  170. noclip.TextSize = 14
  171.  
  172. changewest.Name = "change west"
  173. changewest.Parent = Main
  174. changewest.BackgroundColor3 = Color3.new(1, 1, 1)
  175. changewest.BorderColor3 = Color3.new(0, 0.666667, 1)
  176. changewest.Position = UDim2.new(0, 0, 0.0948717743, 0)
  177. changewest.Size = UDim2.new(0, 162, 0, 53)
  178. changewest.Font = Enum.Font.Cartoon
  179. changewest.Text = "Change to Westlake"
  180. changewest.TextColor3 = Color3.new(0, 0, 0)
  181. changewest.TextSize = 14
  182.  
  183. changeeast.Name = "change east"
  184. changeeast.Parent = Main
  185. changeeast.BackgroundColor3 = Color3.new(1, 1, 1)
  186. changeeast.BorderColor3 = Color3.new(0, 0.666667, 1)
  187. changeeast.Position = UDim2.new(0.527624309, 0, 0.0948717743, 0)
  188. changeeast.Size = UDim2.new(0, 162, 0, 53)
  189. changeeast.Font = Enum.Font.Cartoon
  190. changeeast.Text = "Change to East Side"
  191. changeeast.TextColor3 = Color3.new(0, 0, 0)
  192. changeeast.TextSize = 14
  193. -- Scripts:
  194. local flytoggle = false
  195. aimbot.MouseButton1Down:connect(function()
  196. -- Alrighty, so this is a script that A1 and I (Atlantic) created, this has 2 features. It features an unpatched aimbot script with a no contest script.
  197. -- To toggle aimbot on/off, press "F"
  198. -- Modified by me am nub so that it prints in dev console whether aim is on or off
  199.  
  200. --[[
  201. --> Execute this in your gym.
  202. --> Execute this on any court in a server and you're set
  203.  
  204. --> Change _G.Min, _G.Max to change what the aimbot
  205. -- randomizes between
  206.  
  207. --> Press F to turn off aimbot. If you leave it as it is...
  208. -- it isn't noticable. Just note that it will say great
  209. -- accuracy when u shoot and its on.
  210.  
  211. ]]--
  212.  
  213.  
  214. local Run = game:GetService('RunService');
  215. local UIS = game:GetService('UserInputService');
  216. local Players = game:GetService('Players');
  217. local Player = Players['LocalPlayer'];
  218. local Mouse = Player:GetMouse()
  219.  
  220. local Event = Instance.new('RemoteEvent')
  221. local FireServer = Event.FireServer
  222. local GetRange = Random.new()
  223. _G.Max, _G.Min = 99, 99;
  224. local Aim = true
  225.  
  226. local mt = getrawmetatable(game);
  227. local midx = mt.__index;
  228. local ncll = mt.__namecall;
  229. local fuck = (setreadonly or make_writeable)
  230. fuck(mt, false)
  231.  
  232. rawset(mt, '__namecall', function(obj, ...)
  233. local Args = {...};
  234. local Method = tostring(table.remove(Args));
  235. local Func = midx(obj, Method)
  236.  
  237. if (Method == 'Kick') then
  238. debug.setupvalue(2, 'ScriptDebounce', true)
  239. return
  240. elseif (Func == FireServer) then
  241. if (tostring(obj) == 'shoot') and Aim then
  242. return FireServer(obj, Args[1], GetRange:NextInteger(_G.Min, _G.Max) or 100, true)
  243. end
  244. end
  245. return ncll(obj, ...)
  246. end)
  247.  
  248. UIS['InputBegan']:Connect(function(input, proc)
  249. if proc then return end
  250. if input.KeyCode == Enum.KeyCode.F then
  251. Aim = not Aim
  252. end
  253. if input.KeyCode == Enum.KeyCode.F and Aim == true then
  254. print "Aim On"
  255. elseif input.KeyCode == Enum.KeyCode.F and Aim == false then
  256. print "Aim Off"
  257. end
  258. end)
  259. print("works")
  260.  
  261. -- Made by A1_exe and Atlantic --
  262. end)
  263. speedhax.MouseButton1Down:connect(function()
  264. velocity = Instance.new("BodyVelocity")
  265. velocity.maxForce = Vector3.new(100000, 0, 100000)
  266. ---vv Use that to change the speed v
  267. local speed = speednumber.Text
  268. gyro = Instance.new("BodyGyro")
  269. gyro.maxTorque = Vector3.new(100000, 0, 100000)
  270.  
  271. local hum = game.Players.LocalPlayer.Character.Humanoid
  272.  
  273. function onButton1Down(mouse)
  274. down = true
  275. velocity.Parent = game.Players.LocalPlayer.Character.UpperTorso
  276. velocity.velocity = (hum.MoveDirection) * speed
  277. gyro.Parent = game.Players.LocalPlayer.Character.UpperTorso
  278. while down do
  279. if not down then break end
  280. velocity.velocity = (hum.MoveDirection) * speed
  281. local refpos = gyro.Parent.Position + (gyro.Parent.Position - workspace.CurrentCamera.CoordinateFrame.p).unit * 5
  282. gyro.cframe = CFrame.new(gyro.Parent.Position, Vector3.new(refpos.x, gyro.Parent.Position.y, refpos.z))
  283. wait(0.1)
  284. end
  285. end
  286.  
  287. function onButton1Up(mouse)
  288. velocity.Parent = nil
  289. gyro.Parent = nil
  290. down = false
  291. end
  292. --To Change the key in those 2 lines, replace the "g" with your desired key
  293. function onSelected(mouse)
  294. mouse.KeyDown:connect(function(k) if k:lower()=="q"then onButton1Down(mouse)end end)
  295. mouse.KeyUp:connect(function(k) if k:lower()=="q"then onButton1Up(mouse)end end)
  296. end
  297.  
  298. onSelected(game.Players.LocalPlayer:GetMouse())
  299. end)
  300. close.MouseButton1Down:connect(function()
  301. game.CoreGui:FindFirstChild("RB World 2").Main.Visible = false
  302. end)
  303.  
  304. clicktp.MouseButton1Down:connect(function()
  305. local UIS = game:GetService("UserInputService")
  306.  
  307. local Player = game.Players.LocalPlayer
  308. local Mouse = Player:GetMouse()
  309.  
  310.  
  311. function GetCharacter()
  312. return game.Players.LocalPlayer.Character
  313. end
  314.  
  315. function Teleport(pos)
  316. local Char = GetCharacter()
  317. if Char then
  318. Char:MoveTo(pos)
  319. end
  320. end
  321.  
  322.  
  323. UIS.InputBegan:Connect(function(input)
  324. if input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) then
  325. Teleport(Mouse.Hit.p)
  326. end
  327. end)
  328. end)
  329.  
  330. Open.MouseButton1Down:connect(function()
  331. game.CoreGui:FindFirstChild("RB World 2").Main.Visible = true
  332. end)
  333.  
  334. Play.MouseButton1Down:connect(function()
  335. local sound = Instance.new("Sound")
  336. local id = game.CoreGui:FindFirstChild("RB World 2").Main.Play.Id.Text
  337. sound.Parent = game.Workspace
  338. sound.SoundId = "rbxassetid://"..id
  339. sound.Volume = 1
  340. wait(1)
  341. sound:Play()
  342. print "played"
  343. end)
  344.  
  345. -- FLY SCRIPT BY RGEENEUS
  346.  
  347. -- The following code should be in a local script.
  348. -- Only works on PC, not xbox or mobile. I do not have devices to test on.
  349. -- Call the start fly function AFTER the character exists to fly. The function does not run if there is no character.
  350.  
  351. local speed = 60 -- This is the fly speed. Change it to whatever you like. The variable can be changed while running
  352.  
  353. local c
  354. local h
  355. local bv
  356. local bav
  357. local cam
  358. local flying
  359. local p = game.Players.LocalPlayer
  360. local buttons = {W = false, S = false, A = false, D = false, Moving = false}
  361.  
  362. local startFly = function () -- Call this function to begin flying
  363. if not p.Character or not p.Character.Head or flying then return end
  364. c = p.Character
  365. h = c.Humanoid
  366. h.PlatformStand = true
  367. cam = workspace:WaitForChild('Camera')
  368. bv = Instance.new("BodyVelocity")
  369. bav = Instance.new("BodyAngularVelocity")
  370. bv.Velocity, bv.MaxForce, bv.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
  371. bav.AngularVelocity, bav.MaxTorque, bav.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
  372. bv.Parent = c.Head
  373. bav.Parent = c.Head
  374. flying = true
  375. h.Died:connect(function() flying = false end)
  376. end
  377.  
  378. local endFly = function () -- Call this function to stop flying
  379. if not p.Character or not flying then return end
  380. h.PlatformStand = false
  381. bv:Destroy()
  382. bav:Destroy()
  383. flying = false
  384. end
  385.  
  386. game:GetService("UserInputService").InputBegan:connect(function (input, GPE)
  387. if GPE then return end
  388. for i, e in pairs(buttons) do
  389. if i ~= "Moving" and input.KeyCode == Enum.KeyCode[i] then
  390. buttons[i] = true
  391. buttons.Moving = true
  392. end
  393. end
  394. end)
  395.  
  396. game:GetService("UserInputService").InputEnded:connect(function (input, GPE)
  397. if GPE then return end
  398. local a = false
  399. for i, e in pairs(buttons) do
  400. if i ~= "Moving" then
  401. if input.KeyCode == Enum.KeyCode[i] then
  402. buttons[i] = false
  403. end
  404. if buttons[i] then a = true end
  405. end
  406. end
  407. buttons.Moving = a
  408. end)
  409.  
  410. local setVec = function (vec)
  411. return vec * (speed / vec.Magnitude)
  412. end
  413.  
  414. game:GetService("RunService").Heartbeat:connect(function (step) -- The actual fly function, called every frame
  415. if flying and c and c.PrimaryPart then
  416. local p = c.PrimaryPart.Position
  417. local cf = cam.CFrame
  418. local ax, ay, az = cf:toEulerAnglesXYZ()
  419. c:SetPrimaryPartCFrame(CFrame.new(p.x, p.y, p.z) * CFrame.Angles(ax, ay, az))
  420. if buttons.Moving then
  421. local t = Vector3.new()
  422. if buttons.W then t = t + (setVec(cf.lookVector)) end
  423. if buttons.S then t = t - (setVec(cf.lookVector)) end
  424. if buttons.A then t = t - (setVec(cf.rightVector)) end
  425. if buttons.D then t = t + (setVec(cf.rightVector)) end
  426. c:TranslateBy(t * step)
  427. end
  428. end
  429. end)
  430.  
  431. function flytogl()
  432. if flytoggle == true then
  433. flytoggle = false
  434. fly.Text = "Fly off"
  435. else
  436. flytoggle = true
  437. fly.Text = "Fly on"
  438. startFly()
  439. repeat
  440. wait(0.001)
  441. until flytoggle == false
  442. endFly()
  443. end
  444. end
  445. fly.MouseButton1Down:connect(flytogl)
  446.  
  447. changeeast.MouseButton1Down:connect(function()
  448. game.ReplicatedStorage.places:FindFirstChild("RB Westlake Park").Value = 591582661
  449. print 'worked';
  450. end)
  451.  
  452. changewest.MouseButton1Down:connect(function()
  453. game.ReplicatedStorage.places:FindFirstChild("RB Eastside Park").Value = 593223204
  454. print 'worked';
  455. end)
  456.  
  457. noclip.MouseButton1Down:connect(function()
  458. game:getService("RunService"):BindToRenderStep("",0,function()
  459. if not game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid") then return end
  460. if game:getService("UserInputService"):IsKeyDown(Enum.KeyCode.L) then
  461. game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid"):ChangeState(11)
  462. end
  463. end)
  464. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement