Advertisement
Upscalefanatic3

Project-Z | Heroes Online Script

Oct 25th, 2018
20,433
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.68 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local BaseGui = Instance.new("Frame")
  3. local BaseGuiImage = Instance.new("ImageLabel")
  4. local ScrollingFrame = Instance.new("ScrollingFrame")
  5. local TextLabel = Instance.new("TextLabel")
  6. local Frame = Instance.new("Frame")
  7. local TextLabel_2 = Instance.new("TextLabel")
  8. local TextLabel_3 = Instance.new("TextLabel")
  9. local TextLabel_4 = Instance.new("TextLabel")
  10. local TextLabel_5 = Instance.new("TextLabel")
  11. local mobsaoe = Instance.new("TextButton")
  12. local playersaoe = Instance.new("TextButton")
  13. local meleeanimations = Instance.new("TextButton")
  14. local swordanimations = Instance.new("TextButton")
  15. local TextLabel_6 = Instance.new("TextLabel")
  16. local Frame_2 = Instance.new("Frame")
  17. local TextLabel_7 = Instance.new("TextLabel")
  18. local aoeranglable = Instance.new("TextLabel")
  19. local aoerangeplus = Instance.new("TextButton")
  20. local aoerangeminus = Instance.new("TextButton")
  21. local TextLabel_8 = Instance.new("TextLabel")
  22. local TextLabel_9 = Instance.new("TextLabel")
  23. local TextLabel_10 = Instance.new("TextLabel")
  24. local TextLabel_11 = Instance.new("TextLabel")
  25. local TextLabel_12 = Instance.new("TextLabel")
  26. local TextLabel_13 = Instance.new("TextLabel")
  27. local autogetmission1 = Instance.new("TextButton")
  28. local autofarmmission3 = Instance.new("TextButton")
  29. local autofarmmission2 = Instance.new("TextButton")
  30. local autofarmmission1 = Instance.new("TextButton")
  31. local autogetmission3 = Instance.new("TextButton")
  32. local autogetmission2 = Instance.new("TextButton")
  33. local TextLabel_14 = Instance.new("TextLabel")
  34. local Frame_3 = Instance.new("Frame")
  35. local TextLabel_15 = Instance.new("TextLabel")
  36. local TextLabel_16 = Instance.new("TextLabel")
  37. local TextLabel_17 = Instance.new("TextLabel")
  38. local TextLabel_18 = Instance.new("TextLabel")
  39. local TextLabel_19 = Instance.new("TextLabel")
  40. local TextLabel_20 = Instance.new("TextLabel")
  41. local vautogetmission1 = Instance.new("TextButton")
  42. local vautofarmmission3 = Instance.new("TextButton")
  43. local vautofarmmission2 = Instance.new("TextButton")
  44. local vautofarmmission1 = Instance.new("TextButton")
  45. local vautogetmission3 = Instance.new("TextButton")
  46. local vautogetmission2 = Instance.new("TextButton")
  47. local Title = Instance.new("TextLabel")
  48. local close = Instance.new("TextButton")
  49. local less = Instance.new("TextButton")
  50. local Explanationbox = Instance.new("TextLabel")
  51. local OpenFrame = Instance.new("Frame")
  52. local ImageButton = Instance.new("ImageButton")
  53. local CreditsFrame = Instance.new("Frame")
  54. local ImageLabel = Instance.new("ImageLabel")
  55. --Properties:
  56. ScreenGui.Parent = game.CoreGui
  57.  
  58. BaseGui.Name = "BaseGui"
  59. BaseGui.Parent = ScreenGui
  60. BaseGui.BackgroundColor3 = Color3.new(1, 1, 1)
  61. BaseGui.BackgroundTransparency = 1
  62. BaseGui.Position = UDim2.new(1.10000002, 0, 0.407000005, 0)
  63. BaseGui.Size = UDim2.new(0.10520833, 0, 0.186732188, 0)
  64. BaseGui.Visible = false
  65.  
  66. BaseGuiImage.Name = "BaseGuiImage"
  67. BaseGuiImage.Parent = BaseGui
  68. BaseGuiImage.BackgroundColor3 = Color3.new(1, 1, 1)
  69. BaseGuiImage.Position = UDim2.new(-0.331683159, 0, -1.15131569, 0)
  70. BaseGuiImage.Size = UDim2.new(1.65841579, 0, 3.29605269, 0)
  71. BaseGuiImage.Image = "rbxassetid://2452786019"
  72.  
  73. ScrollingFrame.Parent = BaseGuiImage
  74. ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  75. ScrollingFrame.BackgroundTransparency = 1
  76. ScrollingFrame.BorderSizePixel = 0
  77. ScrollingFrame.Position = UDim2.new(0, 0, 0.117764473, 0)
  78. ScrollingFrame.Size = UDim2.new(1, 0, 0.764471054, 0)
  79. ScrollingFrame.ScrollBarThickness = 5
  80.  
  81. TextLabel.Parent = ScrollingFrame
  82. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  83. TextLabel.BackgroundTransparency = 1
  84. TextLabel.Position = UDim2.new(0.119402997, 0, -0.00028141588, 0)
  85. TextLabel.Size = UDim2.new(0.75820893, 0, 0.0652741492, 0)
  86. TextLabel.Font = Enum.Font.SciFi
  87. TextLabel.Text = "AoEs and Animations"
  88. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  89. TextLabel.TextSize = 20
  90.  
  91. Frame.Parent = TextLabel
  92. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  93. Frame.Position = UDim2.new(0.05511811, 0, 0.769230723, 0)
  94. Frame.Size = UDim2.new(0.893700778, 0, 0.0307692308, 0)
  95.  
  96. TextLabel_2.Parent = ScrollingFrame
  97. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  98. TextLabel_2.BackgroundTransparency = 1
  99. TextLabel_2.Position = UDim2.new(0.0985074639, 0, 0.0651959628, 0)
  100. TextLabel_2.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  101. TextLabel_2.Font = Enum.Font.SciFi
  102. TextLabel_2.Text = " - Mobs AoE"
  103. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  104. TextLabel_2.TextSize = 18
  105. TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
  106.  
  107. TextLabel_3.Parent = ScrollingFrame
  108. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  109. TextLabel_3.BackgroundTransparency = 1
  110. TextLabel_3.Position = UDim2.new(0.0989999995, 0, 0.0949999988, 0)
  111. TextLabel_3.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  112. TextLabel_3.Font = Enum.Font.SciFi
  113. TextLabel_3.Text = " - Players AoE"
  114. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  115. TextLabel_3.TextSize = 18
  116. TextLabel_3.TextXAlignment = Enum.TextXAlignment.Left
  117.  
  118. TextLabel_4.Parent = ScrollingFrame
  119. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  120. TextLabel_4.BackgroundTransparency = 1
  121. TextLabel_4.Position = UDim2.new(0.0989999995, 0, 0.125, 0)
  122. TextLabel_4.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  123. TextLabel_4.Font = Enum.Font.SciFi
  124. TextLabel_4.Text = " - Melee Animations"
  125. TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
  126. TextLabel_4.TextSize = 18
  127. TextLabel_4.TextXAlignment = Enum.TextXAlignment.Left
  128.  
  129. TextLabel_5.Parent = ScrollingFrame
  130. TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
  131. TextLabel_5.BackgroundTransparency = 1
  132. TextLabel_5.Position = UDim2.new(0.0989999995, 0, 0.155000001, 0)
  133. TextLabel_5.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  134. TextLabel_5.Font = Enum.Font.SciFi
  135. TextLabel_5.Text = " - Sword Animations"
  136. TextLabel_5.TextColor3 = Color3.new(1, 1, 1)
  137. TextLabel_5.TextSize = 18
  138. TextLabel_5.TextXAlignment = Enum.TextXAlignment.Left
  139.  
  140. mobsaoe.Name = "mobsaoe"
  141. mobsaoe.Parent = ScrollingFrame
  142. mobsaoe.BackgroundColor3 = Color3.new(1, 0, 0)
  143. mobsaoe.BorderColor3 = Color3.new(1, 0, 0)
  144. mobsaoe.BorderSizePixel = 0
  145. mobsaoe.Position = UDim2.new(0.776119411, 0, 0.0663842037, 0)
  146. mobsaoe.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  147. mobsaoe.Font = Enum.Font.SourceSansBold
  148. mobsaoe.Text = "I"
  149. mobsaoe.TextColor3 = Color3.new(1, 1, 1)
  150. mobsaoe.TextSize = 20
  151.  
  152. playersaoe.Name = "playersaoe"
  153. playersaoe.Parent = ScrollingFrame
  154. playersaoe.BackgroundColor3 = Color3.new(1, 0, 0)
  155. playersaoe.BorderColor3 = Color3.new(1, 0, 0)
  156. playersaoe.BorderSizePixel = 0
  157. playersaoe.Position = UDim2.new(0.776119411, 0, 0.0963243246, 0)
  158. playersaoe.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  159. playersaoe.Font = Enum.Font.SourceSansBold
  160. playersaoe.Text = "I"
  161. playersaoe.TextColor3 = Color3.new(1, 1, 1)
  162. playersaoe.TextSize = 20
  163.  
  164. meleeanimations.Name = "meleeanimations"
  165. meleeanimations.Parent = ScrollingFrame
  166. meleeanimations.BackgroundColor3 = Color3.new(1, 0, 0)
  167. meleeanimations.BorderColor3 = Color3.new(1, 0, 0)
  168. meleeanimations.BorderSizePixel = 0
  169. meleeanimations.Position = UDim2.new(0.776119411, 0, 0.126264438, 0)
  170. meleeanimations.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  171. meleeanimations.Font = Enum.Font.SourceSansBold
  172. meleeanimations.Text = "I"
  173. meleeanimations.TextColor3 = Color3.new(1, 1, 1)
  174. meleeanimations.TextSize = 20
  175.  
  176. swordanimations.Name = "swordanimations"
  177. swordanimations.Parent = ScrollingFrame
  178. swordanimations.BackgroundColor3 = Color3.new(1, 0, 0)
  179. swordanimations.BorderColor3 = Color3.new(1, 0, 0)
  180. swordanimations.BorderSizePixel = 0
  181. swordanimations.Position = UDim2.new(0.776119411, 0, 0.156204551, 0)
  182. swordanimations.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  183. swordanimations.Font = Enum.Font.SourceSansBold
  184. swordanimations.Text = "I"
  185. swordanimations.TextColor3 = Color3.new(1, 1, 1)
  186. swordanimations.TextSize = 20
  187.  
  188. TextLabel_6.Parent = ScrollingFrame
  189. TextLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
  190. TextLabel_6.BackgroundTransparency = 1
  191. TextLabel_6.Position = UDim2.new(0.119403005, 0, 0.255207598, 0)
  192. TextLabel_6.Size = UDim2.new(0.75820893, 0, 0.0652741492, 0)
  193. TextLabel_6.Font = Enum.Font.SciFi
  194. TextLabel_6.Text = "Hero Missions"
  195. TextLabel_6.TextColor3 = Color3.new(1, 1, 1)
  196. TextLabel_6.TextSize = 20
  197.  
  198. Frame_2.Parent = TextLabel_6
  199. Frame_2.BackgroundColor3 = Color3.new(1, 1, 1)
  200. Frame_2.Position = UDim2.new(0.05511811, 0, 0.769230723, 0)
  201. Frame_2.Size = UDim2.new(0.893700778, 0, 0.0307692308, 0)
  202.  
  203. TextLabel_7.Parent = ScrollingFrame
  204. TextLabel_7.BackgroundColor3 = Color3.new(1, 1, 1)
  205. TextLabel_7.BackgroundTransparency = 1
  206. TextLabel_7.Position = UDim2.new(0.447761208, 0, 0.195934474, 0)
  207. TextLabel_7.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  208. TextLabel_7.Font = Enum.Font.SciFi
  209. TextLabel_7.Text = "AoE Range"
  210. TextLabel_7.TextColor3 = Color3.new(1, 1, 1)
  211. TextLabel_7.TextSize = 18
  212.  
  213. aoeranglable.Name = "aoeranglable"
  214. aoeranglable.Parent = ScrollingFrame
  215. aoeranglable.BackgroundColor3 = Color3.new(1, 1, 1)
  216. aoeranglable.BackgroundTransparency = 1
  217. aoeranglable.Position = UDim2.new(0.447761208, 0, 0.23186262, 0)
  218. aoeranglable.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  219. aoeranglable.Font = Enum.Font.SourceSansBold
  220. aoeranglable.Text = "0"
  221. aoeranglable.TextColor3 = Color3.new(1, 1, 1)
  222. aoeranglable.TextSize = 24
  223.  
  224. aoerangeplus.Name = "aoerangeplus"
  225. aoerangeplus.Parent = ScrollingFrame
  226. aoerangeplus.BackgroundColor3 = Color3.new(1, 0, 0)
  227. aoerangeplus.BackgroundTransparency = 1
  228. aoerangeplus.BorderColor3 = Color3.new(1, 0, 0)
  229. aoerangeplus.BorderSizePixel = 0
  230. aoerangeplus.Position = UDim2.new(0.549253702, 0, 0.231054842, 0)
  231. aoerangeplus.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  232. aoerangeplus.Font = Enum.Font.SourceSansBold
  233. aoerangeplus.Text = "+"
  234. aoerangeplus.TextColor3 = Color3.new(1, 1, 1)
  235. aoerangeplus.TextSize = 20
  236.  
  237. aoerangeminus.Name = "aoerangeminus"
  238. aoerangeminus.Parent = ScrollingFrame
  239. aoerangeminus.BackgroundColor3 = Color3.new(1, 0, 0)
  240. aoerangeminus.BackgroundTransparency = 1
  241. aoerangeminus.BorderColor3 = Color3.new(1, 0, 0)
  242. aoerangeminus.BorderSizePixel = 0
  243. aoerangeminus.Position = UDim2.new(0.346268624, 0, 0.231054842, 0)
  244. aoerangeminus.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  245. aoerangeminus.Font = Enum.Font.SourceSansBold
  246. aoerangeminus.Text = "-"
  247. aoerangeminus.TextColor3 = Color3.new(1, 1, 1)
  248. aoerangeminus.TextSize = 20
  249.  
  250. TextLabel_8.Parent = ScrollingFrame
  251. TextLabel_8.BackgroundColor3 = Color3.new(1, 1, 1)
  252. TextLabel_8.BackgroundTransparency = 1
  253. TextLabel_8.Position = UDim2.new(0.0989999995, 0, 0.351000011, 0)
  254. TextLabel_8.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  255. TextLabel_8.Font = Enum.Font.SciFi
  256. TextLabel_8.Text = " - AutoGet Mission 2"
  257. TextLabel_8.TextColor3 = Color3.new(1, 1, 1)
  258. TextLabel_8.TextSize = 18
  259. TextLabel_8.TextXAlignment = Enum.TextXAlignment.Left
  260.  
  261. TextLabel_9.Parent = ScrollingFrame
  262. TextLabel_9.BackgroundColor3 = Color3.new(1, 1, 1)
  263. TextLabel_9.BackgroundTransparency = 1
  264. TextLabel_9.Position = UDim2.new(0.0985074639, 0, 0.320684969, 0)
  265. TextLabel_9.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  266. TextLabel_9.Font = Enum.Font.SciFi
  267. TextLabel_9.Text = " - AutoGet Mission 1"
  268. TextLabel_9.TextColor3 = Color3.new(1, 1, 1)
  269. TextLabel_9.TextSize = 18
  270. TextLabel_9.TextXAlignment = Enum.TextXAlignment.Left
  271.  
  272. TextLabel_10.Parent = ScrollingFrame
  273. TextLabel_10.BackgroundColor3 = Color3.new(1, 1, 1)
  274. TextLabel_10.BackgroundTransparency = 1
  275. TextLabel_10.Position = UDim2.new(0.0989999995, 0, 0.381000012, 0)
  276. TextLabel_10.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  277. TextLabel_10.Font = Enum.Font.SciFi
  278. TextLabel_10.Text = " - AutoGet Mission 3"
  279. TextLabel_10.TextColor3 = Color3.new(1, 1, 1)
  280. TextLabel_10.TextSize = 18
  281. TextLabel_10.TextXAlignment = Enum.TextXAlignment.Left
  282.  
  283. TextLabel_11.Parent = ScrollingFrame
  284. TextLabel_11.BackgroundColor3 = Color3.new(1, 1, 1)
  285. TextLabel_11.BackgroundTransparency = 1
  286. TextLabel_11.Position = UDim2.new(0.0989999995, 0, 0.411000013, 0)
  287. TextLabel_11.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  288. TextLabel_11.Font = Enum.Font.SciFi
  289. TextLabel_11.Text = " - AutoFarm Mission 1"
  290. TextLabel_11.TextColor3 = Color3.new(1, 1, 1)
  291. TextLabel_11.TextSize = 18
  292. TextLabel_11.TextXAlignment = Enum.TextXAlignment.Left
  293.  
  294. TextLabel_12.Parent = ScrollingFrame
  295. TextLabel_12.BackgroundColor3 = Color3.new(1, 1, 1)
  296. TextLabel_12.BackgroundTransparency = 1
  297. TextLabel_12.Position = UDim2.new(0.0989999995, 0, 0.441000015, 0)
  298. TextLabel_12.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  299. TextLabel_12.Font = Enum.Font.SciFi
  300. TextLabel_12.Text = " - AutoFarm Mission 2"
  301. TextLabel_12.TextColor3 = Color3.new(1, 1, 1)
  302. TextLabel_12.TextSize = 18
  303. TextLabel_12.TextXAlignment = Enum.TextXAlignment.Left
  304.  
  305. TextLabel_13.Parent = ScrollingFrame
  306. TextLabel_13.BackgroundColor3 = Color3.new(1, 1, 1)
  307. TextLabel_13.BackgroundTransparency = 1
  308. TextLabel_13.Position = UDim2.new(0.0989999995, 0, 0.470999986, 0)
  309. TextLabel_13.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  310. TextLabel_13.Font = Enum.Font.SciFi
  311. TextLabel_13.Text = " - AutoFarm Mission 3"
  312. TextLabel_13.TextColor3 = Color3.new(1, 1, 1)
  313. TextLabel_13.TextSize = 18
  314. TextLabel_13.TextXAlignment = Enum.TextXAlignment.Left
  315.  
  316. autogetmission1.Name = "autogetmission1"
  317. autogetmission1.Parent = ScrollingFrame
  318. autogetmission1.BackgroundColor3 = Color3.new(1, 0, 0)
  319. autogetmission1.BorderColor3 = Color3.new(1, 0, 0)
  320. autogetmission1.BorderSizePixel = 0
  321. autogetmission1.Position = UDim2.new(0.776119411, 0, 0.321873218, 0)
  322. autogetmission1.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  323. autogetmission1.Font = Enum.Font.SourceSansBold
  324. autogetmission1.Text = "I"
  325. autogetmission1.TextColor3 = Color3.new(1, 1, 1)
  326. autogetmission1.TextSize = 20
  327.  
  328. autofarmmission3.Name = "autofarmmission3"
  329. autofarmmission3.Parent = ScrollingFrame
  330. autofarmmission3.BackgroundColor3 = Color3.new(1, 0, 0)
  331. autofarmmission3.BorderColor3 = Color3.new(1, 0, 0)
  332. autofarmmission3.BorderSizePixel = 0
  333. autofarmmission3.Position = UDim2.new(0.776119411, 0, 0.47257182, 0)
  334. autofarmmission3.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  335. autofarmmission3.Font = Enum.Font.SourceSansBold
  336. autofarmmission3.Text = "I"
  337. autofarmmission3.TextColor3 = Color3.new(1, 1, 1)
  338. autofarmmission3.TextSize = 20
  339.  
  340. autofarmmission2.Name = "autofarmmission2"
  341. autofarmmission2.Parent = ScrollingFrame
  342. autofarmmission2.BackgroundColor3 = Color3.new(1, 0, 0)
  343. autofarmmission2.BorderColor3 = Color3.new(1, 0, 0)
  344. autofarmmission2.BorderSizePixel = 0
  345. autofarmmission2.Position = UDim2.new(0.776119411, 0, 0.442631692, 0)
  346. autofarmmission2.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  347. autofarmmission2.Font = Enum.Font.SourceSansBold
  348. autofarmmission2.Text = "I"
  349. autofarmmission2.TextColor3 = Color3.new(1, 1, 1)
  350. autofarmmission2.TextSize = 20
  351.  
  352. autofarmmission1.Name = "autofarmmission1"
  353. autofarmmission1.Parent = ScrollingFrame
  354. autofarmmission1.BackgroundColor3 = Color3.new(1, 0, 0)
  355. autofarmmission1.BorderColor3 = Color3.new(1, 0, 0)
  356. autofarmmission1.BorderSizePixel = 0
  357. autofarmmission1.Position = UDim2.new(0.776119411, 0, 0.412691593, 0)
  358. autofarmmission1.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  359. autofarmmission1.Font = Enum.Font.SourceSansBold
  360. autofarmmission1.Text = "I"
  361. autofarmmission1.TextColor3 = Color3.new(1, 1, 1)
  362. autofarmmission1.TextSize = 20
  363.  
  364. autogetmission3.Name = "autogetmission3"
  365. autogetmission3.Parent = ScrollingFrame
  366. autogetmission3.BackgroundColor3 = Color3.new(1, 0, 0)
  367. autogetmission3.BorderColor3 = Color3.new(1, 0, 0)
  368. autogetmission3.BorderSizePixel = 0
  369. autogetmission3.Position = UDim2.new(0.776119411, 0, 0.382751465, 0)
  370. autogetmission3.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  371. autogetmission3.Font = Enum.Font.SourceSansBold
  372. autogetmission3.Text = "I"
  373. autogetmission3.TextColor3 = Color3.new(1, 1, 1)
  374. autogetmission3.TextSize = 20
  375.  
  376. autogetmission2.Name = "autogetmission2"
  377. autogetmission2.Parent = ScrollingFrame
  378. autogetmission2.BackgroundColor3 = Color3.new(1, 0, 0)
  379. autogetmission2.BorderColor3 = Color3.new(1, 0, 0)
  380. autogetmission2.BorderSizePixel = 0
  381. autogetmission2.Position = UDim2.new(0.776119411, 0, 0.352811337, 0)
  382. autogetmission2.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  383. autogetmission2.Font = Enum.Font.SourceSansBold
  384. autogetmission2.Text = "I"
  385. autogetmission2.TextColor3 = Color3.new(1, 1, 1)
  386. autogetmission2.TextSize = 20
  387.  
  388. TextLabel_14.Parent = ScrollingFrame
  389. TextLabel_14.BackgroundColor3 = Color3.new(1, 1, 1)
  390. TextLabel_14.BackgroundTransparency = 1
  391. TextLabel_14.Position = UDim2.new(0.119403005, 0, 0.500716567, 0)
  392. TextLabel_14.Size = UDim2.new(0.75820893, 0, 0.0652741492, 0)
  393. TextLabel_14.Font = Enum.Font.SciFi
  394. TextLabel_14.Text = "Villan Missions"
  395. TextLabel_14.TextColor3 = Color3.new(1, 1, 1)
  396. TextLabel_14.TextSize = 20
  397.  
  398. Frame_3.Parent = TextLabel_14
  399. Frame_3.BackgroundColor3 = Color3.new(1, 1, 1)
  400. Frame_3.Position = UDim2.new(0.05511811, 0, 0.769230723, 0)
  401. Frame_3.Size = UDim2.new(0.893700778, 0, 0.0307692308, 0)
  402.  
  403. TextLabel_15.Parent = ScrollingFrame
  404. TextLabel_15.BackgroundColor3 = Color3.new(1, 1, 1)
  405. TextLabel_15.BackgroundTransparency = 1
  406. TextLabel_15.Position = UDim2.new(0.0989999995, 0, 0.565810382, 0)
  407. TextLabel_15.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  408. TextLabel_15.Font = Enum.Font.SciFi
  409. TextLabel_15.Text = " - AutoGet Mission 1"
  410. TextLabel_15.TextColor3 = Color3.new(1, 1, 1)
  411. TextLabel_15.TextSize = 18
  412. TextLabel_15.TextXAlignment = Enum.TextXAlignment.Left
  413.  
  414. TextLabel_16.Parent = ScrollingFrame
  415. TextLabel_16.BackgroundColor3 = Color3.new(1, 1, 1)
  416. TextLabel_16.BackgroundTransparency = 1
  417. TextLabel_16.Position = UDim2.new(0.0989999995, 0, 0.596000016, 0)
  418. TextLabel_16.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  419. TextLabel_16.Font = Enum.Font.SciFi
  420. TextLabel_16.Text = " - AutoGet Mission 2"
  421. TextLabel_16.TextColor3 = Color3.new(1, 1, 1)
  422. TextLabel_16.TextSize = 18
  423. TextLabel_16.TextXAlignment = Enum.TextXAlignment.Left
  424.  
  425. TextLabel_17.Parent = ScrollingFrame
  426. TextLabel_17.BackgroundColor3 = Color3.new(1, 1, 1)
  427. TextLabel_17.BackgroundTransparency = 1
  428. TextLabel_17.Position = UDim2.new(0.0989999995, 0, 0.625999987, 0)
  429. TextLabel_17.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  430. TextLabel_17.Font = Enum.Font.SciFi
  431. TextLabel_17.Text = " - AutoGet Mission 3"
  432. TextLabel_17.TextColor3 = Color3.new(1, 1, 1)
  433. TextLabel_17.TextSize = 18
  434. TextLabel_17.TextXAlignment = Enum.TextXAlignment.Left
  435.  
  436. TextLabel_18.Parent = ScrollingFrame
  437. TextLabel_18.BackgroundColor3 = Color3.new(1, 1, 1)
  438. TextLabel_18.BackgroundTransparency = 1
  439. TextLabel_18.Position = UDim2.new(0.0989999995, 0, 0.656000018, 0)
  440. TextLabel_18.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  441. TextLabel_18.Font = Enum.Font.SciFi
  442. TextLabel_18.Text = " - AutoFarm Mission 1"
  443. TextLabel_18.TextColor3 = Color3.new(1, 1, 1)
  444. TextLabel_18.TextSize = 18
  445. TextLabel_18.TextXAlignment = Enum.TextXAlignment.Left
  446.  
  447. TextLabel_19.Parent = ScrollingFrame
  448. TextLabel_19.BackgroundColor3 = Color3.new(1, 1, 1)
  449. TextLabel_19.BackgroundTransparency = 1
  450. TextLabel_19.Position = UDim2.new(0.0989999995, 0, 0.68599999, 0)
  451. TextLabel_19.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  452. TextLabel_19.Font = Enum.Font.SciFi
  453. TextLabel_19.Text = " - AutoFarm Mission 2"
  454. TextLabel_19.TextColor3 = Color3.new(1, 1, 1)
  455. TextLabel_19.TextSize = 18
  456. TextLabel_19.TextXAlignment = Enum.TextXAlignment.Left
  457.  
  458. TextLabel_20.Parent = ScrollingFrame
  459. TextLabel_20.BackgroundColor3 = Color3.new(1, 1, 1)
  460. TextLabel_20.BackgroundTransparency = 1
  461. TextLabel_20.Position = UDim2.new(0.0989999995, 0, 0.716000021, 0)
  462. TextLabel_20.Size = UDim2.new(0.101492539, 0, 0.0234986953, 0)
  463. TextLabel_20.Font = Enum.Font.SciFi
  464. TextLabel_20.Text = " - AutoFarm Mission 3"
  465. TextLabel_20.TextColor3 = Color3.new(1, 1, 1)
  466. TextLabel_20.TextSize = 18
  467. TextLabel_20.TextXAlignment = Enum.TextXAlignment.Left
  468.  
  469. vautogetmission1.Name = "vautogetmission1"
  470. vautogetmission1.Parent = ScrollingFrame
  471. vautogetmission1.BackgroundColor3 = Color3.new(1, 0, 0)
  472. vautogetmission1.BorderColor3 = Color3.new(1, 0, 0)
  473. vautogetmission1.BorderSizePixel = 0
  474. vautogetmission1.Position = UDim2.new(0.776119411, 0, 0.567382216, 0)
  475. vautogetmission1.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  476. vautogetmission1.Font = Enum.Font.SourceSansBold
  477. vautogetmission1.Text = "I"
  478. vautogetmission1.TextColor3 = Color3.new(1, 1, 1)
  479. vautogetmission1.TextSize = 20
  480.  
  481. vautofarmmission3.Name = "vautofarmmission3"
  482. vautofarmmission3.Parent = ScrollingFrame
  483. vautofarmmission3.BackgroundColor3 = Color3.new(1, 0, 0)
  484. vautofarmmission3.BorderColor3 = Color3.new(1, 0, 0)
  485. vautofarmmission3.BorderSizePixel = 0
  486. vautofarmmission3.Position = UDim2.new(0.776119411, 0, 0.717082798, 0)
  487. vautofarmmission3.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  488. vautofarmmission3.Font = Enum.Font.SourceSansBold
  489. vautofarmmission3.Text = "I"
  490. vautofarmmission3.TextColor3 = Color3.new(1, 1, 1)
  491. vautofarmmission3.TextSize = 20
  492.  
  493. vautofarmmission2.Name = "vautofarmmission2"
  494. vautofarmmission2.Parent = ScrollingFrame
  495. vautofarmmission2.BackgroundColor3 = Color3.new(1, 0, 0)
  496. vautofarmmission2.BorderColor3 = Color3.new(1, 0, 0)
  497. vautofarmmission2.BorderSizePixel = 0
  498. vautofarmmission2.Position = UDim2.new(0.776119411, 0, 0.68714267, 0)
  499. vautofarmmission2.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  500. vautofarmmission2.Font = Enum.Font.SourceSansBold
  501. vautofarmmission2.Text = "I"
  502. vautofarmmission2.TextColor3 = Color3.new(1, 1, 1)
  503. vautofarmmission2.TextSize = 20
  504.  
  505. vautofarmmission1.Name = "vautofarmmission1"
  506. vautofarmmission1.Parent = ScrollingFrame
  507. vautofarmmission1.BackgroundColor3 = Color3.new(1, 0, 0)
  508. vautofarmmission1.BorderColor3 = Color3.new(1, 0, 0)
  509. vautofarmmission1.BorderSizePixel = 0
  510. vautofarmmission1.Position = UDim2.new(0.776119411, 0, 0.657202601, 0)
  511. vautofarmmission1.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  512. vautofarmmission1.Font = Enum.Font.SourceSansBold
  513. vautofarmmission1.Text = "I"
  514. vautofarmmission1.TextColor3 = Color3.new(1, 1, 1)
  515. vautofarmmission1.TextSize = 20
  516.  
  517. vautogetmission3.Name = "vautogetmission3"
  518. vautogetmission3.Parent = ScrollingFrame
  519. vautogetmission3.BackgroundColor3 = Color3.new(1, 0, 0)
  520. vautogetmission3.BorderColor3 = Color3.new(1, 0, 0)
  521. vautogetmission3.BorderSizePixel = 0
  522. vautogetmission3.Position = UDim2.new(0.776119411, 0, 0.627262473, 0)
  523. vautogetmission3.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  524. vautogetmission3.Font = Enum.Font.SourceSansBold
  525. vautogetmission3.Text = "I"
  526. vautogetmission3.TextColor3 = Color3.new(1, 1, 1)
  527. vautogetmission3.TextSize = 20
  528.  
  529. vautogetmission2.Name = "vautogetmission2"
  530. vautogetmission2.Parent = ScrollingFrame
  531. vautogetmission2.BackgroundColor3 = Color3.new(1, 0, 0)
  532. vautogetmission2.BorderColor3 = Color3.new(1, 0, 0)
  533. vautogetmission2.BorderSizePixel = 0
  534. vautogetmission2.Position = UDim2.new(0.776119411, 0, 0.597322345, 0)
  535. vautogetmission2.Size = UDim2.new(0.100000001, 0, 0.0199999996, 0)
  536. vautogetmission2.Font = Enum.Font.SourceSansBold
  537. vautogetmission2.Text = "I"
  538. vautogetmission2.TextColor3 = Color3.new(1, 1, 1)
  539. vautogetmission2.TextSize = 20
  540.  
  541. Title.Name = "Title"
  542. Title.Parent = BaseGuiImage
  543. Title.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  544. Title.BorderSizePixel = 0
  545. Title.Size = UDim2.new(1, 0, 0.118000001, 0)
  546. Title.Font = Enum.Font.SciFi
  547. Title.Text = "Project-Z"
  548. Title.TextColor3 = Color3.new(1, 1, 1)
  549. Title.TextSize = 35
  550. Title.TextStrokeColor3 = Color3.new(1, 1, 1)
  551. Title.TextWrapped = true
  552.  
  553. close.Name = "close"
  554. close.Parent = Title
  555. close.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  556. close.BackgroundTransparency = 1
  557. close.BorderSizePixel = 0
  558. close.Position = UDim2.new(0.919402897, 0, 0, 0)
  559. close.Size = UDim2.new(0.0805970132, 0, 0.440677971, 0)
  560. close.Font = Enum.Font.SourceSansBold
  561. close.Text = "X"
  562. close.TextColor3 = Color3.new(1, 1, 1)
  563. close.TextSize = 22
  564. close.TextWrapped = true
  565.  
  566. less.Name = "less"
  567. less.Parent = Title
  568. less.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  569. less.BackgroundTransparency = 1
  570. less.BorderSizePixel = 0
  571. less.Position = UDim2.new(0.838805914, 0, 0, 0)
  572. less.Size = UDim2.new(0.0805970132, 0, 0.440677971, 0)
  573. less.Font = Enum.Font.SourceSansBold
  574. less.Text = "-"
  575. less.TextColor3 = Color3.new(1, 1, 1)
  576. less.TextSize = 32
  577. less.TextWrapped = true
  578. less.TextYAlignment = Enum.TextYAlignment.Bottom
  579.  
  580. Explanationbox.Name = "Explanationbox"
  581. Explanationbox.Parent = BaseGuiImage
  582. Explanationbox.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  583. Explanationbox.BorderSizePixel = 0
  584. Explanationbox.Position = UDim2.new(0, 0, 0.882235527, 0)
  585. Explanationbox.Size = UDim2.new(1, 0, 0.117764473, 0)
  586. Explanationbox.Font = Enum.Font.SciFi
  587. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  588. Explanationbox.TextColor3 = Color3.new(1, 1, 1)
  589. Explanationbox.TextSize = 13
  590. Explanationbox.TextStrokeColor3 = Color3.new(1, 1, 1)
  591. Explanationbox.TextWrapped = true
  592.  
  593. OpenFrame.Name = "Open Frame"
  594. OpenFrame.Parent = ScreenGui
  595. OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  596. OpenFrame.BackgroundTransparency = 1
  597. OpenFrame.Position = UDim2.new(0.449999988, 0, 1.10000002, 0)
  598. OpenFrame.Size = UDim2.new(0.100000001, 0, 0.100000001, 0)
  599. OpenFrame.Visible = false
  600.  
  601. ImageButton.Parent = OpenFrame
  602. ImageButton.BackgroundColor3 = Color3.new(1, 1, 1)
  603. ImageButton.BackgroundTransparency = 1
  604. ImageButton.Position = UDim2.new(-0.0833333358, 0, -0.061728403, 0)
  605. ImageButton.Size = UDim2.new(1.16666663, 0, 1.54320991, 0)
  606. ImageButton.Image = "rbxassetid://2455885781"
  607.  
  608. CreditsFrame.Name = "CreditsFrame"
  609. CreditsFrame.Parent = ScreenGui
  610. CreditsFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  611. CreditsFrame.BackgroundTransparency = 1
  612. CreditsFrame.Position = UDim2.new(0.442999989, 0, 1.20000005, 0)
  613. CreditsFrame.Size = UDim2.new(0.114062503, 0, 0.160933658, 0)
  614.  
  615. ImageLabel.Parent = CreditsFrame
  616. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  617. ImageLabel.BackgroundTransparency = 1
  618. ImageLabel.Position = UDim2.new(-1.14155257, 0, -1.8625952, 0)
  619. ImageLabel.Size = UDim2.new(3.2785387, 0, 5.54198456, 0)
  620. ImageLabel.Image = "rbxassetid://2405263600"
  621. -- Scripts:
  622. spawn(function()
  623. CreditsFrame:TweenPosition(UDim2.new(0.443,0,0.419,0), "Out", "Quad", 1)
  624. wait(5)
  625. CreditsFrame:TweenPosition(UDim2.new(0.443,0,-0.3,0), "Out", "Quad", 1)
  626. wait(1)
  627. OpenFrame.Visible = true
  628. CreditsFrame.Visible = false
  629. OpenFrame:TweenPosition(UDim2.new(0.45,0,0.75,0), "Out", "Quad", 1)
  630. end)
  631.  
  632. ImageButton.MouseButton1Click:Connect(function()
  633. spawn(function()
  634. local sound = Instance.new("Sound")
  635. sound.Parent = game.Workspace
  636. sound.SoundId = "rbxassetid://903267862"
  637. sound:Play()
  638. wait(0.3)
  639. sound:Destroy()
  640. end)
  641. spawn(function()
  642. OpenFrame:TweenPosition(UDim2.new(0.45,0,1.2,0), "Out", "Quad", 1)
  643. wait(1)
  644. BaseGui.Visible = true
  645. OpenFrame.Visible = false
  646. BaseGui:TweenPosition(UDim2.new(0.86,0,0.407,0), "Out", "Quad", 1)
  647. end)
  648. end)
  649.  
  650. close.MouseButton1Click:Connect(function()
  651. spawn(function()
  652. local sound = Instance.new("Sound")
  653. sound.Parent = game.Workspace
  654. sound.SoundId = "rbxassetid://903267862"
  655. sound:Play()
  656. wait(0.3)
  657. sound:Destroy()
  658. end)
  659. spawn(function()
  660. BaseGui:TweenPosition(UDim2.new(1.1,0,0.407,0), "Out", "Quad", 1)
  661. wait(1)
  662. BaseGui.Visible = false
  663. end)
  664. spawn(function()
  665. manim = false
  666. sanim = false
  667. maoe = false
  668. paoe = false
  669. agm1 = false
  670. agm2 = false
  671. agm3 = false
  672. vagm1 = false
  673. vagm2 = false
  674. vagm3 = false
  675. afm1 = false
  676. afm2 = false
  677. afm3 = false
  678. vafm1 = false
  679. vafm2 = false
  680. vafm3 = false
  681. end)
  682. end)
  683.  
  684. less.MouseButton1Click:Connect(function()
  685. spawn(function()
  686. local sound = Instance.new("Sound")
  687. sound.Parent = game.Workspace
  688. sound.SoundId = "rbxassetid://903267862"
  689. sound:Play()
  690. wait(0.3)
  691. sound:Destroy()
  692. end)
  693. spawn(function()
  694. BaseGui:TweenPosition(UDim2.new(1.1,0,0.407,0), "Out", "Quad", 1)
  695. wait(1)
  696. OpenFrame.Visible = true
  697. BaseGui.Visible = false
  698. OpenFrame:TweenPosition(UDim2.new(0.45,0,0.75,0), "Out", "Quad", 1)
  699. end)
  700. end)
  701. mobsaoe.MouseEnter:Connect(function()
  702. Explanationbox.Text = "Attacks mobs in the defined radius."
  703. end)
  704. mobsaoe.MouseLeave:Connect(function()
  705. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  706. end)
  707. playersaoe.MouseEnter:Connect(function()
  708. Explanationbox.Text = "Attacks players in the defined radius."
  709. end)
  710. playersaoe.MouseLeave:Connect(function()
  711. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  712. end)
  713. meleeanimations.MouseEnter:Connect(function()
  714. Explanationbox.Text = "Plays Punching animations (used to make autofarming more legit looking)."
  715. end)
  716. meleeanimations.MouseLeave:Connect(function()
  717. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  718. end)
  719. swordanimations.MouseEnter:Connect(function()
  720. Explanationbox.Text = "Plays Sword attacking animations (used to make autofarming more legit looking)."
  721. end)
  722. swordanimations.MouseLeave:Connect(function()
  723. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  724. end)
  725. autogetmission1.MouseEnter:Connect(function()
  726. Explanationbox.Text = "Gets the first hero quest agin after u finish it (might not appear on the gui but if you press f9 you will see it working)."
  727. end)
  728. autogetmission1.MouseLeave:Connect(function()
  729. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  730. end)
  731. autogetmission2.MouseEnter:Connect(function()
  732. Explanationbox.Text = "Gets the second hero quest agin after u finish it (might not appear on the gui but if you press f9 you will see it working)."
  733. end)
  734. autogetmission2.MouseLeave:Connect(function()
  735. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  736. end)
  737. autogetmission3.MouseEnter:Connect(function()
  738. Explanationbox.Text = "Gets the third hero quest agin after u finish it (might not appear on the gui but if you press f9 you will see it working)."
  739. end)
  740. autogetmission3.MouseLeave:Connect(function()
  741. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  742. end)
  743. vautogetmission1.MouseEnter:Connect(function()
  744. Explanationbox.Text = "Gets the first villan quest agin after u finish it (might not appear on the gui but if you press f9 you will see it working)."
  745. end)
  746. vautogetmission1.MouseLeave:Connect(function()
  747. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  748. end)
  749. vautogetmission2.MouseEnter:Connect(function()
  750. Explanationbox.Text = "Gets the second villan quest agin after u finish it (might not appear on the gui but if you press f9 you will see it working)."
  751. end)
  752. vautogetmission2.MouseLeave:Connect(function()
  753. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  754. end)
  755. vautogetmission3.MouseEnter:Connect(function()
  756. Explanationbox.Text = "Gets the third villan quest agin after u finish it (might not appear on the gui but if you press f9 you will see it working)."
  757. end)
  758. vautogetmission3.MouseLeave:Connect(function()
  759. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  760. end)
  761. autofarmmission1.MouseEnter:Connect(function()
  762. Explanationbox.Text = "AutoFarms the first hero quest (should be used with melee/sword animations for it to look more legit)."
  763. end)
  764. autofarmmission1.MouseLeave:Connect(function()
  765. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  766. end)
  767. autofarmmission2.MouseEnter:Connect(function()
  768. Explanationbox.Text = "AutoFarms the second hero quest (should be used with melee/sword animations for it to look more legit)."
  769. end)
  770. autofarmmission2.MouseLeave:Connect(function()
  771. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  772. end)
  773. autofarmmission3.MouseEnter:Connect(function()
  774. Explanationbox.Text = "AutoFarms the third hero quest (should be used with melee/sword animations for it to look more legit)."
  775. end)
  776. autofarmmission3.MouseLeave:Connect(function()
  777. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  778. end)
  779. vautofarmmission1.MouseEnter:Connect(function()
  780. Explanationbox.Text = "AutoFarms the first villan quest (should be used with melee/sword animations for it to look more legit)."
  781. end)
  782. vautofarmmission1.MouseLeave:Connect(function()
  783. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  784. end)
  785. vautofarmmission2.MouseEnter:Connect(function()
  786. Explanationbox.Text = "AutoFarms the second villan quest (should be used with melee/sword animations for it to look more legit)."
  787. end)
  788. vautofarmmission2.MouseLeave:Connect(function()
  789. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  790. end)
  791. vautofarmmission3.MouseEnter:Connect(function()
  792. Explanationbox.Text = "AutoFarms the third villan quest (should be used with melee/sword animations for it to look more legit)."
  793. end)
  794. vautofarmmission3.MouseLeave:Connect(function()
  795. Explanationbox.Text = "By zBoltZz and DjAndrePT"
  796. end)
  797. arange = 0
  798. aoerangeplus.MouseButton1Click:Connect(function()
  799. spawn(function()
  800. local sound = Instance.new("Sound")
  801. sound.Parent = game.Workspace
  802. sound.SoundId = "rbxassetid://903267862"
  803. sound:Play()
  804. wait(0.3)
  805. sound:Destroy()
  806. end)
  807. spawn(function()
  808. if arange < 25 then
  809. arange = arange + 1
  810. aoeranglable.Text = tostring(arange)
  811. end
  812. end)
  813. end)
  814. aoerangeminus.MouseButton1Click:Connect(function()
  815. spawn(function()
  816. local sound = Instance.new("Sound")
  817. sound.Parent = game.Workspace
  818. sound.SoundId = "rbxassetid://903267862"
  819. sound:Play()
  820. wait(0.3)
  821. sound:Destroy()
  822. end)
  823. spawn(function()
  824. if arange > 0 then
  825. arange = arange - 1
  826. aoeranglable.Text = tostring(arange)
  827. end
  828. end)
  829. end)
  830. maoe = false
  831. maoen = 1
  832. mobsaoe.MouseButton1Click:Connect(function()
  833. spawn(function()
  834. local sound = Instance.new("Sound")
  835. sound.Parent = game.Workspace
  836. sound.SoundId = "rbxassetid://903267862"
  837. sound:Play()
  838. wait(0.3)
  839. sound:Destroy()
  840. end)
  841. spawn(function()
  842. if maoen == 1 then
  843. mobsaoe.Text = "O"
  844. mobsaoe.BackgroundColor3 = Color3.new(85/255,1,0)
  845. maoen = 2
  846. maoe = true
  847. elseif maoen == 2 then
  848. mobsaoe.Text = "I"
  849. mobsaoe.BackgroundColor3 = Color3.new(1,0,0)
  850. maoen = 1
  851. maoe = false
  852. end
  853. end)
  854. spawn(function()
  855. wait()
  856. while maoe == true do
  857. wait()
  858. for i,v in pairs(game.Workspace:GetChildren()) do
  859. if v:FindFirstChild("NPCscript") and (v.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude <= arange and v.Humanoid.JumpPower > 0 then
  860. local A_1 = "Melee"
  861. local A_2 = v.Name
  862. local A_3 = 3
  863. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  864. Event:FireServer(A_1, A_2, A_3)
  865. end
  866. end
  867. end
  868. end)
  869. end)
  870. paoe = false
  871. paoen = 1
  872. playersaoe.MouseButton1Click:Connect(function()
  873. spawn(function()
  874. local sound = Instance.new("Sound")
  875. sound.Parent = game.Workspace
  876. sound.SoundId = "rbxassetid://903267862"
  877. sound:Play()
  878. wait(0.3)
  879. sound:Destroy()
  880. end)
  881. spawn(function()
  882. if paoen == 1 then
  883. playersaoe.Text = "O"
  884. playersaoe.BackgroundColor3 = Color3.new(85/255,1,0)
  885. paoen = 2
  886. paoe = true
  887. elseif paoen == 2 then
  888. playersaoe.Text = "I"
  889. playersaoe.BackgroundColor3 = Color3.new(1,0,0)
  890. paoen = 1
  891. paoe = false
  892. end
  893. end)
  894. spawn(function()
  895. while paoe == true do
  896. wait()
  897. for i,v in pairs(game.Workspace:GetChildren()) do
  898. if v.ClassName == "Model" and game.Players:FindFirstChild(v.Name) and (v.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude <= arange and v.Name ~= game.Players.LocalPlayer.Name then
  899. local A_1 = "Melee"
  900. local A_2 = v.Name
  901. local A_3 = 3
  902. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  903. Event:FireServer(A_1, A_2, A_3)
  904. end
  905. end
  906. end
  907. end)
  908. end)
  909. manim = false
  910. manimn = 1
  911. meleeanimations.MouseButton1Click:Connect(function()
  912. spawn(function()
  913. local sound = Instance.new("Sound")
  914. sound.Parent = game.Workspace
  915. sound.SoundId = "rbxassetid://903267862"
  916. sound:Play()
  917. wait(0.3)
  918. sound:Destroy()
  919. end)
  920. spawn(function()
  921. if manimn == 1 then
  922. meleeanimations.Text = "O"
  923. meleeanimations.BackgroundColor3 = Color3.new(85/255,1,0)
  924. manimn = 2
  925. manim = true
  926. elseif manimn == 2 then
  927. meleeanimations.Text = "I"
  928. meleeanimations.BackgroundColor3 = Color3.new(1,0,0)
  929. manimn = 1
  930. manim = false
  931. end
  932. end)
  933. spawn(function()
  934. pcall(function()
  935. local anim1 = Instance.new("Animation")
  936. anim1.AnimationId = "rbxassetid://2068136551"
  937. local anim2 = Instance.new("Animation")
  938. anim2.AnimationId = "rbxassetid://2067712676"
  939. local anim3 = Instance.new("Animation")
  940. anim3.AnimationId = "rbxassetid://2067757294"
  941. local anim4 = Instance.new("Animation")
  942. anim4.AnimationId = "rbxassetid://2067803076"
  943. while manim == true do
  944. local r4 = math.random(1,4)
  945. wait(1)
  946. if r4 == 1 then
  947. local PlayedAnim = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(anim1)
  948. PlayedAnim.Priority = Enum.AnimationPriority.Action
  949. PlayedAnim:Play()
  950. elseif r4 == 2 then
  951. local PlayedAnim = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(anim2)
  952. PlayedAnim.Priority = Enum.AnimationPriority.Action
  953. PlayedAnim:Play()
  954. elseif r4 == 3 then
  955. local PlayedAnim = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(anim3)
  956. PlayedAnim.Priority = Enum.AnimationPriority.Action
  957. PlayedAnim:Play()
  958. elseif r4 == 4 then
  959. local PlayedAnim = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(anim4)
  960. PlayedAnim.Priority = Enum.AnimationPriority.Action
  961. PlayedAnim:Play()
  962. end
  963. end
  964. end)
  965. end)
  966. end)
  967.  
  968. sanim = false
  969. sanimn = 1
  970. swordanimations.MouseButton1Click:Connect(function()
  971. spawn(function()
  972. local sound = Instance.new("Sound")
  973. sound.Parent = game.Workspace
  974. sound.SoundId = "rbxassetid://903267862"
  975. sound:Play()
  976. wait(0.3)
  977. sound:Destroy()
  978. end)
  979. spawn(function()
  980. if sanimn == 1 then
  981. swordanimations.Text = "O"
  982. swordanimations.BackgroundColor3 = Color3.new(85/255,1,0)
  983. sanimn = 2
  984. sanim = true
  985. elseif sanimn == 2 then
  986. swordanimations.Text = "I"
  987. swordanimations.BackgroundColor3 = Color3.new(1,0,0)
  988. sanimn = 1
  989. sanim = false
  990. end
  991. end)
  992. spawn(function()
  993. pcall(function()
  994. local sanim1 = Instance.new("Animation")
  995. sanim1.AnimationId = "rbxassetid://2256438958"
  996. local sanim2 = Instance.new("Animation")
  997. sanim2.AnimationId = "rbxassetid://2256829607"
  998. local sanim3 = Instance.new("Animation")
  999. sanim3.AnimationId = "rbxassetid://2273334753"
  1000. while sanim == true do
  1001. local r3 = math.random(1,3)
  1002. wait(0.3)
  1003. if r3 == 1 then
  1004. local PlayedAnim2 = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(sanim1)
  1005. PlayedAnim2.Priority = Enum.AnimationPriority.Action
  1006. PlayedAnim2:Play()
  1007. if r3 == 2 then
  1008. local PlayedAnim2 = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(sanim2)
  1009. PlayedAnim2.Priority = Enum.AnimationPriority.Action
  1010. PlayedAnim2:Play()
  1011. if r3 == 3 then
  1012. local PlayedAnim2 = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(sanim3)
  1013. PlayedAnim2.Priority = Enum.AnimationPriority.Action
  1014. PlayedAnim2:Play()
  1015. end
  1016. end
  1017. end
  1018. end
  1019. end)
  1020. end)
  1021. end)
  1022.  
  1023.  
  1024.  
  1025. vagm1 = false
  1026. vagm1n = 1
  1027. vautogetmission1.MouseButton1Click:Connect(function()
  1028. spawn(function()
  1029. local sound = Instance.new("Sound")
  1030. sound.Parent = game.Workspace
  1031. sound.SoundId = "rbxassetid://903267862"
  1032. sound:Play()
  1033. wait(0.3)
  1034. sound:Destroy()
  1035. end)
  1036. spawn(function()
  1037. if vagm1n == 1 then
  1038. vautogetmission1.Text = "O"
  1039. vautogetmission1.BackgroundColor3 = Color3.new(85/255,1,0)
  1040. vagm1n = 2
  1041. vagm1 = true
  1042. elseif vagm1n == 2 then
  1043. vautogetmission1.Text = "I"
  1044. vautogetmission1.BackgroundColor3 = Color3.new(1,0,0)
  1045. vagm1n = 1
  1046. vagm1 = false
  1047. end
  1048. end)
  1049. spawn(function()
  1050. local A_1 = "InitiateQuest"
  1051. local A_2 = "99"
  1052. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1053. Event:FireServer(A_1, A_2)
  1054. while vagm1 == true do
  1055. wait()
  1056. if game.Players.LocalPlayer.Quest.KilledAmount.Value == "0" then
  1057. local A_1 = "InitiateQuest"
  1058. local A_2 = "99"
  1059. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1060. Event:FireServer(A_1, A_2)
  1061. wait(1)
  1062. end
  1063. end
  1064. end)
  1065. end)
  1066.  
  1067. vagm2 = false
  1068. vagm2n = 1
  1069. vautogetmission2.MouseButton1Click:Connect(function()
  1070. spawn(function()
  1071. local sound = Instance.new("Sound")
  1072. sound.Parent = game.Workspace
  1073. sound.SoundId = "rbxassetid://903267862"
  1074. sound:Play()
  1075. wait(0.3)
  1076. sound:Destroy()
  1077. end)
  1078. spawn(function()
  1079. if vagm2n == 1 then
  1080. vautogetmission2.Text = "O"
  1081. vautogetmission2.BackgroundColor3 = Color3.new(85/255,1,0)
  1082. vagm2n = 2
  1083. vagm2 = true
  1084. elseif vagm2n == 2 then
  1085. vautogetmission2.Text = "I"
  1086. vautogetmission2.BackgroundColor3 = Color3.new(1,0,0)
  1087. vagm2n = 1
  1088. vagm2 = false
  1089. end
  1090. end)
  1091. spawn(function()
  1092. local A_1 = "InitiateQuest"
  1093. local A_2 = "98"
  1094. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1095. Event:FireServer(A_1, A_2)
  1096. while vagm2 == true do
  1097. wait()
  1098. if game.Players.LocalPlayer.Quest.KilledAmount.Value == "0" then
  1099. local A_1 = "InitiateQuest"
  1100. local A_2 = "98"
  1101. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1102. Event:FireServer(A_1, A_2)
  1103. wait(1)
  1104. end
  1105. end
  1106. end)
  1107. end)
  1108.  
  1109. vagm3 = false
  1110. vagm3n = 1
  1111. vautogetmission3.MouseButton1Click:Connect(function()
  1112. spawn(function()
  1113. local sound = Instance.new("Sound")
  1114. sound.Parent = game.Workspace
  1115. sound.SoundId = "rbxassetid://903267862"
  1116. sound:Play()
  1117. wait(0.3)
  1118. sound:Destroy()
  1119. end)
  1120. spawn(function()
  1121. if vagm3n == 1 then
  1122. vautogetmission3.Text = "O"
  1123. vautogetmission3.BackgroundColor3 = Color3.new(85/255,1,0)
  1124. vagm3n = 2
  1125. vagm3 = true
  1126. elseif vagm3n == 2 then
  1127. vautogetmission3.Text = "I"
  1128. vautogetmission3.BackgroundColor3 = Color3.new(1,0,0)
  1129. vagm3n = 1
  1130. vagm3 = false
  1131. end
  1132. end)
  1133. spawn(function()
  1134. local A_1 = "InitiateQuest"
  1135. local A_2 = "97"
  1136. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1137. Event:FireServer(A_1, A_2)
  1138. while vagm3 == true do
  1139. wait()
  1140. if game.Players.LocalPlayer.Quest.KilledAmount.Value == "0" then
  1141. local A_1 = "InitiateQuest"
  1142. local A_2 = "97"
  1143. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1144. Event:FireServer(A_1, A_2)
  1145. wait(1)
  1146. end
  1147. end
  1148. end)
  1149. end)
  1150.  
  1151. agm1 = false
  1152. agm1n = 1
  1153. autogetmission1.MouseButton1Click:Connect(function()
  1154. spawn(function()
  1155. local sound = Instance.new("Sound")
  1156. sound.Parent = game.Workspace
  1157. sound.SoundId = "rbxassetid://903267862"
  1158. sound:Play()
  1159. wait(0.3)
  1160. sound:Destroy()
  1161. end)
  1162. spawn(function()
  1163. if agm1n == 1 then
  1164. autogetmission1.Text = "O"
  1165. autogetmission1.BackgroundColor3 = Color3.new(85/255,1,0)
  1166. agm1n = 2
  1167. agm1 = true
  1168. elseif agm1n == 2 then
  1169. autogetmission1.Text = "I"
  1170. autogetmission1.BackgroundColor3 = Color3.new(1,0,0)
  1171. agm1n = 1
  1172. agm1 = false
  1173. end
  1174. end)
  1175. spawn(function()
  1176. local A_1 = "InitiateQuest"
  1177. local A_2 = "1"
  1178. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1179. Event:FireServer(A_1, A_2)
  1180. while agm1 == true do
  1181. wait()
  1182. if game.Players.LocalPlayer.Quest.KilledAmount.Value == "0" then
  1183. local A_1 = "InitiateQuest"
  1184. local A_2 = "1"
  1185. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1186. Event:FireServer(A_1, A_2)
  1187. wait(1)
  1188. end
  1189. end
  1190. end)
  1191. end)
  1192.  
  1193. agm2 = false
  1194. agm2n = 1
  1195. autogetmission2.MouseButton1Click:Connect(function()
  1196. spawn(function()
  1197. local sound = Instance.new("Sound")
  1198. sound.Parent = game.Workspace
  1199. sound.SoundId = "rbxassetid://903267862"
  1200. sound:Play()
  1201. wait(0.3)
  1202. sound:Destroy()
  1203. end)
  1204. spawn(function()
  1205. if agm2n == 1 then
  1206. autogetmission2.Text = "O"
  1207. autogetmission2.BackgroundColor3 = Color3.new(85/255,1,0)
  1208. agm2n = 2
  1209. agm2 = true
  1210. elseif agm2n == 2 then
  1211. autogetmission2.Text = "I"
  1212. autogetmission2.BackgroundColor3 = Color3.new(1,0,0)
  1213. agm2n = 1
  1214. agm2 = false
  1215. end
  1216. end)
  1217. spawn(function()
  1218. local A_1 = "InitiateQuest"
  1219. local A_2 = "2"
  1220. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1221. Event:FireServer(A_1, A_2)
  1222. while agm2 == true do
  1223. wait()
  1224. if game.Players.LocalPlayer.Quest.KilledAmount.Value == "0" then
  1225. local A_1 = "InitiateQuest"
  1226. local A_2 = "2"
  1227. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1228. Event:FireServer(A_1, A_2)
  1229. wait(1)
  1230. end
  1231. end
  1232. end)
  1233. end)
  1234.  
  1235. agm3 = false
  1236. agm3n = 1
  1237. autogetmission3.MouseButton1Click:Connect(function()
  1238. spawn(function()
  1239. local sound = Instance.new("Sound")
  1240. sound.Parent = game.Workspace
  1241. sound.SoundId = "rbxassetid://903267862"
  1242. sound:Play()
  1243. wait(0.3)
  1244. sound:Destroy()
  1245. end)
  1246. spawn(function()
  1247. if agm3n == 1 then
  1248. autogetmission3.Text = "O"
  1249. autogetmission3.BackgroundColor3 = Color3.new(85/255,1,0)
  1250. agm3n = 2
  1251. agm3 = true
  1252. elseif agm3n == 2 then
  1253. autogetmission3.Text = "I"
  1254. autogetmission3.BackgroundColor3 = Color3.new(1,0,0)
  1255. agm3n = 1
  1256. agm3 = false
  1257. end
  1258. end)
  1259. spawn(function()
  1260. local A_1 = "InitiateQuest"
  1261. local A_2 = "3"
  1262. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1263. Event:FireServer(A_1, A_2)
  1264. while agm3 == true do
  1265. wait()
  1266. if game.Players.LocalPlayer.Quest.KilledAmount.Value == "0" then
  1267. local A_1 = "InitiateQuest"
  1268. local A_2 = "3"
  1269. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1270. Event:FireServer(A_1, A_2)
  1271. wait(1)
  1272. end
  1273. end
  1274. end)
  1275. end)
  1276.  
  1277. afm1 = false
  1278. afm1n = 1
  1279. autofarmmission1.MouseButton1Click:Connect(function()
  1280. spawn(function()
  1281. local sound = Instance.new("Sound")
  1282. sound.Parent = game.Workspace
  1283. sound.SoundId = "rbxassetid://903267862"
  1284. sound:Play()
  1285. wait(0.3)
  1286. sound:Destroy()
  1287. end)
  1288. spawn(function()
  1289. if afm1n == 1 then
  1290. autofarmmission1.Text = "O"
  1291. autofarmmission1.BackgroundColor3 = Color3.new(85/255,1,0)
  1292. afm1n = 2
  1293. afm1 = true
  1294. elseif afm1n == 2 then
  1295. autofarmmission1.Text = "I"
  1296. autofarmmission1.BackgroundColor3 = Color3.new(1,0,0)
  1297. afm1n = 1
  1298. afm1 = false
  1299. end
  1300. end)
  1301. spawn(function()
  1302. if afm1 == true then
  1303. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2917, 58, 626)
  1304. end
  1305. end)
  1306. spawn(function()
  1307. local radius = 15
  1308. while afm1 == true do
  1309. wait()
  1310. for i,v in pairs(game.Workspace:GetChildren()) do
  1311. if v:FindFirstChild("NPCscript") and (v.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude <= radius and v.Humanoid.JumpPower > 0 then
  1312. local A_1 = "Melee"
  1313. local A_2 = v.Name
  1314. local A_3 = 3
  1315. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1316. Event:FireServer(A_1, A_2, A_3)
  1317. end
  1318. end
  1319. end
  1320. end)
  1321. spawn(function()
  1322. while afm1 == true do
  1323. wait()
  1324. pcall(function()
  1325. for i,v in pairs(game.Workspace:GetChildren()) do
  1326. if v:FindFirstChild("NPCscript") and v.Humanoid.JumpPower > 0 and v.Settings.Names.Value == "UAStudent" then
  1327. while v.Humanoid.JumpPower > 0 and afm1 == true do
  1328. wait()
  1329. local path = game:GetService("PathfindingService"):FindPathAsync(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, v.HumanoidRootPart.Position + Vector3.new(0,0,4))
  1330. local waypoints = path:GetWaypoints()
  1331. for i,v in pairs(waypoints) do
  1332. if afm1 == true then
  1333. game.Players.LocalPlayer.Character.Humanoid:MoveTo(v.Position)
  1334. game.Players.LocalPlayer.Character.Humanoid.MoveToFinished:Wait()
  1335. end
  1336. end
  1337. end
  1338. end
  1339. end
  1340. end)
  1341. end
  1342. end)
  1343. spawn(function()
  1344. local A_1 = "InitiateQuest"
  1345. local A_2 = "1"
  1346. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1347. Event:FireServer(A_1, A_2)
  1348. while afm1 == true do
  1349. wait()
  1350. if game.Players.LocalPlayer.Quest.KilledAmount.Value == "0" or game.Players.LocalPlayer.Quest.KilledAmount.Value == nil or game.Players.LocalPlayer.Quest.KilledAmount.Value == "" then
  1351. local A_1 = "InitiateQuest"
  1352. local A_2 = "1"
  1353. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1354. Event:FireServer(A_1, A_2)
  1355. print("Started")
  1356. wait(1)
  1357. end
  1358. end
  1359. end)
  1360. spawn (function()
  1361. wait(1)
  1362. local root = game.Players.LocalPlayer.Character.HumanoidRootPart
  1363. root:GetPropertyChangedSignal("Position"):Connect(function()
  1364. if afm1 == true then
  1365. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2917, 58, 626)
  1366. end
  1367. end)
  1368. end)
  1369. end)
  1370.  
  1371. afm2 = false
  1372. afm2n = 1
  1373. autofarmmission2.MouseButton1Click:Connect(function()
  1374. spawn(function()
  1375. local sound = Instance.new("Sound")
  1376. sound.Parent = game.Workspace
  1377. sound.SoundId = "rbxassetid://903267862"
  1378. sound:Play()
  1379. wait(0.3)
  1380. sound:Destroy()
  1381. end)
  1382. spawn(function()
  1383. if afm2n == 1 then
  1384. autofarmmission2.Text = "O"
  1385. autofarmmission2.BackgroundColor3 = Color3.new(85/255,1,0)
  1386. afm2n = 2
  1387. afm2 = true
  1388. elseif afm2n == 2 then
  1389. autofarmmission2.Text = "I"
  1390. autofarmmission2.BackgroundColor3 = Color3.new(1,0,0)
  1391. afm2n = 1
  1392. afm2 = false
  1393. end
  1394. end)
  1395. spawn(function()
  1396. if afm2 == true then
  1397. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2709, 58, 583)
  1398. end
  1399. end)
  1400. spawn(function()
  1401. local radius = 15
  1402. while afm2 == true do
  1403. wait()
  1404. for i,v in pairs(game.Workspace:GetChildren()) do
  1405. if v:FindFirstChild("NPCscript") and (v.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude <= radius and v.Humanoid.JumpPower > 0 then
  1406. local A_1 = "Melee"
  1407. local A_2 = v.Name
  1408. local A_3 = 3
  1409. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1410. Event:FireServer(A_1, A_2, A_3)
  1411. end
  1412. end
  1413. end
  1414. end)
  1415. spawn(function()
  1416. while afm2 == true do
  1417. wait()
  1418. pcall(function()
  1419. for i,v in pairs(game.Workspace:GetChildren()) do
  1420. if v:FindFirstChild("NPCscript") and v.Humanoid.JumpPower > 0 and v.Settings.Names.Value == "Hooligan" then
  1421. while v.Humanoid.JumpPower > 0 and afm2 == true do
  1422. wait()
  1423. local path = game:GetService("PathfindingService"):FindPathAsync(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, v.HumanoidRootPart.Position + Vector3.new(0,0,4))
  1424. local waypoints = path:GetWaypoints()
  1425. for i,v in pairs(waypoints) do
  1426. if afm2 == true then
  1427. game.Players.LocalPlayer.Character.Humanoid:MoveTo(v.Position)
  1428. game.Players.LocalPlayer.Character.Humanoid.MoveToFinished:Wait()
  1429. end
  1430. end
  1431. end
  1432. end
  1433. end
  1434. end)
  1435. end
  1436. end)
  1437. spawn(function()
  1438. local A_1 = "InitiateQuest"
  1439. local A_2 = "2"
  1440. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1441. Event:FireServer(A_1, A_2)
  1442. while afm2 == true do
  1443. wait()
  1444. if game.Players.LocalPlayer.Quest.KilledAmount.Value == "0" or game.Players.LocalPlayer.Quest.KilledAmount.Value == nil or game.Players.LocalPlayer.Quest.KilledAmount.Value == "" then
  1445. local A_1 = "InitiateQuest"
  1446. local A_2 = "2"
  1447. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1448. Event:FireServer(A_1, A_2)
  1449. print("Started")
  1450. wait(1)
  1451. end
  1452. end
  1453. end)
  1454. spawn (function()
  1455. wait(1)
  1456. local root = game.Players.LocalPlayer.Character.HumanoidRootPart
  1457. root:GetPropertyChangedSignal("Position"):Connect(function()
  1458. if afm2 == true then
  1459. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2709, 58, 583)
  1460. end
  1461. end)
  1462. end)
  1463. end)
  1464.  
  1465. afm3 = false
  1466. afm3n = 1
  1467. autofarmmission3.MouseButton1Click:Connect(function()
  1468. spawn(function()
  1469. local sound = Instance.new("Sound")
  1470. sound.Parent = game.Workspace
  1471. sound.SoundId = "rbxassetid://903267862"
  1472. sound:Play()
  1473. wait(0.3)
  1474. sound:Destroy()
  1475. end)
  1476. spawn(function()
  1477. if afm3n == 1 then
  1478. autofarmmission3.Text = "O"
  1479. autofarmmission3.BackgroundColor3 = Color3.new(85/255,1,0)
  1480. afm3n = 2
  1481. afm3 = true
  1482. elseif afm3n == 2 then
  1483. autofarmmission3.Text = "I"
  1484. autofarmmission3.BackgroundColor3 = Color3.new(1,0,0)
  1485. afm3n = 1
  1486. afm3 = false
  1487. end
  1488. end)
  1489. spawn(function()
  1490. if afm3 == true then
  1491. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2956, 58, 405)
  1492. end
  1493. end)
  1494. spawn(function()
  1495. local radius = 15
  1496. while afm3 == true do
  1497. wait()
  1498. for i,v in pairs(game.Workspace:GetChildren()) do
  1499. if v:FindFirstChild("NPCscript") and (v.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude <= radius and v.Humanoid.JumpPower > 0 then
  1500. local A_1 = "Melee"
  1501. local A_2 = v.Name
  1502. local A_3 = 3
  1503. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1504. Event:FireServer(A_1, A_2, A_3)
  1505. end
  1506. end
  1507. end
  1508. end)
  1509. spawn(function()
  1510. while afm3 == true do
  1511. wait()
  1512. pcall(function()
  1513. for i,v in pairs(game.Workspace:GetChildren()) do
  1514. if v:FindFirstChild("NPCscript") and v.Humanoid.JumpPower > 0 and v.Settings.Names.Value == "Thug" then
  1515. while v.Humanoid.JumpPower > 0 and afm3 == true do
  1516. wait()
  1517. local path = game:GetService("PathfindingService"):FindPathAsync(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, v.HumanoidRootPart.Position + Vector3.new(0,0,4))
  1518. local waypoints = path:GetWaypoints()
  1519. for i,v in pairs(waypoints) do
  1520. if afm3 == true then
  1521. game.Players.LocalPlayer.Character.Humanoid:MoveTo(v.Position)
  1522. game.Players.LocalPlayer.Character.Humanoid.MoveToFinished:Wait()
  1523. end
  1524. end
  1525. end
  1526. end
  1527. end
  1528. end)
  1529. end
  1530. end)
  1531. spawn(function()
  1532. local A_1 = "InitiateQuest"
  1533. local A_2 = "3"
  1534. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1535. Event:FireServer(A_1, A_2)
  1536. while afm3 == true do
  1537. wait()
  1538. if game.Players.LocalPlayer.Quest.KilledAmount.Value == "0" or game.Players.LocalPlayer.Quest.KilledAmount.Value == nil or game.Players.LocalPlayer.Quest.KilledAmount.Value == "" then
  1539. local A_1 = "InitiateQuest"
  1540. local A_2 = "3"
  1541. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1542. Event:FireServer(A_1, A_2)
  1543. print("Started")
  1544. wait(1)
  1545. end
  1546. end
  1547. end)
  1548. spawn (function()
  1549. wait(1)
  1550. local root = game.Players.LocalPlayer.Character.HumanoidRootPart
  1551. root:GetPropertyChangedSignal("Position"):Connect(function()
  1552. if afm3 == true then
  1553. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2956, 58, 405)
  1554. end
  1555. end)
  1556. end)
  1557. end)
  1558.  
  1559. vafm1 = false
  1560. vafm1n = 1
  1561. vautofarmmission1.MouseButton1Click:Connect(function()
  1562. spawn(function()
  1563. local sound = Instance.new("Sound")
  1564. sound.Parent = game.Workspace
  1565. sound.SoundId = "rbxassetid://903267862"
  1566. sound:Play()
  1567. wait(0.3)
  1568. sound:Destroy()
  1569. end)
  1570. spawn(function()
  1571. if vafm1n == 1 then
  1572. vautofarmmission1.Text = "O"
  1573. vautofarmmission1.BackgroundColor3 = Color3.new(85/255,1,0)
  1574. vafm1n = 2
  1575. vafm1 = true
  1576. elseif vafm1n == 2 then
  1577. vautofarmmission1.Text = "I"
  1578. vautofarmmission1.BackgroundColor3 = Color3.new(1,0,0)
  1579. vafm1n = 1
  1580. vafm1 = false
  1581. end
  1582. end)
  1583. spawn(function()
  1584. if vafm1 == true then
  1585. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(3676, 58, -155)
  1586. end
  1587. end)
  1588. spawn(function()
  1589. local radius = 15
  1590. while vafm1 == true do
  1591. wait()
  1592. for i,v in pairs(game.Workspace:GetChildren()) do
  1593. if v:FindFirstChild("NPCscript") and (v.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude <= radius and v.Humanoid.JumpPower > 0 then
  1594. local A_1 = "Melee"
  1595. local A_2 = v.Name
  1596. local A_3 = 3
  1597. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1598. Event:FireServer(A_1, A_2, A_3)
  1599. end
  1600. end
  1601. end
  1602. end)
  1603. spawn(function()
  1604. while vafm1 == true do
  1605. wait()
  1606. pcall(function()
  1607. for i,v in pairs(game.Workspace:GetChildren()) do
  1608. if v:FindFirstChild("NPCscript") and v.Humanoid.JumpPower > 0 and v.Settings.Names.Value == "Policeman" then
  1609. while v.Humanoid.JumpPower > 0 and vafm1 == true do
  1610. wait()
  1611. local path = game:GetService("PathfindingService"):FindPathAsync(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, v.HumanoidRootPart.Position + Vector3.new(0,0,4))
  1612. local waypoints = path:GetWaypoints()
  1613. for i,v in pairs(waypoints) do
  1614. if vafm1 == true then
  1615. game.Players.LocalPlayer.Character.Humanoid:MoveTo(v.Position)
  1616. game.Players.LocalPlayer.Character.Humanoid.MoveToFinished:Wait()
  1617. end
  1618. end
  1619. end
  1620. end
  1621. end
  1622. end)
  1623. end
  1624. end)
  1625. spawn(function()
  1626. local A_1 = "InitiateQuest"
  1627. local A_2 = "99"
  1628. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1629. Event:FireServer(A_1, A_2)
  1630. while vafm1 == true do
  1631. wait()
  1632. if game.Players.LocalPlayer.Quest.KilledAmount.Value == "0" or game.Players.LocalPlayer.Quest.KilledAmount.Value == nil or game.Players.LocalPlayer.Quest.KilledAmount.Value == "" then
  1633. local A_1 = "InitiateQuest"
  1634. local A_2 = "99"
  1635. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1636. Event:FireServer(A_1, A_2)
  1637. print("Started")
  1638. wait(1)
  1639. end
  1640. end
  1641. end)
  1642. spawn (function()
  1643. wait(1)
  1644. local root = game.Players.LocalPlayer.Character.HumanoidRootPart
  1645. root:GetPropertyChangedSignal("Position"):Connect(function()
  1646. if vafm1 == true then
  1647. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(3676, 58, -155)
  1648. end
  1649. end)
  1650. end)
  1651. end)
  1652.  
  1653. vafm2 = false
  1654. vafm2n = 1
  1655. vautofarmmission2.MouseButton1Click:Connect(function()
  1656. spawn(function()
  1657. local sound = Instance.new("Sound")
  1658. sound.Parent = game.Workspace
  1659. sound.SoundId = "rbxassetid://903267862"
  1660. sound:Play()
  1661. wait(0.3)
  1662. sound:Destroy()
  1663. end)
  1664. spawn(function()
  1665. if vafm2n == 1 then
  1666. vautofarmmission2.Text = "O"
  1667. vautofarmmission2.BackgroundColor3 = Color3.new(85/255,1,0)
  1668. vafm2n = 2
  1669. vafm2 = true
  1670. elseif vafm2n == 2 then
  1671. vautofarmmission2.Text = "I"
  1672. vautofarmmission2.BackgroundColor3 = Color3.new(1,0,0)
  1673. vafm2n = 1
  1674. vafm2 = false
  1675. end
  1676. end)
  1677. spawn(function()
  1678. if vafm2 == true then
  1679. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(3324, 58, -370)
  1680. end
  1681. end)
  1682. spawn(function()
  1683. local radius = 15
  1684. while vafm2 == true do
  1685. wait()
  1686. for i,v in pairs(game.Workspace:GetChildren()) do
  1687. if v:FindFirstChild("NPCscript") and (v.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude <= radius and v.Humanoid.JumpPower > 0 then
  1688. local A_1 = "Melee"
  1689. local A_2 = v.Name
  1690. local A_3 = 3
  1691. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1692. Event:FireServer(A_1, A_2, A_3)
  1693. end
  1694. end
  1695. end
  1696. end)
  1697. spawn(function()
  1698. while vafm2 == true do
  1699. wait()
  1700. pcall(function()
  1701. for i,v in pairs(game.Workspace:GetChildren()) do
  1702. if v:FindFirstChild("NPCscript") and v.Humanoid.JumpPower > 0 and v.Settings.Names.Value == "HosuKnight" then
  1703. while v.Humanoid.JumpPower > 0 and vafm2 == true do
  1704. wait()
  1705. local path = game:GetService("PathfindingService"):FindPathAsync(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, v.HumanoidRootPart.Position + Vector3.new(0,0,4))
  1706. local waypoints = path:GetWaypoints()
  1707. for i,v in pairs(waypoints) do
  1708. if vafm2 == true then
  1709. game.Players.LocalPlayer.Character.Humanoid:MoveTo(v.Position)
  1710. game.Players.LocalPlayer.Character.Humanoid.MoveToFinished:Wait()
  1711. end
  1712. end
  1713. end
  1714. end
  1715. end
  1716. end)
  1717. end
  1718. end)
  1719. spawn(function()
  1720. local A_1 = "InitiateQuest"
  1721. local A_2 = "98"
  1722. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1723. Event:FireServer(A_1, A_2)
  1724. while vafm2 == true do
  1725. wait()
  1726. if game.Players.LocalPlayer.Quest.KilledAmount.Value == "0" or game.Players.LocalPlayer.Quest.KilledAmount.Value == nil or game.Players.LocalPlayer.Quest.KilledAmount.Value == "" then
  1727. local A_1 = "InitiateQuest"
  1728. local A_2 = "98"
  1729. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1730. Event:FireServer(A_1, A_2)
  1731. print("Started")
  1732. wait(1)
  1733. end
  1734. end
  1735. end)
  1736. spawn (function()
  1737. wait(1)
  1738. local root = game.Players.LocalPlayer.Character.HumanoidRootPart
  1739. root:GetPropertyChangedSignal("Position"):Connect(function()
  1740. if vafm2 == true then
  1741. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(3324, 58, -370)
  1742. end
  1743. end)
  1744. end)
  1745. end)
  1746.  
  1747. vafm3 = false
  1748. vafm3n = 1
  1749. vautofarmmission3.MouseButton1Click:Connect(function()
  1750. spawn(function()
  1751. local sound = Instance.new("Sound")
  1752. sound.Parent = game.Workspace
  1753. sound.SoundId = "rbxassetid://903267862"
  1754. sound:Play()
  1755. wait(0.3)
  1756. sound:Destroy()
  1757. end)
  1758. spawn(function()
  1759. if vafm3n == 1 then
  1760. vautofarmmission3.Text = "O"
  1761. vautofarmmission3.BackgroundColor3 = Color3.new(85/255,1,0)
  1762. vafm3n = 2
  1763. vafm3 = true
  1764. elseif vafm3n == 2 then
  1765. vautofarmmission3.Text = "I"
  1766. vautofarmmission3.BackgroundColor3 = Color3.new(1,0,0)
  1767. vafm3n = 1
  1768. vafm3 = false
  1769. end
  1770. end)
  1771. spawn(function()
  1772. if vafm3 == true then
  1773. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(3124, 58, -271)
  1774. end
  1775. end)
  1776. spawn(function()
  1777. local radius = 15
  1778. while vafm3 == true do
  1779. wait()
  1780. for i,v in pairs(game.Workspace:GetChildren()) do
  1781. if v:FindFirstChild("NPCscript") and (v.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude <= radius and v.Humanoid.JumpPower > 0 then
  1782. local A_1 = "Melee"
  1783. local A_2 = v.Name
  1784. local A_3 = 3
  1785. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1786. Event:FireServer(A_1, A_2, A_3)
  1787. end
  1788. end
  1789. end
  1790. end)
  1791. spawn(function()
  1792. while vafm3 == true do
  1793. wait()
  1794. pcall(function()
  1795. for i,v in pairs(game.Workspace:GetChildren()) do
  1796. if v:FindFirstChild("NPCscript") and v.Humanoid.JumpPower > 0 and v.Settings.Names.Value == "NaturiaGuard" then
  1797. while v.Humanoid.JumpPower > 0 and vafm3 == true do
  1798. wait()
  1799. local path = game:GetService("PathfindingService"):FindPathAsync(game.Players.LocalPlayer.Character.HumanoidRootPart.Position, v.HumanoidRootPart.Position + Vector3.new(0,0,4))
  1800. local waypoints = path:GetWaypoints()
  1801. for i,v in pairs(waypoints) do
  1802. if vafm3 == true then
  1803. game.Players.LocalPlayer.Character.Humanoid:MoveTo(v.Position)
  1804. game.Players.LocalPlayer.Character.Humanoid.MoveToFinished:Wait()
  1805. end
  1806. end
  1807. end
  1808. end
  1809. end
  1810. end)
  1811. end
  1812. end)
  1813. spawn(function()
  1814. local A_1 = "InitiateQuest"
  1815. local A_2 = "97"
  1816. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1817. Event:FireServer(A_1, A_2)
  1818. while vafm3 == true do
  1819. wait()
  1820. if game.Players.LocalPlayer.Quest.KilledAmount.Value == "0" or game.Players.LocalPlayer.Quest.KilledAmount.Value == nil or game.Players.LocalPlayer.Quest.KilledAmount.Value == "" then
  1821. local A_1 = "InitiateQuest"
  1822. local A_2 = "97"
  1823. local Event = game:GetService("ReplicatedStorage").Events.DataEvent
  1824. Event:FireServer(A_1, A_2)
  1825. print("Started")
  1826. wait(1)
  1827. end
  1828. end
  1829. end)
  1830. spawn (function()
  1831. wait(1)
  1832. local root = game.Players.LocalPlayer.Character.HumanoidRootPart
  1833. root:GetPropertyChangedSignal("Position"):Connect(function()
  1834. if vafm3 == true then
  1835. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(3124, 58, -271)
  1836. end
  1837. end)
  1838. end)
  1839. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement