Advertisement
Guest User

boku no roblox remastered script

a guest
Mar 24th, 2019
18,882
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.37 KB | None | 0 0
  1. -- ROBLOX PAIN IS SMART AS FUCK
  2. -- Version: 2.82
  3. -- Instances:
  4. local THISISBOKU = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local TextLabel = Instance.new("TextLabel")
  7. local TextLabel_2 = Instance.new("TextLabel")
  8. local TextLabel_3 = Instance.new("TextLabel")
  9. local TextLabel_4 = Instance.new("TextLabel")
  10. local noumu = Instance.new("TextButton")
  11. local criminal = Instance.new("TextButton")
  12. local title = Instance.new("TextButton")
  13. local WEAKVILLIAN = Instance.new("TextButton")
  14. local villians = Instance.new("TextButton")
  15. local titile = Instance.new("TextButton")
  16. local Mighty = Instance.new("TextButton")
  17. local tomura = Instance.new("TextButton")
  18. local heroes = Instance.new("TextButton")
  19. local uastudent = Instance.new("TextButton")
  20. local police = Instance.new("TextButton")
  21.  
  22. --Properties:
  23. THISISBOKU.Name = "THIS IS BOKU"
  24. THISISBOKU.Parent = game.CoreGui
  25. THISISBOKU.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  26.  
  27. Frame.Parent = THISISBOKU
  28. Frame.BackgroundColor3 = Color3.new(0.666667, 0.333333, 0)
  29. Frame.BackgroundTransparency = 0.5
  30. Frame.BorderColor3 = Color3.new(0, 0, 0)
  31. Frame.BorderSizePixel = 5
  32. Frame.Position = UDim2.new(0.155122072, 0, 0.364795923, 0)
  33. Frame.Size = UDim2.new(0, 638, 0, 253)
  34. Frame.Active = true
  35. Frame.Draggable = true
  36.  
  37. TextLabel.Parent = Frame
  38. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  39. TextLabel.BackgroundTransparency = 1
  40. TextLabel.Position = UDim2.new(-0.0351663269, 0, -0.0275978632, 0)
  41. TextLabel.Size = UDim2.new(0, 98, 0, 50)
  42. TextLabel.Font = Enum.Font.Fantasy
  43. TextLabel.Text = "R"
  44. TextLabel.TextColor3 = Color3.new(0.666667, 0, 0)
  45. TextLabel.TextSize = 50
  46.  
  47. TextLabel_2.Parent = Frame
  48. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  49. TextLabel_2.BackgroundTransparency = 1
  50. TextLabel_2.Position = UDim2.new(0.0689635575, 0, -0.0275978632, 0)
  51. TextLabel_2.Size = UDim2.new(0, 98, 0, 50)
  52. TextLabel_2.Font = Enum.Font.Fantasy
  53. TextLabel_2.Text = "oblox"
  54. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  55. TextLabel_2.TextSize = 50
  56.  
  57. TextLabel_3.Parent = Frame
  58. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  59. TextLabel_3.BackgroundTransparency = 1
  60. TextLabel_3.Position = UDim2.new(0.857901812, 0, -0.0275978632, 0)
  61. TextLabel_3.Size = UDim2.new(0, 98, 0, 50)
  62. TextLabel_3.Font = Enum.Font.Fantasy
  63. TextLabel_3.Text = "ain"
  64. TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
  65. TextLabel_3.TextSize = 50
  66.  
  67. TextLabel_4.Parent = Frame
  68. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  69. TextLabel_4.BackgroundTransparency = 1
  70. TextLabel_4.Position = UDim2.new(0.784785867, 0, -0.0275978632, 0)
  71. TextLabel_4.Size = UDim2.new(0, 98, 0, 50)
  72. TextLabel_4.Font = Enum.Font.Fantasy
  73. TextLabel_4.Text = "P"
  74. TextLabel_4.TextColor3 = Color3.new(0.666667, 0, 0)
  75. TextLabel_4.TextSize = 50
  76.  
  77. noumu.Name = "noumu"
  78. noumu.Parent = Frame
  79. noumu.BackgroundColor3 = Color3.new(1, 0.666667, 0.498039)
  80. noumu.BorderColor3 = Color3.new(0, 0, 0)
  81. noumu.BorderSizePixel = 5
  82. noumu.Position = UDim2.new(0.0243288707, 0, 0.685212851, 0)
  83. noumu.Size = UDim2.new(0, 171, 0, 27)
  84. noumu.Font = Enum.Font.Fantasy
  85. noumu.Text = "Noumu Farm"
  86. noumu.TextColor3 = Color3.new(0, 0, 0)
  87. noumu.TextSize = 20
  88. noumu.TextStrokeColor3 = Color3.new(0.666667, 0.333333, 0.498039)
  89. noumu.MouseButton1Down:connect(function()
  90. if noumufarming == false then
  91. noumufarming = true
  92. noumu.BackgroundColor3 = Color3.fromRGB(52, 255, 21)
  93. else
  94. noumufarming = false
  95. noumu.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  96. Stepped:Disconnect()
  97. end
  98. if noumufarming then
  99. local runService = game:GetService('RunService')
  100. local Stepped
  101. Farming = true
  102. if Farming then
  103. Stepped = runService.Stepped:Connect(function()
  104. for i,v in pairs(workspace.NPCs:GetChildren()) do
  105. if string.find(v.Name, "Noumu") and v:FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  106. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  107. end
  108. end
  109. end)
  110. end
  111. wait()
  112. for i,v in pairs(workspace:GetChildren()) do
  113. if string.find(v.Name, "Thug") and v: FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  114. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  115. end
  116. end
  117. end
  118. end)
  119.  
  120. criminal.Name = "criminal"
  121. criminal.Parent = Frame
  122. criminal.BackgroundColor3 = Color3.new(1, 0.666667, 0.498039)
  123. criminal.BorderColor3 = Color3.new(0, 0, 0)
  124. criminal.BorderSizePixel = 5
  125. criminal.Position = UDim2.new(0.0243288707, 0, 0.34133935, 0)
  126. criminal.Size = UDim2.new(0, 171, 0, 27)
  127. criminal.Font = Enum.Font.Fantasy
  128. criminal.Text = "Farm Criminal"
  129. criminal.TextColor3 = Color3.new(0, 0, 0)
  130. criminal.TextSize = 20
  131. criminal.TextStrokeColor3 = Color3.new(0.666667, 0.333333, 0.498039)
  132. criminal.MouseButton1Down:connect(function()
  133. if criminalFarming == false then
  134. criminalFarming = true
  135. criminal.BackgroundColor3 = Color3.fromRGB(52, 255, 21)
  136. else
  137. criminalFarming = false
  138. criminal.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  139. Stepped:Disconnect()
  140. end
  141.  
  142. if criminalFarming then
  143. local runService = game:GetService('RunService')
  144. local Stepped
  145. Farming = true
  146.  
  147. if Farming then
  148. Stepped = runService.Stepped:Connect(function()
  149. for i,v in pairs(workspace.NPCs:GetChildren()) do
  150. if string.find(v.Name, "Criminal") and v:FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  151. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  152. end
  153. end
  154. end)
  155. end
  156. wait()
  157. for i,v in pairs(workspace:GetChildren()) do
  158. if string.find(v.Name, "Thug") and v: FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  159. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  160. end
  161. end
  162. end
  163. end)
  164.  
  165. title.Name = "title"
  166. title.Parent = Frame
  167. title.BackgroundColor3 = Color3.new(1, 0.666667, 0.498039)
  168. title.BorderColor3 = Color3.new(0, 0, 0)
  169. title.BorderSizePixel = 5
  170. title.Position = UDim2.new(0.0258962214, 0, 0.171616733, 0)
  171. title.Size = UDim2.new(0, 583, 0, 27)
  172. title.Font = Enum.Font.Fantasy
  173. title.Text = "WEAK NPCs"
  174. title.TextColor3 = Color3.new(0, 0, 0)
  175. title.TextSize = 20
  176. title.TextStrokeColor3 = Color3.new(0.666667, 0.333333, 0.498039)
  177.  
  178. WEAKVILLIAN.Name = "WEAK VILLIAN"
  179. WEAKVILLIAN.Parent = Frame
  180. WEAKVILLIAN.BackgroundColor3 = Color3.new(1, 0.666667, 0.498039)
  181. WEAKVILLIAN.BorderColor3 = Color3.new(0, 0, 0)
  182. WEAKVILLIAN.BorderSizePixel = 5
  183. WEAKVILLIAN.Position = UDim2.new(0.687338233, 0, 0.34133935, 0)
  184. WEAKVILLIAN.Size = UDim2.new(0, 171, 0, 27)
  185. WEAKVILLIAN.Font = Enum.Font.Fantasy
  186. WEAKVILLIAN.Text = "Farm Weak Vililan"
  187. WEAKVILLIAN.TextColor3 = Color3.new(0, 0, 0)
  188. WEAKVILLIAN.TextSize = 20
  189. WEAKVILLIAN.TextStrokeColor3 = Color3.new(0.666667, 0.333333, 0.498039)
  190. WEAKVILLIAN.MouseButton1Down:connect(function()
  191. if weakfarming == false then
  192. weakfarming = true
  193. WEAKVILLIAN.BackgroundColor3 = Color3.fromRGB(52, 255, 21)
  194. else
  195. weakfarming = false
  196. WEAKVILLIAN.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  197. Stepped:Disconnect()
  198. end
  199.  
  200. if weakfarming then
  201. local runService = game:GetService('RunService')
  202. local Stepped
  203. Farming = true
  204.  
  205. if Farming then
  206. Stepped = runService.Stepped:Connect(function()
  207. for i,v in pairs(workspace.NPCs:GetChildren()) do
  208. if string.find(v.Name, "Weak") and v:FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  209. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  210. end
  211. end
  212. end)
  213. end
  214. wait()
  215. for i,v in pairs(workspace:GetChildren()) do
  216. if string.find(v.Name, "Thug") and v: FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  217. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  218. end
  219. end
  220. end
  221. end)
  222.  
  223. villians.Name = "villians"
  224. villians.Parent = Frame
  225. villians.BackgroundColor3 = Color3.new(1, 0.666667, 0.498039)
  226. villians.BorderColor3 = Color3.new(0, 0, 0)
  227. villians.BorderSizePixel = 5
  228. villians.Position = UDim2.new(0.362886876, 0, 0.34133935, 0)
  229. villians.Size = UDim2.new(0, 171, 0, 27)
  230. villians.Font = Enum.Font.Fantasy
  231. villians.Text = "Farm Villians"
  232. villians.TextColor3 = Color3.new(0, 0, 0)
  233. villians.TextSize = 20
  234. villians.TextStrokeColor3 = Color3.new(0.666667, 0.333333, 0.498039)
  235. villians.MouseButton1Down:connect(function()
  236. if villiansfarming == false then
  237. villiansfarming = true
  238. villians.BackgroundColor3 = Color3.fromRGB(52, 255, 21)
  239. else
  240. villiansfarming = false
  241. villians.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  242. Stepped:Disconnect()
  243. end
  244.  
  245. if villiansfarming then
  246. local runService = game:GetService('RunService')
  247. local Stepped
  248. Farming = true
  249.  
  250. if Farming then
  251. Stepped = runService.Stepped:Connect(function()
  252. for i,v in pairs(workspace.NPCs:GetChildren()) do
  253. if string.find(v.Name, "Villain") and v:FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  254. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  255. end
  256. end
  257. end)
  258. end
  259. wait()
  260. for i,v in pairs(workspace:GetChildren()) do
  261. if string.find(v.Name, "Thug") and v: FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  262. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  263. end
  264. end
  265. end
  266. end)
  267.  
  268. titile.Name = "titile"
  269. titile.Parent = Frame
  270. titile.BackgroundColor3 = Color3.new(1, 0.666667, 0.498039)
  271. titile.BorderColor3 = Color3.new(0, 0, 0)
  272. titile.BorderSizePixel = 5
  273. titile.Position = UDim2.new(0.0258962195, 0, 0.514053762, 0)
  274. titile.Size = UDim2.new(0, 583, 0, 27)
  275. titile.Font = Enum.Font.Fantasy
  276. titile.Text = "STRONG NPCs"
  277. titile.TextColor3 = Color3.new(0, 0, 0)
  278. titile.TextSize = 20
  279. titile.TextStrokeColor3 = Color3.new(0.666667, 0.333333, 0.498039)
  280.  
  281. Mighty.Name = "Mighty"
  282. Mighty.Parent = Frame
  283. Mighty.BackgroundColor3 = Color3.new(1, 0.666667, 0.498039)
  284. Mighty.BorderColor3 = Color3.new(0, 0, 0)
  285. Mighty.BorderSizePixel = 5
  286. Mighty.Position = UDim2.new(0.36445424, 0, 0.685212851, 0)
  287. Mighty.Size = UDim2.new(0, 171, 0, 27)
  288. Mighty.Font = Enum.Font.Fantasy
  289. Mighty.Text = "ALL MIGHTY farm"
  290. Mighty.TextColor3 = Color3.new(0, 0, 0)
  291. Mighty.TextSize = 20
  292. Mighty.TextStrokeColor3 = Color3.new(0.666667, 0.333333, 0.498039)
  293. Mighty.MouseButton1Down:connect(function()
  294. if mightyfarming == false then
  295. mightyfarming = true
  296. Mighty.BackgroundColor3 = Color3.fromRGB(52, 255, 21)
  297. else
  298. mightyfarming = false
  299. Mighty.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  300. Stepped:Disconnect()
  301. end
  302. if mightyfarming then
  303. local runService = game:GetService('RunService')
  304. local Stepped
  305. Farming = true
  306.  
  307. if Farming then
  308. Stepped = runService.Stepped:Connect(function()
  309. for i,v in pairs(workspace.NPCs:GetChildren()) do
  310. if string.find(v.Name, "All Might") and v:FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  311. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  312. end
  313. end
  314. end)
  315. end
  316. wait()
  317. for i,v in pairs(workspace:GetChildren()) do
  318. if string.find(v.Name, "Thug") and v: FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  319. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  320. end
  321. end
  322. end
  323. end)
  324.  
  325. tomura.Name = "tomura"
  326. tomura.Parent = Frame
  327. tomura.BackgroundColor3 = Color3.new(1, 0.666667, 0.498039)
  328. tomura.BorderColor3 = Color3.new(0, 0, 0)
  329. tomura.BorderSizePixel = 5
  330. tomura.Position = UDim2.new(0.699877501, 0, 0.685212851, 0)
  331. tomura.Size = UDim2.new(0, 171, 0, 27)
  332. tomura.Font = Enum.Font.Fantasy
  333. tomura.Text = "TOMURA Farm"
  334. tomura.TextColor3 = Color3.new(0, 0, 0)
  335. tomura.TextSize = 20
  336. tomura.TextStrokeColor3 = Color3.new(0.666667, 0.333333, 0.498039)
  337. tomura.MouseButton1Down:connect(function()
  338. if tomurafarming == false then
  339. tomurafarming = true
  340. tomura.BackgroundColor3 = Color3.fromRGB(52, 255, 21)
  341. else
  342. tomurafarming = false
  343. tomura.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  344. Stepped:Disconnect()
  345. end
  346. if tomurafarming then
  347. local runService = game:GetService('RunService')
  348. local Stepped
  349. Farming = true
  350. if Farming then
  351. Stepped = runService.Stepped:Connect(function()
  352. for i,v in pairs(workspace.NPCs:GetChildren()) do
  353. if string.find(v.Name, "Tomura") and v:FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  354. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  355. local VirtualUser=game:service'VirtualUser'
  356. VirtualUser:ClickButton1(Vector2.new())
  357. end
  358. end
  359. end)
  360. end
  361. wait()
  362. for i,v in pairs(workspace:GetChildren()) do
  363. if string.find(v.Name, "Thug") and v: FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  364. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  365. end
  366. end
  367. end
  368. end)
  369.  
  370. heroes.Name = "heroes"
  371. heroes.Parent = Frame
  372. heroes.BackgroundColor3 = Color3.new(1, 0.666667, 0.498039)
  373. heroes.BorderColor3 = Color3.new(0, 0, 0)
  374. heroes.BorderSizePixel = 5
  375. heroes.Position = UDim2.new(0.0227615237, 0, 0.863078475, 0)
  376. heroes.Size = UDim2.new(0, 171, 0, 27)
  377. heroes.Font = Enum.Font.Fantasy
  378. heroes.Text = "Farm Heroes"
  379. heroes.TextColor3 = Color3.new(0, 0, 0)
  380. heroes.TextSize = 20
  381. heroes.TextStrokeColor3 = Color3.new(0.666667, 0.333333, 0.498039)
  382. heroes.MouseButton1Down:connect(function()
  383. if heroesfarming == false then
  384. heroesfarming = true
  385. heroes.BackgroundColor3 = Color3.fromRGB(52, 255, 21)
  386. else
  387. heroesfarming = false
  388. heroes.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  389. Stepped:Disconnect()
  390. end
  391.  
  392. if heroesfarming then
  393. local runService = game:GetService('RunService')
  394. local Stepped
  395. Farming = true
  396.  
  397. if Farming then
  398. Stepped = runService.Stepped:Connect(function()
  399. for i,v in pairs(workspace.NPCs:GetChildren()) do
  400. if string.find(v.Name, "Hero") and v:FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  401. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  402. end
  403. end
  404. end)
  405. end
  406. wait()
  407. for i,v in pairs(workspace:GetChildren()) do
  408. if string.find(v.Name, "Thug") and v: FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  409. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  410. end
  411. end
  412. end
  413. end)
  414.  
  415.  
  416. uastudent.Name = "ua student"
  417. uastudent.Parent = Frame
  418. uastudent.BackgroundColor3 = Color3.new(1, 0.666667, 0.498039)
  419. uastudent.BorderColor3 = Color3.new(0, 0, 0)
  420. uastudent.BorderSizePixel = 5
  421. uastudent.Position = UDim2.new(0.699877501, 0, 0.863078475, 0)
  422. uastudent.Size = UDim2.new(0, 171, 0, 27)
  423. uastudent.Font = Enum.Font.Fantasy
  424. uastudent.Text = "Farm UA Students"
  425. uastudent.TextColor3 = Color3.new(0, 0, 0)
  426. uastudent.TextSize = 20
  427. uastudent.TextStrokeColor3 = Color3.new(0.666667, 0.333333, 0.498039)
  428. uastudent.MouseButton1Down:connect(function()
  429. if uasfarming == false then
  430. uasfarming = true
  431. uastudent.BackgroundColor3 = Color3.fromRGB(52, 255, 21)
  432. else
  433. uasfarming = false
  434. uastudent.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  435. Stepped:Disconnect()
  436. end
  437.  
  438. if uasfarming then
  439. local runService = game:GetService('RunService')
  440. local Stepped
  441. Farming = true
  442.  
  443. if Farming then
  444. Stepped = runService.Stepped:Connect(function()
  445. for i,v in pairs(workspace.NPCs:GetChildren()) do
  446. if string.find(v.Name, "UA") and v:FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  447. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  448. end
  449. end
  450. end)
  451. end
  452. wait()
  453. for i,v in pairs(workspace:GetChildren()) do
  454. if string.find(v.Name, "Thug") and v: FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  455. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  456. end
  457. end
  458. end
  459. end)
  460.  
  461.  
  462. police.Name = "police"
  463. police.Parent = Frame
  464. police.BackgroundColor3 = Color3.new(1, 0.666667, 0.498039)
  465. police.BorderColor3 = Color3.new(0, 0, 0)
  466. police.BorderSizePixel = 5
  467. police.Position = UDim2.new(0.362886906, 0, 0.863078475, 0)
  468. police.Size = UDim2.new(0, 171, 0, 27)
  469. police.Font = Enum.Font.Fantasy
  470. police.Text = "Farm Police"
  471. police.TextColor3 = Color3.new(0, 0, 0)
  472. police.TextSize = 20
  473. police.TextStrokeColor3 = Color3.new(0.666667, 0.333333, 0.498039)
  474. police.MouseButton1Down:connect(function()
  475. if policefarming == false then
  476. policefarming = true
  477. police.BackgroundColor3 = Color3.fromRGB(52, 255, 21)
  478. else
  479. policefarming = false
  480. police.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  481. Stepped:Disconnect()
  482. end
  483.  
  484. if policefarming then
  485. local runService = game:GetService('RunService')
  486. local Stepped
  487. Farming = true
  488.  
  489. if Farming then
  490. Stepped = runService.Stepped:Connect(function()
  491. for i,v in pairs(workspace.NPCs:GetChildren()) do
  492. if string.find(v.Name, "Police") and v:FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  493. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  494. end
  495. end
  496. end)
  497. end
  498. wait()
  499. for i,v in pairs(workspace:GetChildren()) do
  500. if string.find(v.Name, "Thug") and v: FindFirstChild("HumanoidRootPart") and v.Humanoid.Health > 0 then
  501. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame - v.HumanoidRootPart.CFrame.lookVector * 2
  502. end
  503. end
  504. end
  505. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement