Aldoaprilyan423

Auto Farm Ro-ghoul

Feb 18th, 2019
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.62 KB | None | 0 0
  1. game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Remade By Imp3rad0r#2684"})
  2. local rg = Instance.new("ScreenGui")
  3. local fs = Instance.new("Frame")
  4. local buttonf = Instance.new("Frame")
  5. local farmbutton = Instance.new("TextButton")
  6. local questbutton = Instance.new("TextButton")
  7. local speedbutton = Instance.new("TextButton")
  8. local Mobsbutton = Instance.new("TextButton")
  9. local default = Instance.new("Frame")
  10. local user = Instance.new("TextLabel")
  11. local TextLabel = Instance.new("TextLabel")
  12. local TextLabel_2 = Instance.new("TextLabel")
  13. local farmf = Instance.new("Frame")
  14. local farmon = Instance.new("TextButton")
  15. local farmoff = Instance.new("TextButton")
  16. local superspeed = Instance.new("Frame")
  17. local speed = Instance.new("TextButton")
  18. local q = Instance.new("TextButton")
  19. local questf = Instance.new("Frame")
  20. local repfarm = Instance.new("TextButton")
  21. local quesfarm = Instance.new("TextButton")
  22. local mobf = Instance.new("Frame")
  23. local HUMAN = Instance.new("TextButton")
  24. local lowag = Instance.new("TextButton")
  25. local boss = Instance.new("TextButton")
  26. local highaog = Instance.new("TextButton")
  27. local AUTOATTACK = Instance.new("TextButton")
  28.  
  29. rg.Name = "rg"
  30. rg.Parent = game.CoreGui
  31.  
  32. fs.Name = "rg"
  33. fs.Parent = rg
  34. fs.BackgroundColor3 = Color3.new(0.517647, 0.439216, 1)
  35. fs.BorderSizePixel = 0
  36. fs.Position = UDim2.new(0.021, 0,0.348, 0)
  37. fs.Size = UDim2.new(0, 153, 0, 126)
  38. fs.Draggable = true
  39.  
  40. buttonf.Name = "buttonf"
  41. buttonf.Parent = fs
  42. buttonf.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  43. buttonf.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  44. buttonf.Position = UDim2.new(0.0392156877, 0, 0.0476190485, 0)
  45. buttonf.Size = UDim2.new(0, 140, 0, 42)
  46.  
  47. farmbutton.Name = "farmbutton"
  48. farmbutton.Parent = buttonf
  49. farmbutton.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  50. farmbutton.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  51. farmbutton.Position = UDim2.new(0.042857144, 0, 0.142857149, 0)
  52. farmbutton.Size = UDim2.new(0, 58, 0, 13)
  53. farmbutton.Font = Enum.Font.Fantasy
  54. farmbutton.Text = "AUTO-FARM"
  55. farmbutton.TextColor3 = Color3.new(0.996078, 0.996078, 0.996078)
  56. farmbutton.TextSize = 10
  57.  
  58. questbutton.Name = "questbutton"
  59. questbutton.Parent = buttonf
  60. questbutton.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  61. questbutton.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  62. questbutton.Position = UDim2.new(0.54285717, 0, 0.589999974, 0)
  63. questbutton.Size = UDim2.new(0, 58, 0, 13)
  64. questbutton.Font = Enum.Font.Fantasy
  65. questbutton.Text = "QUESTS"
  66. questbutton.TextColor3 = Color3.new(0.996078, 0.996078, 0.996078)
  67. questbutton.TextSize = 10
  68.  
  69. speedbutton.Name = "speedbutton"
  70. speedbutton.Parent = buttonf
  71. speedbutton.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  72. speedbutton.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  73. speedbutton.Position = UDim2.new(0.042857144, 0, 0.589999974, 0)
  74. speedbutton.Size = UDim2.new(0, 58, 0, 13)
  75. speedbutton.Font = Enum.Font.Fantasy
  76. speedbutton.Text = "SPEED"
  77. speedbutton.TextColor3 = Color3.new(0.996078, 0.996078, 0.996078)
  78. speedbutton.TextSize = 10
  79.  
  80. Mobsbutton.Name = "Mobsbutton"
  81. Mobsbutton.Parent = buttonf
  82. Mobsbutton.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  83. Mobsbutton.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  84. Mobsbutton.Position = UDim2.new(0.54285717, 0, 0.142857149, 0)
  85. Mobsbutton.Size = UDim2.new(0, 58, 0, 13)
  86. Mobsbutton.Font = Enum.Font.Fantasy
  87. Mobsbutton.Text = "MANUAL-FARM"
  88. Mobsbutton.TextColor3 = Color3.new(0.996078, 0.996078, 0.996078)
  89. Mobsbutton.TextSize = 10
  90.  
  91. default.Name = "default"
  92. default.Parent = fs
  93. default.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  94. default.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  95. default.Position = UDim2.new(0.0392156877, 0, 0.43650794, 0)
  96. default.Size = UDim2.new(0, 140, 0, 64)
  97.  
  98. user.Name = "user"
  99. user.Parent = default
  100. user.BackgroundColor3 = Color3.new(1, 1, 1)
  101. user.BackgroundTransparency = 1
  102. user.Position = UDim2.new(0.042857144, 0, 0.109375, 0)
  103. user.Size = UDim2.new(0, 128, 0, 14)
  104. user.Font = Enum.Font.Fantasy
  105. user.Text = "Hello, ".. game.Players.LocalPlayer.Name
  106. user.TextColor3 = Color3.new(0, 0.807843, 0.819608)
  107. user.TextSize = 10
  108.  
  109. TextLabel.Parent = default
  110. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  111. TextLabel.BackgroundTransparency = 1
  112. TextLabel.Position = UDim2.new(0.042857144, 0, 0.421875, 0)
  113. TextLabel.Size = UDim2.new(0, 128, 0, 13)
  114. TextLabel.Font = Enum.Font.Fantasy
  115. TextLabel.Text = "KILL THEM ALL!"
  116. TextLabel.TextColor3 = Color3.new(0, 0.807843, 0.819608)
  117. TextLabel.TextSize = 10
  118.  
  119. TextLabel_2.Parent = default
  120. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  121. TextLabel_2.BackgroundTransparency = 1
  122. TextLabel_2.Position = UDim2.new(0.042857144, 0, 0.625, 0)
  123. TextLabel_2.Size = UDim2.new(0, 128, 0, 24)
  124. TextLabel_2.Font = Enum.Font.Fantasy
  125. TextLabel_2.Text = "Remade by Imp3rad0r#2648"
  126. TextLabel_2.TextColor3 = Color3.new(0.117647, 0.564706, 1)
  127. TextLabel_2.TextSize = 10
  128.  
  129. farmf.Name = "farmf"
  130. farmf.Parent = fs
  131. farmf.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  132. farmf.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  133. farmf.Position = UDim2.new(0.0392156877, 0, 0.43650794, 0)
  134. farmf.Size = UDim2.new(0, 140, 0, 64)
  135. farmf.Visible = false
  136.  
  137. farmon.Name = "farmon"
  138. farmon.Parent = farmf
  139. farmon.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  140. farmon.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  141. farmon.Position = UDim2.new(0.107142858, 0, 0.220982075, 0)
  142. farmon.Size = UDim2.new(0, 106, 0, 13)
  143. farmon.Font = Enum.Font.Fantasy
  144. farmon.Text = "GHOULS"
  145. farmon.TextColor3 = Color3.new(0.996078, 0.996078, 0.996078)
  146. farmon.TextSize = 10
  147.  
  148. farmoff.Name = "farmoff"
  149. farmoff.Parent = farmf
  150. farmoff.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  151. farmoff.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  152. farmoff.Position = UDim2.new(0.107142858, 0, 0.595982075, 0)
  153. farmoff.Size = UDim2.new(0, 106, 0, 13)
  154. farmoff.Font = Enum.Font.Fantasy
  155. farmoff.Text = "INVESTIGATORS"
  156. farmoff.TextColor3 = Color3.new(0.996078, 0.996078, 0.996078)
  157. farmoff.TextSize = 10
  158.  
  159. superspeed.Name = "superspeed"
  160. superspeed.Parent = fs
  161. superspeed.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  162. superspeed.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  163. superspeed.Position = UDim2.new(0.0392156877, 0, 0.43650794, 0)
  164. superspeed.Size = UDim2.new(0, 140, 0, 64)
  165. superspeed.Visible = false
  166.  
  167. speed.Name = "speed"
  168. speed.Parent = superspeed
  169. speed.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  170. speed.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  171. speed.Position = UDim2.new(0.107142858, 0, 0.220982075, 0)
  172. speed.Size = UDim2.new(0, 106, 0, 13)
  173. speed.Font = Enum.Font.Fantasy
  174. speed.Text = "INCREASE SPEED"
  175. speed.TextColor3 = Color3.new(0.996078, 0.996078, 0.996078)
  176. speed.TextSize = 10
  177.  
  178. q.Name = "q"
  179. q.Parent = superspeed
  180. q.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  181. q.BorderColor3 = Color3.new(0.0784314, 0, 0)
  182. q.Position = UDim2.new(0.107142858, 0, 0.611607075, 0)
  183. q.Size = UDim2.new(0, 106, 0, 13)
  184. q.Font = Enum.Font.Fantasy
  185. q.Text = "PRESS Q TO SPEED!"
  186. q.TextColor3 = Color3.new(0.996078, 0.996078, 0.996078)
  187. q.TextSize = 10
  188.  
  189. questf.Name = "questf"
  190. questf.Parent = fs
  191. questf.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  192. questf.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  193. questf.Position = UDim2.new(0.0392156877, 0, 0.43650794, 0)
  194. questf.Size = UDim2.new(0, 140, 0, 64)
  195. questf.Visible = false
  196.  
  197. repfarm.Name = "repfarm"
  198. repfarm.Parent = questf
  199. repfarm.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  200. repfarm.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  201. repfarm.Position = UDim2.new(0.107142858, 0, 0.595982075, 0)
  202. repfarm.Size = UDim2.new(0, 106, 0, 13)
  203. repfarm.Font = Enum.Font.Fantasy
  204. repfarm.Text = "AUTO REDEME REP"
  205. repfarm.TextColor3 = Color3.new(0.996078, 0.996078, 0.996078)
  206. repfarm.TextSize = 10
  207.  
  208. quesfarm.Name = "quesfarm"
  209. quesfarm.Parent = questf
  210. quesfarm.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  211. quesfarm.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  212. quesfarm.Position = UDim2.new(0.107142858, 0, 0.220982075, 0)
  213. quesfarm.Size = UDim2.new(0, 106, 0, 13)
  214. quesfarm.Font = Enum.Font.Fantasy
  215. quesfarm.Text = "AUTO GET QUEST"
  216. quesfarm.TextColor3 = Color3.new(0.996078, 0.996078, 0.996078)
  217. quesfarm.TextSize = 10
  218.  
  219. mobf.Name = "mobf"
  220. mobf.Parent = fs
  221. mobf.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  222. mobf.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  223. mobf.Position = UDim2.new(0.0392156877, 0, 0.43650794, 0)
  224. mobf.Size = UDim2.new(0, 140, 0, 64)
  225. mobf.Visible = false
  226.  
  227. HUMAN.Name = "HUMAN"
  228. HUMAN.Parent = mobf
  229. HUMAN.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  230. HUMAN.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  231. HUMAN.Position = UDim2.new(0.042857144, 0, 0.142857075, 0)
  232. HUMAN.Size = UDim2.new(0, 58, 0, 12)
  233. HUMAN.Font = Enum.Font.Fantasy
  234. HUMAN.Text = "HUMANS"
  235. HUMAN.TextColor3 = Color3.new(0.996078, 0.996078, 0.996078)
  236. HUMAN.TextSize = 10
  237.  
  238. lowag.Name = "lowag"
  239. lowag.Parent = mobf
  240. lowag.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  241. lowag.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  242. lowag.Position = UDim2.new(0.54285717, 0, 0.142857075, 0)
  243. lowag.Size = UDim2.new(0, 58, 0, 12)
  244. lowag.Font = Enum.Font.Fantasy
  245. lowag.Text = "LOW/MID AOG."
  246. lowag.TextColor3 = Color3.new(0.996078, 0.996078, 0.996078)
  247. lowag.TextSize = 10
  248.  
  249. boss.Name = "boss"
  250. boss.Parent = mobf
  251. boss.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  252. boss.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  253. boss.Position = UDim2.new(0.042857144, 0, 0.439732075, 0)
  254. boss.Size = UDim2.new(0, 58, 0, 12)
  255. boss.Font = Enum.Font.Fantasy
  256. boss.Text = "BOSS"
  257. boss.TextColor3 = Color3.new(0.996078, 0.996078, 0.996078)
  258. boss.TextSize = 10
  259.  
  260. highaog.Name = "highaog"
  261. highaog.Parent = mobf
  262. highaog.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  263. highaog.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  264. highaog.Position = UDim2.new(0.54285717, 0, 0.439732075, 0)
  265. highaog.Size = UDim2.new(0, 58, 0, 12)
  266. highaog.Font = Enum.Font.Fantasy
  267. highaog.Text = "HIGH AOG."
  268. highaog.TextColor3 = Color3.new(0.996078, 0.996078, 0.996078)
  269. highaog.TextSize = 10
  270.  
  271. AUTOATTACK.Name = "AUTOATTACK"
  272. AUTOATTACK.Parent = mobf
  273. AUTOATTACK.BackgroundColor3 = Color3.new(0.0784314, 0, 0)
  274. AUTOATTACK.BorderColor3 = Color3.new(0.117647, 0.564706, 1)
  275. AUTOATTACK.Position = UDim2.new(0.229000002, 0, 0.745000005, 0)
  276. AUTOATTACK.Size = UDim2.new(0, 75, 0, 12)
  277. AUTOATTACK.Font = Enum.Font.Fantasy
  278. AUTOATTACK.Text = "AUTO ATTACK"
  279. AUTOATTACK.TextColor3 = Color3.new(0.996078, 0.996078, 0.996078)
  280. AUTOATTACK.TextSize = 10
  281.  
  282. farmbutton.MouseButton1Down:connect(function()
  283. if farmf.Visible == false then
  284. farmf.Visible = true
  285. default.Visible = false
  286. mobf.Visible = false
  287. superspeed.Visible = false
  288. questf.Visible = false
  289. else
  290. default.Visible = true
  291. farmf.Visible = false
  292. end
  293. end)
  294.  
  295. questbutton.MouseButton1Down:connect(function()
  296. if questf.Visible == false then
  297. farmf.Visible = false
  298. default.Visible = false
  299. mobf.Visible = false
  300. superspeed.Visible = false
  301. questf.Visible = true
  302. else
  303. default.Visible = true
  304. questf.Visible = false
  305. end
  306. end)
  307.  
  308. speedbutton.MouseButton1Down:connect(function()
  309. if superspeed.Visible == false then
  310. farmf.Visible = false
  311. default.Visible = false
  312. mobf.Visible = false
  313. superspeed.Visible = true
  314. questf.Visible = false
  315. else
  316. default.Visible = true
  317. superspeed.Visible = false
  318. end
  319. end)
  320.  
  321. Mobsbutton.MouseButton1Down:connect(function()
  322. if mobf.Visible == false then
  323. farmf.Visible = false
  324. default.Visible = false
  325. mobf.Visible = true
  326. superspeed.Visible = false
  327. questf.Visible = false
  328. else
  329. default.Visible = true
  330. mobf.Visible = false
  331. end
  332. end)
  333.  
  334. farmon.MouseButton1Down:connect(function()
  335. _G.range = math.huge
  336.  
  337. local lp = game.Players.LocalPlayer
  338. local rs = game:GetService("RunService").RenderStepped
  339. local pfs = game:GetService("PathfindingService")
  340. local closest = math.huge
  341. local enemy = nil
  342.  
  343. function attack(entity)
  344. if entity then
  345. if(lp.Character:FindFirstChild("HumanoidRootPart") and enemy:FindFirstChild("Mask")) then
  346. rs:wait()
  347. local ehrp = enemy:FindFirstChild("HumanoidRootPart")
  348. if ehrp ~= nil and (ehrp.Position-lp.Character.HumanoidRootPart.Position).magnitude > 200 then
  349. local path = pfs:FindPathAsync(lp.Character.HumanoidRootPart.Position, enemy:FindFirstChild("HumanoidRootPart").Position)
  350. local points = path:GetWaypoints()
  351.  
  352. for _,v in pairs(points) do
  353. rs:wait()
  354.  
  355. lp.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  356. end
  357. else
  358. if enemy:FindFirstChild("HumanoidRootPart") ~= nil then
  359. lp.Character.HumanoidRootPart.CFrame = enemy:FindFirstChild("HumanoidRootPart").CFrame * CFrame.new(0,0,4)
  360. end
  361. end
  362. local key = "\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
  363. local remote = game:GetService("Players").LocalPlayer.Character.Remotes.KeyEvent
  364. remote:FireServer(key,"Mouse1","Down",CFrame.new(0,0,0))
  365. local key = "\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
  366. local remote = game:GetService("Players").LocalPlayer.Character.Remotes.KeyEvent
  367. remote:FireServer(key,"E","Down",CFrame.new(0,0,0))
  368. local key = "\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
  369. local remote = game:GetService("Players").LocalPlayer.Character.Remotes.KeyEvent
  370. remote:FireServer(key,"R","Down",CFrame.new(0,0,0))
  371. local key = "\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
  372. local remote = game:GetService("Players").LocalPlayer.Character.Remotes.KeyEvent
  373. remote:FireServer(key,"F","Down",CFrame.new(0,0,0))
  374. local key = "\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
  375. local remote = game:GetService("Players").LocalPlayer.Character.Remotes.KeyEvent
  376. remote:FireServer(key,"C","Down",CFrame.new(0,0,0))
  377. end
  378. end
  379. end
  380.  
  381. while wait() do
  382. wait(1)
  383. for i,v in pairs(game:GetService("Workspace").NPCSpawns:GetChildren()) do
  384. local npc = v:GetChildren()[1]
  385. if(npc and npc:FindFirstChild("Hood") and npc:FindFirstChild("Mask"))then
  386. local mag = (npc:FindFirstChild("HumanoidRootPart").Position-lp.Character.HumanoidRootPart.Position).magnitude
  387. if mag <= _G.range then
  388. closest = mag
  389. enemy = npc
  390. repeat attack(enemy) until not enemy or not enemy:FindFirstChild("Mask")
  391. end
  392. end
  393. end
  394. end
  395. end)
  396.  
  397. farmoff.MouseButton1Down:connect(function()
  398. _G.range = math.huge
  399.  
  400. local lp = game.Players.LocalPlayer
  401. local rs = game:GetService("RunService").RenderStepped
  402. local pfs = game:GetService("PathfindingService")
  403. local closest = math.huge
  404. local enemy = nil
  405.  
  406. wait(1)
  407. function attack(entity)
  408. if entity then
  409. if(lp.Character:FindFirstChild("HumanoidRootPart") and enemy:FindFirstChild("Case")) then
  410. rs:wait()
  411. local ehrp = enemy:FindFirstChild("HumanoidRootPart")
  412. if ehrp ~= nil and (ehrp.Position-lp.Character.HumanoidRootPart.Position).magnitude > 200 then
  413. local path = pfs:FindPathAsync(lp.Character.HumanoidRootPart.Position, enemy:FindFirstChild("HumanoidRootPart").Position)
  414. local points = path:GetWaypoints()
  415.  
  416. for _,v in pairs(points) do
  417. rs:wait()
  418.  
  419. lp.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  420. end
  421. else
  422. if enemy:FindFirstChild("HumanoidRootPart") ~= nil then
  423. lp.Character.HumanoidRootPart.CFrame = enemy:FindFirstChild("HumanoidRootPart").CFrame * CFrame.new(0,0,4)
  424. end
  425. end
  426. local key = "\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
  427. local remote = game:GetService("Players").LocalPlayer.Character.Remotes.KeyEvent
  428. remote:FireServer(key,"Mouse1","Down",CFrame.new(0,0,0))
  429. local key = "\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
  430. local remote = game:GetService("Players").LocalPlayer.Character.Remotes.KeyEvent
  431. remote:FireServer(key,"E","Down",CFrame.new(0,0,0))
  432. local key = "\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
  433. local remote = game:GetService("Players").LocalPlayer.Character.Remotes.KeyEvent
  434. remote:FireServer(key,"R","Down",CFrame.new(0,0,0))
  435. local key = "\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
  436. local remote = game:GetService("Players").LocalPlayer.Character.Remotes.KeyEvent
  437. remote:FireServer(key,"F","Down",CFrame.new(0,0,0))
  438. local key = "\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
  439. local remote = game:GetService("Players").LocalPlayer.Character.Remotes.KeyEvent
  440. remote:FireServer(key,"C","Down",CFrame.new(0,0,0))
  441. end
  442. end
  443. end
  444.  
  445. while wait() do
  446. wait(1)
  447. for i,v in pairs(game:GetService("Workspace").NPCSpawns:GetChildren()) do
  448. local npc = v:GetChildren()[1]
  449. if(npc and npc:FindFirstChild("Case") and npc:FindFirstChild("Case"))then
  450. local mag = (npc:FindFirstChild("HumanoidRootPart").Position-lp.Character.HumanoidRootPart.Position).magnitude
  451. if mag <= _G.range then
  452. closest = mag
  453. enemy = npc
  454. repeat attack(enemy) until not enemy or not enemy:FindFirstChild("Case")
  455. end
  456. end
  457. end
  458. end
  459. end)
  460.  
  461. speed.MouseButton1Down:connect(function()
  462. down = false
  463. velocity = Instance.new("BodyVelocity")
  464. velocity.maxForce = Vector3.new(100000, 0, 100000)
  465. ---vv Use that to change the speed v
  466. local speed = 150
  467. gyro = Instance.new("BodyGyro")
  468. gyro.maxTorque = Vector3.new(100000, 0, 100000)
  469.  
  470. local hum = game.Players.LocalPlayer.Character.Humanoid
  471.  
  472. function onButton1Down(mouse)
  473. down = true
  474. velocity.Parent = game.Players.LocalPlayer.Character.UpperTorso
  475. velocity.velocity = (hum.MoveDirection) * speed
  476. gyro.Parent = game.Players.LocalPlayer.Character.UpperTorso
  477. while down do
  478. if not down then break end
  479. velocity.velocity = (hum.MoveDirection) * speed
  480. local refpos = gyro.Parent.Position + (gyro.Parent.Position - workspace.CurrentCamera.CoordinateFrame.p).unit * 5
  481. gyro.cframe = CFrame.new(gyro.Parent.Position, Vector3.new(refpos.x, gyro.Parent.Position.y, refpos.z))
  482. wait(0.1)
  483. end
  484. end
  485.  
  486. function onButton1Up(mouse)
  487. velocity.Parent = nil
  488. gyro.Parent = nil
  489. down = false
  490. end
  491. --To Change the key in those 2 lines, replace the "q" with your desired key
  492. function onSelected(mouse)
  493. mouse.KeyDown:connect(function(k) if k:lower()=="q"then onButton1Down(mouse)end end)
  494. mouse.KeyUp:connect(function(k) if k:lower()=="q"then onButton1Up(mouse)end end)
  495. end
  496.  
  497. onSelected(game.Players.LocalPlayer:GetMouse())
  498. end)
  499.  
  500. repfarm.MouseButton1Down:connect(function()
  501. local lp = game.Players.LocalPlayer
  502. local rs = game:GetService("RunService").RenderStepped
  503. local pfs = game:GetService("PathfindingService")
  504. local path = pfs:FindPathAsync(lp.Character.HumanoidRootPart.Position, game.Workspace.Anteiku.Yoshimura:FindFirstChild("HumanoidRootPart").Position)
  505. local points = path:GetWaypoints()
  506.  
  507. for _,v in pairs(points) do
  508. rs:wait()
  509.  
  510. lp.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  511. end
  512. wait()
  513. local Event = game:GetService("ReplicatedStorage").Remotes.ReputationCashOut
  514. Event:InvokeServer()
  515. end)
  516.  
  517. quesfarm.MouseButton1Down:connect(function()
  518. local lp = game.Players.LocalPlayer
  519. local rs = game:GetService("RunService").RenderStepped
  520. local pfs = game:GetService("PathfindingService")
  521. local path = pfs:FindPathAsync(lp.Character.HumanoidRootPart.Position, game.Workspace.Anteiku.Yoshimura:FindFirstChild("HumanoidRootPart").Position)
  522. local points = path:GetWaypoints()
  523.  
  524. for _,v in pairs(points) do
  525. rs:wait()
  526.  
  527. lp.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position)
  528. end
  529. wait()
  530. local Event = game:GetService("ReplicatedStorage").Remotes.Yoshimura.Task
  531. Event:InvokeServer()
  532. end)
  533.  
  534. HUMAN.MouseButton1Down:connect(function()
  535. local lp = game.Players.LocalPlayer
  536. local rs = game:GetService("RunService").RenderStepped
  537. local pfs = game:GetService("PathfindingService")
  538. for i,k in pairs(game.Workspace.NPCSpawns["HumanSpawns"]:GetChildren()) do
  539. if k.Name == "Athlete" or "Human" then
  540. local path = pfs:FindPathAsync(lp.Character.HumanoidRootPart.Position, k:FindFirstChild("HumanoidRootPart").Position)
  541. local points = path:GetWaypoints()
  542.  
  543. for _,v in pairs(points) do
  544. rs:wait()
  545. lp.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position) + Vector3.new((-2))
  546. end
  547. end
  548. end
  549. end)
  550.  
  551. AUTOATTACK.MouseButton1Down:connect(function()
  552. while true do
  553. wait(0.001)
  554. local key = "\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
  555. local remote = game:GetService("Players").LocalPlayer.Character.Remotes.KeyEvent
  556. remote:FireServer(key,"Mouse1","Down",CFrame.new(0,0,0))
  557. wait(0.002)
  558. local key = "\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
  559. local remote = game:GetService("Players").LocalPlayer.Character.Remotes.KeyEvent
  560. remote:FireServer(key,"E","Down",CFrame.new(0,0,0))
  561. wait(0.003)
  562. local key = "\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
  563. local remote = game:GetService("Players").LocalPlayer.Character.Remotes.KeyEvent
  564. remote:FireServer(key,"R","Down",CFrame.new(0,0,0))
  565. wait(0.005)
  566. local key = "\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
  567. local remote = game:GetService("Players").LocalPlayer.Character.Remotes.KeyEvent
  568. remote:FireServer(key,"F","Down",CFrame.new(0,0,0))
  569. wait(0.004)
  570. local key = "\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140\240\159\146\166\240\159\146\148\240\159\141\145\240\159\145\140"
  571. local remote = game:GetService("Players").LocalPlayer.Character.Remotes.KeyEvent
  572. remote:FireServer(key,"C","Down",CFrame.new(0,0,0))
  573. wait(0.006)
  574. end
  575. end)
  576.  
  577. lowag.MouseButton1Down:connect(function()
  578. local lp = game.Players.LocalPlayer
  579. local rs = game:GetService("RunService").RenderStepped
  580. local pfs = game:GetService("PathfindingService")
  581. for i,k in pairs(game.Workspace.NPCSpawns["GhoulSpawns"]:GetChildren()) do
  582. if k.Name == "Low Rank Aogiri Member" or "Mid Rank Aogiri Member" then -- Low and Mid
  583. local path = pfs:FindPathAsync(lp.Character.HumanoidRootPart.Position, k:FindFirstChild("HumanoidRootPart").Position)
  584. local points = path:GetWaypoints()
  585.  
  586. for _,v in pairs(points) do
  587. rs:wait()
  588. lp.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position) + Vector3.new((-2))
  589. end
  590. end
  591. end
  592. end)
  593.  
  594. boss.MouseButton1Down:connect(function()
  595. local lp = game.Players.LocalPlayer
  596. local rs = game:GetService("RunService").RenderStepped
  597. local pfs = game:GetService("PathfindingService")
  598. for i,k in pairs(game.Workspace.NPCSpawns["BossSpawns"]:GetChildren()) do
  599. if k.Name == "Eto Yoshimura" then
  600. local path = pfs:FindPathAsync(lp.Character.HumanoidRootPart.Position, k:FindFirstChild("HumanoidRootPart").Position)
  601. local points = path:GetWaypoints()
  602.  
  603. for _,v in pairs(points) do
  604. rs:wait()
  605. lp.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position) + Vector3.new((-2))
  606. end
  607. end
  608. end
  609. end)
  610.  
  611. highaog.MouseButton1Down:connect(function()
  612. local lp = game.Players.LocalPlayer
  613. local rs = game:GetService("RunService").RenderStepped
  614. local pfs = game:GetService("PathfindingService")
  615. for i,k in pairs(game.Workspace.NPCSpawns["AggroSpawns"]:GetChildren()) do
  616. if k.Name == "High Rank Aogiri Member" then
  617. local path = pfs:FindPathAsync(lp.Character.HumanoidRootPart.Position, k:FindFirstChild("HumanoidRootPart").Position)
  618. local points = path:GetWaypoints()
  619.  
  620. for _,v in pairs(points) do
  621. rs:wait()
  622. lp.Character.HumanoidRootPart.CFrame = CFrame.new(v.Position) + Vector3.new((-2))
  623. end
  624. end
  625. end
  626. end)
  627. warn("Bugs? Contact me! Imp3rad0r#2684")
Add Comment
Please, Sign In to add comment