Guest User

BOKU NO ROBLOX SCRIPT

a guest
Mar 24th, 2019
56,509
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local BokunoRobloxGUI = Instance.new("ScreenGui")
  2. local TitleFrm = Instance.new("Frame")
  3. local TitltTxt = Instance.new("TextLabel")
  4. local CloseBtn = Instance.new("TextButton")
  5. local Body = Instance.new("Frame")
  6. local HeroBtn = Instance.new("TextButton")
  7. local WVillBtn = Instance.new("TextButton")
  8. local VillBtn = Instance.new("TextButton")
  9. local NomuBtn = Instance.new("TextButton")
  10. local PolBtn = Instance.new("TextButton")
  11. local CrimBtn = Instance.new("TextButton")
  12. local TomBtn = Instance.new("TextButton")
  13. local UASBtn = Instance.new("TextButton")
  14. local EndBtn = Instance.new("TextButton")
  15. local AllMBtn = Instance.new("TextButton")
  16. local TextLabel = Instance.new("TextLabel")
  17. local StopBtn = Instance.new("TextButton")
  18. --Properties:
  19. BokunoRobloxGUI.Name = "Boku no Roblox GUI"
  20. BokunoRobloxGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  21. BokunoRobloxGUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  22. BokunoRobloxGUI.ResetOnSpawn = false
  23.  
  24. TitleFrm.Name = "TitleFrm"
  25. TitleFrm.Parent = BokunoRobloxGUI
  26. TitleFrm.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  27. TitleFrm.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  28. TitleFrm.BorderSizePixel = 2
  29. TitleFrm.Position = UDim2.new(0, 0, 0.335863382, 50)
  30. TitleFrm.Size = UDim2.new(0, 249, 0, 20)
  31.  
  32. TitltTxt.Name = "TitltTxt"
  33. TitltTxt.Parent = TitleFrm
  34. TitltTxt.BackgroundColor3 = Color3.new(1, 1, 1)
  35. TitltTxt.BackgroundTransparency = 1
  36. TitltTxt.BorderSizePixel = 0
  37. TitltTxt.Size = UDim2.new(0, 228, 0, 20)
  38. TitltTxt.Font = Enum.Font.SourceSansBold
  39. TitltTxt.Text = " BNR:R GUI"
  40. TitltTxt.TextColor3 = Color3.new(1, 1, 1)
  41. TitltTxt.TextSize = 14
  42.  
  43. CloseBtn.Name = "CloseBtn"
  44. CloseBtn.Parent = TitleFrm
  45. CloseBtn.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  46. CloseBtn.BorderSizePixel = 0
  47. CloseBtn.Position = UDim2.new(0.916013539, 2, 0, 0)
  48. CloseBtn.Size = UDim2.new(0, 20, 0, 20)
  49. CloseBtn.Font = Enum.Font.SourceSansItalic
  50. CloseBtn.Text = "X"
  51. CloseBtn.TextColor3 = Color3.new(1, 1, 1)
  52. CloseBtn.TextSize = 14
  53.  
  54. Body.Name = "Body"
  55. Body.Parent = TitleFrm
  56. Body.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  57. Body.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  58. Body.BorderSizePixel = 2
  59. Body.Position = UDim2.new(0, 0, 1, 2)
  60. Body.Size = UDim2.new(0, 249, 0, 181)
  61.  
  62. HeroBtn.Name = "HeroBtn"
  63. HeroBtn.Parent = Body
  64. HeroBtn.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  65. HeroBtn.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  66. HeroBtn.BorderSizePixel = 2
  67. HeroBtn.Position = UDim2.new(0, 5, 0, 61)
  68. HeroBtn.Size = UDim2.new(0, 116, 0, 21)
  69. HeroBtn.Font = Enum.Font.SourceSansItalic
  70. HeroBtn.Text = "HERO"
  71. HeroBtn.TextColor3 = Color3.new(1, 1, 1)
  72. HeroBtn.TextSize = 14
  73.  
  74. WVillBtn.Name = "WVillBtn"
  75. WVillBtn.Parent = Body
  76. WVillBtn.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  77. WVillBtn.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  78. WVillBtn.BorderSizePixel = 2
  79. WVillBtn.Position = UDim2.new(0, 5, 0, 33)
  80. WVillBtn.Size = UDim2.new(0, 116, 0, 21)
  81. WVillBtn.Font = Enum.Font.SourceSansItalic
  82. WVillBtn.Text = "WEAK VILLAIN"
  83. WVillBtn.TextColor3 = Color3.new(1, 1, 1)
  84. WVillBtn.TextSize = 14
  85.  
  86. VillBtn.Name = "VillBtn"
  87. VillBtn.Parent = Body
  88. VillBtn.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  89. VillBtn.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  90. VillBtn.BorderSizePixel = 2
  91. VillBtn.Position = UDim2.new(0, 128, 0, 33)
  92. VillBtn.Size = UDim2.new(0, 116, 0, 21)
  93. VillBtn.Font = Enum.Font.SourceSansItalic
  94. VillBtn.Text = "VILLAIN"
  95. VillBtn.TextColor3 = Color3.new(1, 1, 1)
  96. VillBtn.TextSize = 14
  97.  
  98. NomuBtn.Name = "NomuBtn"
  99. NomuBtn.Parent = Body
  100. NomuBtn.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  101. NomuBtn.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  102. NomuBtn.BorderSizePixel = 2
  103. NomuBtn.Position = UDim2.new(0, 128, 0, 61)
  104. NomuBtn.Size = UDim2.new(0, 116, 0, 21)
  105. NomuBtn.Font = Enum.Font.SourceSansItalic
  106. NomuBtn.Text = "NOUMU"
  107. NomuBtn.TextColor3 = Color3.new(1, 1, 1)
  108. NomuBtn.TextSize = 14
  109.  
  110. PolBtn.Name = "PolBtn"
  111. PolBtn.Parent = Body
  112. PolBtn.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  113. PolBtn.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  114. PolBtn.BorderSizePixel = 2
  115. PolBtn.Position = UDim2.new(0, 5, 0, 5)
  116. PolBtn.Size = UDim2.new(0, 116, 0, 21)
  117. PolBtn.Font = Enum.Font.SourceSansItalic
  118. PolBtn.Text = "POLICE"
  119. PolBtn.TextColor3 = Color3.new(1, 1, 1)
  120. PolBtn.TextSize = 14
  121.  
  122. CrimBtn.Name = "CrimBtn"
  123. CrimBtn.Parent = Body
  124. CrimBtn.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  125. CrimBtn.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  126. CrimBtn.BorderSizePixel = 2
  127. CrimBtn.Position = UDim2.new(0, 128, 0, 5)
  128. CrimBtn.Size = UDim2.new(0, 116, 0, 21)
  129. CrimBtn.Font = Enum.Font.SourceSansItalic
  130. CrimBtn.Text = "CRIMINAL"
  131. CrimBtn.TextColor3 = Color3.new(1, 1, 1)
  132. CrimBtn.TextSize = 14
  133.  
  134. TomBtn.Name = "TomBtn"
  135. TomBtn.Parent = Body
  136. TomBtn.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  137. TomBtn.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  138. TomBtn.BorderSizePixel = 2
  139. TomBtn.Position = UDim2.new(0, 128, 0, 89)
  140. TomBtn.Size = UDim2.new(0, 116, 0, 21)
  141. TomBtn.Font = Enum.Font.SourceSansItalic
  142. TomBtn.Text = "TOMURA"
  143. TomBtn.TextColor3 = Color3.new(1, 1, 1)
  144. TomBtn.TextSize = 14
  145.  
  146. UASBtn.Name = "UASBtn"
  147. UASBtn.Parent = Body
  148. UASBtn.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  149. UASBtn.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  150. UASBtn.BorderSizePixel = 2
  151. UASBtn.Position = UDim2.new(0, 5, 0, 89)
  152. UASBtn.Size = UDim2.new(0, 116, 0, 21)
  153. UASBtn.Font = Enum.Font.SourceSansItalic
  154. UASBtn.Text = "UA STUDENTS"
  155. UASBtn.TextColor3 = Color3.new(1, 1, 1)
  156. UASBtn.TextSize = 14
  157.  
  158. EndBtn.Name = "EndBtn"
  159. EndBtn.Parent = Body
  160. EndBtn.BackgroundColor3 = Color3.new(0.772549, 0, 0)
  161. EndBtn.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  162. EndBtn.BorderSizePixel = 2
  163. EndBtn.Position = UDim2.new(0, 128, 0, 117)
  164. EndBtn.Size = UDim2.new(0, 116, 0, 21)
  165. EndBtn.Font = Enum.Font.SourceSansItalic
  166. EndBtn.Text = "ENDEAVOR"
  167. EndBtn.TextColor3 = Color3.new(0, 0, 0)
  168. EndBtn.TextSize = 14
  169.  
  170. AllMBtn.Name = "AllMBtn"
  171. AllMBtn.Parent = Body
  172. AllMBtn.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0)
  173. AllMBtn.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  174. AllMBtn.BorderSizePixel = 2
  175. AllMBtn.Position = UDim2.new(0, 5, 0, 117)
  176. AllMBtn.Size = UDim2.new(0, 116, 0, 21)
  177. AllMBtn.Font = Enum.Font.SourceSansItalic
  178. AllMBtn.Text = "ALL MIGHT"
  179. AllMBtn.TextColor3 = Color3.new(0, 0, 0)
  180. AllMBtn.TextSize = 14
  181.  
  182. TextLabel.Parent = Body
  183. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  184. TextLabel.BackgroundTransparency = 1
  185. TextLabel.BorderSizePixel = 0
  186. TextLabel.Position = UDim2.new(0, 0, 0.925000012, 1)
  187. TextLabel.Size = UDim2.new(0, 249, 0, 11)
  188. TextLabel.Font = Enum.Font.SourceSans
  189. TextLabel.Text = "CLICK ON A NPC TO START FARMING"
  190. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  191. TextLabel.TextSize = 13
  192.  
  193. StopBtn.Name = "EndBtn"
  194. StopBtn.Parent = TitleFrm
  195. StopBtn.BackgroundColor3 = Color3.new(0.772549, 0, 0)
  196. StopBtn.BorderColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  197. StopBtn.BorderSizePixel = 2
  198. StopBtn.Position = UDim2.new(0, 5, 0, 166)
  199. StopBtn.Size = UDim2.new(0, 239, 0, 21)
  200. StopBtn.Font = Enum.Font.SourceSansSemibold
  201. StopBtn.Text = "STOP FARMING"
  202. StopBtn.TextColor3 = Color3.new(0, 0, 0)
  203. StopBtn.TextSize = 14
  204.  
  205. local plr = game.Players.LocalPlayer
  206. local Quirk = ""
  207. local FarmV = false
  208. local WP = ""
  209. local ANPC = ""
  210.  
  211. local function FindQ()
  212. for i,v in pairs(game.Workspace[game.Players.LocalPlayer.Name]:GetChildren())do
  213. if string.match(v.Name, "Quirk") then
  214. Quirk = v.Name
  215. end
  216. end
  217. for i,v in pairs(game.Players.LocalPlayer.PlayerGui.Menu.Menu.Inventory.Weapons:GetChildren())do
  218. if v:IsA("ImageButton")then
  219. game.ReplicatedStorage.WeaponShop.Equip:FireServer(v.Name)
  220. WP = v.Name
  221. end
  222. end
  223. plr.Character:WaitForChild("Humanoid").Died:Connect(function()
  224. if FarmV then
  225. FarmV = false
  226. wait(7)
  227. FarmV = true
  228. Farm(ANPC)end
  229. end)
  230. end
  231.  
  232. function Farm(npc)
  233. FindQ()
  234. while true do
  235. if FarmV then
  236. for i,v in pairs(game.Workspace.NPCs:GetChildren())do
  237. if v.Name == npc and v.Humanoid.Health > 0 then
  238. while v.Humanoid.Health > 0 do
  239. if not FarmV then break end
  240. if game.Workspace[game.Players.LocalPlayer.Name].Humanoid.Health > 0 then
  241. plr.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame + v.HumanoidRootPart.CFrame.lookVector * -3
  242. game.Workspace[game.Players.LocalPlayer.Name][Quirk].E:FireServer()
  243. game.Workspace[game.Players.LocalPlayer.Name].Main.Swing:FireServer(v.HumanoidRootPart.CFrame)
  244. wait()
  245. else
  246. wait()
  247. end
  248. end
  249. end
  250. end
  251. else
  252. break
  253. end
  254. end
  255. end
  256. CloseBtn.MouseButton1Down:Connect(function()
  257. BokunoRobloxGUI:Destroy()
  258. end)
  259. HeroBtn.MouseButton1Down:Connect(function()
  260. if not FarmV then
  261. FarmV = true
  262. ANPC="Hero"
  263. Farm("Hero")end
  264. end)
  265. WVillBtn.MouseButton1Down:Connect(function()
  266. if not FarmV then
  267. FarmV = true
  268. ANPC="Weak Villain"
  269. Farm("Weak Villain")end
  270. end)
  271. VillBtn.MouseButton1Down:Connect(function()
  272. if not FarmV then
  273. FarmV = true
  274. ANPC="Villain"
  275. Farm("Villain")end
  276. end)
  277. NomuBtn.MouseButton1Down:Connect(function()
  278. if not FarmV then
  279. FarmV = true
  280. ANPC="Noumu"
  281. Farm("Noumu")end
  282. end)
  283. CrimBtn.MouseButton1Down:Connect(function()
  284. if not FarmV then
  285. FarmV = true
  286. ANPC="Criminal"
  287. Farm("Criminal")end
  288. end)
  289. PolBtn.MouseButton1Down:Connect(function()
  290. if not FarmV then
  291. FarmV = true
  292. ANPC="Police"
  293. Farm("Police")end
  294. end)
  295. TomBtn.MouseButton1Down:Connect(function()
  296. if not FarmV then
  297. FarmV = true
  298. Farm("Tomura")
  299. ANPC="Tomura"end
  300. end)
  301. UASBtn.MouseButton1Down:Connect(function()
  302. if not FarmV then
  303. FarmV = true
  304. ANPC="UA Student"
  305. Farm("UA Student")end
  306. end)
  307. EndBtn.MouseButton1Down:Connect(function()
  308. if not FarmV then
  309. FarmV = true
  310. ANPC="Endeavor"
  311. Farm("Endeavor")end
  312. end)
  313. AllMBtn.MouseButton1Down:Connect(function()
  314. if not FarmV then
  315. FarmV = true
  316. ANPC="All Might 1"
  317. Farm("All Might 1")end
  318. end)
  319. StopBtn.MouseButton1Down:Connect(function()
  320. FarmV = false
  321. end)
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×