B0NDIAS

!SOUL SEGA GUI! {Lua}

May 6th, 2020
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2.     GUI
  3. --]]
  4. pcall(function()
  5.     game.CoreGui["AUTO_QUEST"]:Remove()
  6.     game.Workspace["Base"]:Destroy()
  7. end)
  8.  
  9. local GUI = Instance.new("ScreenGui")
  10. local HEADER = Instance.new("TextLabel")
  11. local FRAME = Instance.new("Frame")
  12. local QUESTFRAME = Instance.new("ScrollingFrame")
  13. local STATFRAME = Instance.new("ScrollingFrame")
  14. local TURNON = Instance.new("TextButton")
  15. local TURNOFF = Instance.new("TextButton")
  16. local QUEST = Instance.new("TextLabel")
  17. local EXPERIENCE = Instance.new("TextLabel")
  18. local CASH = Instance.new("TextLabel")
  19. local HEALTH = Instance.new("TextLabel")
  20. local STATUS = Instance.new("TextLabel")
  21. local CLASS = Instance.new("TextLabel")
  22. local CURRENTQUEST = Instance.new("TextLabel")
  23.  
  24. local SETTINGSFRAME = Instance.new("ScrollingFrame")
  25. local SETTINGSLABEL = Instance.new("TextLabel")
  26. local AUTOPOINTLABEL = Instance.new("TextLabel")
  27. local AUTOBOSSLABEL = Instance.new("TextLabel")
  28. local AUTOPRESTIGELABEL = Instance.new("TextLabel")
  29. local AUTOPKLABEL = Instance.new("TextLabel")
  30. local AUTOPOINTON = Instance.new("TextButton")
  31. local AUTOPOINTOFF = Instance.new("TextButton")
  32. local AUTOBOSSON = Instance.new("TextButton")
  33. local AUTOBOSSOFF = Instance.new("TextButton")
  34. local AUTOPRESTIGEON = Instance.new("TextButton")
  35. local AUTOPRESTIGEOFF = Instance.new("TextButton")
  36. local AUTOPKON = Instance.new("TextButton")
  37. local AUTOPKOFF = Instance.new("TextButton")
  38.  
  39. local AUTOPKPLAYERLABEL = Instance.new("TextLabel")
  40. local AUTOPKPLAYERBOX = Instance.new("TextBox")
  41. local AUTOPKPLAYERON = Instance.new("TextButton")
  42. local AUTOPKPLAYEROFF = Instance.new("TextButton")
  43.  
  44. local LOGSFRAME = Instance.new("Frame")
  45. local LOGSLABEL = Instance.new("TextLabel")
  46. local AUTOBOSS2LABEL = Instance.new("TextLabel")
  47. local PK2LABEL = Instance.new("TextLabel")
  48. local QUEST2LABEL = Instance.new("TextLabel")
  49. local MOB2LABEL = Instance.new("TextLabel")
  50.  
  51. local CASH1 = Instance.new("TextLabel")
  52. local CASH2 = Instance.new("TextLabel")
  53. local EXPERIENCE1 = Instance.new("TextLabel")
  54. local EXPERIENCE2 = Instance.new("TextLabel")
  55. local HEALTH1 = Instance.new("TextLabel")
  56. local HEALTH2 = Instance.new("TextLabel")
  57. local QUEST1 = Instance.new("TextButton")
  58. local QUEST2 = Instance.new("TextButton")
  59.  
  60. local HEALTHSTAT = Instance.new("TextLabel")
  61. local STRENGTHSTAT = Instance.new("TextLabel")
  62. local LEVELSTAT = Instance.new("TextLabel")
  63. local SOULSSTAT = Instance.new("TextLabel")
  64. local CASHSTAT = Instance.new("TextLabel")
  65. local POINTSSTAT = Instance.new("TextLabel")
  66. local HEALTHLABEL = Instance.new("TextLabel")
  67. local STRENGTHLABEL = Instance.new("TextLabel")
  68. local LEVELLABEL = Instance.new("TextLabel")
  69. local SOULLABEL = Instance.new("TextLabel")
  70. local CASHLABEL = Instance.new("TextLabel")
  71. local POINTSLABEL = Instance.new("TextLabel")
  72.  
  73. GUI.Parent = game.CoreGui
  74. GUI.Name = "AUTO_QUEST"
  75.  
  76. FRAME.Parent = GUI
  77. FRAME.Name = "FRAME"
  78. FRAME.Active = true
  79. FRAME.Selectable = true
  80. FRAME.Draggable = true
  81. FRAME.BackgroundColor3 = Color3.new(255,255,255)
  82. FRAME.BackgroundTransparency = 0.2
  83. FRAME.BorderSizePixel = 0
  84. FRAME.Position = UDim2.new(0.5, -100,0.5, -75)
  85. FRAME.Size = UDim2.new(0, 200, 0, 175)
  86.  
  87. HEADER.Parent = FRAME
  88. HEADER.Name = "AUTO QUEST"
  89. HEADER.BackgroundColor3 = Color3.new(255,255,255)
  90. HEADER.BackgroundTransparency = 0
  91. HEADER.BorderSizePixel = 0
  92. HEADER.Position = UDim2.new(0,-15,0,-20)
  93. HEADER.Size = UDim2.new(0,230,0,15)
  94. HEADER.Font = Enum.Font.SourceSansBold
  95. HEADER.Text = "AUTO QUEST"
  96. HEADER.TextSize = 14
  97. HEADER.TextStrokeTransparency = 1
  98.  
  99. LOGSFRAME.Parent = FRAME
  100. LOGSFRAME.Active = true
  101. LOGSFRAME.Selectable = true
  102. LOGSFRAME.Draggable = true
  103. LOGSFRAME.Name = "LOGSFRAME"
  104. LOGSFRAME.BackgroundColor3 = Color3.new(255,255,255)
  105. LOGSFRAME.BackgroundTransparency = 0
  106. LOGSFRAME.BorderSizePixel = 0
  107. LOGSFRAME.Position = UDim2.new(-0.69,0,0.114,0)
  108. LOGSFRAME.Size = UDim2.new(0,123,0,70)
  109.  
  110. LOGSLABEL.Parent = LOGSFRAME
  111. LOGSLABEL.Name = "LOGSLABEL"
  112. LOGSLABEL.BackgroundColor3 = Color3.new(255,255,255)
  113. LOGSLABEL.BackgroundTransparency = 0
  114. LOGSLABEL.BorderSizePixel = 0
  115. LOGSLABEL.Position = UDim2.new(0,0,0,-15)
  116. LOGSLABEL.Size = UDim2.new(0,123,0,15)
  117. LOGSLABEL.Font = Enum.Font.SourceSansSemibold
  118. LOGSLABEL.Text = "LOGS"
  119. LOGSLABEL.TextSize = 14
  120.  
  121. AUTOBOSS2LABEL.Parent = LOGSFRAME
  122. AUTOBOSS2LABEL.Name = "AUTOBOSSLABEL"
  123. AUTOBOSS2LABEL.BackgroundColor3 = Color3.new(255,255,255)
  124. AUTOBOSS2LABEL.BackgroundTransparency = 0
  125. AUTOBOSS2LABEL.BorderSizePixel = 0
  126. AUTOBOSS2LABEL.Position = UDim2.new(0,0,0,35)
  127. AUTOBOSS2LABEL.Size = UDim2.new(0,123,0,15)
  128. AUTOBOSS2LABEL.Font = Enum.Font.SourceSansLight
  129. AUTOBOSS2LABEL.TextSize = 10
  130. AUTOBOSS2LABEL.Text = "Enable auto-farm to start logs"
  131.  
  132. PK2LABEL.Parent = LOGSFRAME
  133. PK2LABEL.Name = "PKLABEL"
  134. PK2LABEL.BackgroundColor3 = Color3.new(255,255,255)
  135. PK2LABEL.BackgroundTransparency = 0
  136. PK2LABEL.BorderSizePixel = 0
  137. PK2LABEL.Position = UDim2.new(0,0,0,50)
  138. PK2LABEL.Size = UDim2.new(0,123,0,15)
  139. PK2LABEL.Font = Enum.Font.SourceSansLight
  140. PK2LABEL.TextSize = 10
  141. PK2LABEL.Text = "Last player killed : None"
  142.  
  143. QUEST2LABEL.Parent = LOGSFRAME
  144. QUEST2LABEL.Name = "QUESTLABEL"
  145. QUEST2LABEL.BackgroundColor3 = Color3.new(255,255,255)
  146. QUEST2LABEL.BackgroundTransparency = 0
  147. QUEST2LABEL.BorderSizePixel = 0
  148. QUEST2LABEL.Position = UDim2.new(0,0,0,5)
  149. QUEST2LABEL.Size = UDim2.new(0,123,0,15)
  150. QUEST2LABEL.Font = Enum.Font.SourceSansLight
  151. QUEST2LABEL.TextSize = 10
  152. QUEST2LABEL.Text = "Enable auto-farm to start logs"
  153.  
  154. MOB2LABEL.Parent = LOGSFRAME
  155. MOB2LABEL.Name = "MOBLABEL"
  156. MOB2LABEL.BackgroundColor3 = Color3.new(255,255,255)
  157. MOB2LABEL.BackgroundTransparency = 0
  158. MOB2LABEL.BorderSizePixel = 0
  159. MOB2LABEL.Position = UDim2.new(0,0,0,20)
  160. MOB2LABEL.Size = UDim2.new(0,123,0,15)
  161. MOB2LABEL.Font = Enum.Font.SourceSansLight
  162. MOB2LABEL.TextSize = 10
  163. MOB2LABEL.Text = "Enable auto-farm to start logs"
  164.  
  165. QUESTFRAME.Parent = FRAME
  166. QUESTFRAME.Name = "QUESTFRAME"
  167. QUESTFRAME.BackgroundColor3 = Color3.new(255,255,255)
  168. QUESTFRAME.BackgroundTransparency = 0
  169. QUESTFRAME.BorderSizePixel = 0
  170. QUESTFRAME.Position = UDim2.new(0,5,0,139)
  171. QUESTFRAME.Size = UDim2.new(0, 190, 0, 30)
  172. QUESTFRAME.BottomImage = "rbxassetid://540571263"
  173. QUESTFRAME.MidImage = "rbxassetid://540571263"
  174. QUESTFRAME.TopImage = "rbxassetid://540571263"
  175. QUESTFRAME.ScrollBarThickness = 5
  176.  
  177. STATFRAME.Parent = FRAME
  178. STATFRAME.Name = "STATFRAME"
  179. STATFRAME.BackgroundColor3 = Color3.new(255,255,255)
  180. STATFRAME.BackgroundTransparency = 0
  181. STATFRAME.BorderSizePixel = 0
  182. STATFRAME.Position = UDim2.new(0,4,0,80)
  183. STATFRAME.Size = UDim2.new(0, 190, 0, 40)
  184. STATFRAME.BottomImage = "rbxassetid://540571263"
  185. STATFRAME.MidImage = "rbxassetid://540571263"
  186. STATFRAME.TopImage = "rbxassetid://540571263"
  187. STATFRAME.ScrollBarThickness = 5
  188.  
  189. TURNON.Parent = FRAME
  190. TURNON.Name = "TURNON"
  191. TURNON.BackgroundColor3 = Color3.new(255,255,255)
  192. TURNON.BackgroundTransparency = 0.3
  193. TURNON.BorderSizePixel = 0
  194. TURNON.Position = UDim2.new(0, 5, 0, 25)
  195. TURNON.Size = UDim2.new(0, 190, 0, 15)
  196. TURNON.Font = Enum.Font.SourceSansSemibold
  197. TURNON.Text = "ENABLE AUTO QUEST"
  198. TURNON.TextStrokeTransparency = 1
  199. TURNON.TextSize = 14
  200. TURNON.Visible = false
  201.  
  202. TURNOFF.Parent = FRAME
  203. TURNOFF.Name = "TURNOFF"
  204. TURNOFF.Visible = false
  205. TURNOFF.BackgroundColor3 = Color3.new(255,255,255)
  206. TURNOFF.BackgroundTransparency = 0.3
  207. TURNOFF.TextTransparency = 0
  208. TURNOFF.BorderSizePixel = 0
  209. TURNOFF.Position = UDim2.new(0, 5, 0, 25)
  210. TURNOFF.Size = UDim2.new(0, 190, 0, 15)
  211. TURNOFF.Font = Enum.Font.SourceSansSemibold
  212. TURNOFF.Text = "DISABLE AUTO QUEST"
  213. TURNOFF.TextStrokeTransparency = 1
  214. TURNOFF.TextSize = 14
  215. TURNOFF.Visible = false
  216.  
  217. QUEST.Parent = FRAME
  218. QUEST.Name = "QUEST"
  219. QUEST.BackgroundColor3 = Color3.new(255,255,255)
  220. QUEST.BackgroundTransparency = 0
  221. QUEST.BorderSizePixel = 0
  222. QUEST.Position = UDim2.new(0, 5, 0, 129)
  223. QUEST.Size = UDim2.new(0, 100, 0, 10)
  224. QUEST.Font = Enum.Font.SourceSansLight
  225. QUEST.Text = "QUEST"
  226. QUEST.TextSize = 10
  227. QUEST.TextStrokeTransparency = 1
  228.  
  229. EXPERIENCE.Parent = FRAME
  230. EXPERIENCE.Name = "EXPERIENCE"
  231. EXPERIENCE.BackgroundColor3 = Color3.new(255,255,255)
  232. EXPERIENCE.BackgroundTransparency = 0
  233. EXPERIENCE.BorderSizePixel = 0
  234. EXPERIENCE.Position = UDim2.new(0, 105, 0, 129)
  235. EXPERIENCE.Size = UDim2.new(0, 21, 0, 10)
  236. EXPERIENCE.Font = Enum.Font.SourceSansLight
  237. EXPERIENCE.Text = "EXP"
  238. EXPERIENCE.TextSize = 10
  239. EXPERIENCE.TextStrokeTransparency = 1
  240.  
  241. CASH.Parent = FRAME
  242. CASH.Name = "CASH"
  243. CASH.BackgroundColor3 = Color3.new(255,255,255)
  244. CASH.BackgroundTransparency = 0
  245. CASH.BorderSizePixel = 0
  246. CASH.Position = UDim2.new(0, 126, 0, 129)
  247. CASH.Size = UDim2.new(0, 35, 0, 10)
  248. CASH.Font = Enum.Font.SourceSansLight
  249. CASH.Text = "CASH"
  250. CASH.TextSize = 10
  251. CASH.TextStrokeTransparency = 1
  252.  
  253. HEALTH.Parent = FRAME
  254. HEALTH.Name = "HEALTH"
  255. HEALTH.BackgroundColor3 = Color3.new(255,255,255)
  256. HEALTH.BackgroundTransparency = 0
  257. HEALTH.BorderSizePixel = 0
  258. HEALTH.Position = UDim2.new(0, 158, 0, 129)
  259. HEALTH.Size = UDim2.new(0, 33, 0, 10)
  260. HEALTH.Font = Enum.Font.SourceSansLight
  261. HEALTH.Text = "HEALTH"
  262. HEALTH.TextSize = 10
  263. HEALTH.TextStrokeTransparency = 1
  264.  
  265. STATUS.Parent = FRAME
  266. STATUS.Name = "STATUS"
  267. STATUS.BackgroundColor3 = Color3.new(255,255,255)
  268. STATUS.BackgroundTransparency = 0.3
  269. STATUS.BorderSizePixel = 0
  270. STATUS.Position = UDim2.new(0, 5, 0, 5)
  271. STATUS.Size = UDim2.new(0, 190, 0, 15)
  272. STATUS.Font = Enum.Font.SourceSansLight
  273. STATUS.Text = "AUTO QUEST STATUS : "
  274. STATUS.TextSize = 14
  275. STATUS.TextStrokeTransparency = 1
  276.  
  277. CLASS.Parent = FRAME
  278. CLASS.Name = "CLASS"
  279. CLASS.BackgroundColor3 = Color3.new(255,2552,255)
  280. CLASS.BackgroundTransparency = 0
  281. CLASS.BorderSizePixel = 0
  282. CLASS.Position = UDim2.new(0, -5, 0, 45)
  283. CLASS.Size = UDim2.new(0, 210, 0, 15)
  284. CLASS.Font = Enum.Font.SourceSansSemibold
  285. CLASS.Text = "CURRENT CLASS : "
  286. CLASS.TextSize = 16
  287. CLASS.TextStrokeTransparency = 1
  288.  
  289. CURRENTQUEST.Parent = FRAME
  290. CURRENTQUEST.Name = "CURRENTQUEST"
  291. CURRENTQUEST.BackgroundColor3 = Color3.new(255,255,255)
  292. CURRENTQUEST.BackgroundTransparency = 0.3
  293. CURRENTQUEST.BorderSizePixel = 0
  294. CURRENTQUEST.Position = UDim2.new(0, 5, 0, 65)
  295. CURRENTQUEST.Size = UDim2.new(0, 189, 0, 12)
  296. CURRENTQUEST.Font = Enum.Font.SourceSansLight
  297. CURRENTQUEST.Text = "CURRENT QUEST : "
  298. CURRENTQUEST.TextSize = 12
  299. CURRENTQUEST.TextStrokeTransparency = 1
  300.  
  301. SETTINGSFRAME.Parent = FRAME
  302. SETTINGSFRAME.Name = "SETTINGSFRAME"
  303. SETTINGSFRAME.BackgroundColor3 = Color3.new(255,255,255)
  304. SETTINGSFRAME.BorderSizePixel = 0
  305. SETTINGSFRAME.BackgroundTransparency = 1
  306. SETTINGSFRAME.Position = UDim2.new(-0.025,0,1.04,0)
  307. SETTINGSFRAME.Size = UDim2.new(0,210,0,50)
  308. SETTINGSFRAME.BottomImage = "rbxassetid://73139981"
  309. SETTINGSFRAME.MidImage = "rbxassetid://73139981"
  310. SETTINGSFRAME.TopImage = "rbxassetid://73139981"
  311. SETTINGSFRAME.ScrollBarThickness = 5
  312.  
  313. SETTINGSLABEL.Parent = SETTINGSFRAME
  314. SETTINGSLABEL.Name = "SETTINGSLABEL"
  315. SETTINGSLABEL.BackgroundColor3 = Color3.new(255,255,255)
  316. SETTINGSLABEL.BackgroundTransparency = 0
  317. SETTINGSLABEL.BorderSizePixel = 0
  318. SETTINGSLABEL.Position = UDim2.new(-0.024,0,0,0)
  319. SETTINGSLABEL.Size = UDim2.new(0,210,0,12)
  320. SETTINGSLABEL.Font = Enum.Font.SourceSansSemibold
  321. SETTINGSLABEL.Text = "SETTINGS"
  322. SETTINGSLABEL.TextSize = 14
  323.  
  324. AUTOPOINTLABEL.Parent = SETTINGSFRAME
  325. AUTOPOINTLABEL.Name = "AUTOPOINTLABEL"
  326. AUTOPOINTLABEL.BackgroundColor3 = Color3.new(255,255,255)
  327. AUTOPOINTLABEL.BorderSizePixel = 0
  328. AUTOPOINTLABEL.BackgroundTransparency = 0
  329. AUTOPOINTLABEL.Font = Enum.Font.SourceSansLight
  330. AUTOPOINTLABEL.TextSize = 12
  331. AUTOPOINTLABEL.Size = UDim2.new(0, 163, 0, 12)
  332. AUTOPOINTLABEL.Position = UDim2.new(0,0,0.035,0)
  333. AUTOPOINTLABEL.Text = "AUTO POINT"
  334.  
  335. AUTOPOINTON.Parent = SETTINGSFRAME
  336. AUTOPOINTON.Name = "AUTOPOINTON"
  337. AUTOPOINTON.BackgroundColor3 = Color3.new(255,255,255)
  338. AUTOPOINTON.BorderSizePixel = 0
  339. AUTOPOINTON.BackgroundTransparency = 0
  340. AUTOPOINTON.Font = Enum.Font.SourceSansSemibold
  341. AUTOPOINTON.TextSize = 12
  342. AUTOPOINTON.Size = UDim2.new(0, 42, 0, 12)
  343. AUTOPOINTON.Position = UDim2.new(0.776, 0,0.035, 0)
  344. AUTOPOINTON.Text = "ON"
  345. AUTOPOINTON.Visible = false
  346.  
  347. AUTOPOINTOFF.Parent = SETTINGSFRAME
  348. AUTOPOINTOFF.Name = "AUTOPOINTOFF"
  349. AUTOPOINTOFF.BackgroundColor3 = Color3.new(255,255,255)
  350. AUTOPOINTOFF.BorderSizePixel = 0
  351. AUTOPOINTOFF.BackgroundTransparency = 0
  352. AUTOPOINTOFF.Font = Enum.Font.SourceSansSemibold
  353. AUTOPOINTOFF.TextSize = 12
  354. AUTOPOINTOFF.Size = UDim2.new(0, 42, 0, 12)
  355. AUTOPOINTOFF.Position = UDim2.new(0.776, 0,0.035, 0)
  356. AUTOPOINTOFF.Text = "OFF"
  357. AUTOPOINTOFF.Visible = false
  358.  
  359. AUTOBOSSLABEL.Parent = SETTINGSFRAME
  360. AUTOBOSSLABEL.Name = "AUTOBOSSLABEL"
  361. AUTOBOSSLABEL.BackgroundColor3 = Color3.new(255,255,255)
  362. AUTOBOSSLABEL.BorderSizePixel = 0
  363. AUTOBOSSLABEL.BackgroundTransparency = 0
  364. AUTOBOSSLABEL.Font = Enum.Font.SourceSansLight
  365. AUTOBOSSLABEL.TextSize = 12
  366. AUTOBOSSLABEL.Size = UDim2.new(0, 163, 0, 12)
  367. AUTOBOSSLABEL.Position = UDim2.new(0,0,0.069,0)
  368. AUTOBOSSLABEL.Text = "AUTO BOSS"
  369.  
  370. AUTOBOSSON.Parent = SETTINGSFRAME
  371. AUTOBOSSON.Name = "AUTOBOSSON"
  372. AUTOBOSSON.BackgroundColor3 = Color3.new(255,255,255)
  373. AUTOBOSSON.BorderSizePixel = 0
  374. AUTOBOSSON.BackgroundTransparency = 0
  375. AUTOBOSSON.Font = Enum.Font.SourceSansSemibold
  376. AUTOBOSSON.TextSize = 12
  377. AUTOBOSSON.Size = UDim2.new(0, 42, 0, 12)
  378. AUTOBOSSON.Position = UDim2.new(0.776, 0,0.069, 0)
  379. AUTOBOSSON.Text = "ON"
  380. AUTOBOSSON.Visible = false
  381.  
  382. AUTOBOSSOFF.Parent = SETTINGSFRAME
  383. AUTOBOSSOFF.Name = "AUTOBOSSOFF"
  384. AUTOBOSSOFF.BackgroundColor3 = Color3.new(255,255,255)
  385. AUTOBOSSOFF.BorderSizePixel = 0
  386. AUTOBOSSOFF.BackgroundTransparency = 0
  387. AUTOBOSSOFF.Font = Enum.Font.SourceSansSemibold
  388. AUTOBOSSOFF.TextSize = 12
  389. AUTOBOSSOFF.Size = UDim2.new(0, 42, 0, 12)
  390. AUTOBOSSOFF.Position = UDim2.new(0.776, 0,0.069, 0)
  391. AUTOBOSSOFF.Text = "OFF"
  392. AUTOBOSSOFF.Visible = false
  393.  
  394. AUTOPRESTIGELABEL.Parent = SETTINGSFRAME
  395. AUTOPRESTIGELABEL.Name = "AUTOPRESTIGELABEL"
  396. AUTOPRESTIGELABEL.BackgroundColor3 = Color3.new(255,255,255)
  397. AUTOPRESTIGELABEL.BorderSizePixel = 0
  398. AUTOPRESTIGELABEL.BackgroundTransparency = 0
  399. AUTOPRESTIGELABEL.Font = Enum.Font.SourceSansLight
  400. AUTOPRESTIGELABEL.TextSize = 12
  401. AUTOPRESTIGELABEL.Size = UDim2.new(0, 163, 0, 12)
  402. AUTOPRESTIGELABEL.Position = UDim2.new(0,0,0.137,0)
  403. AUTOPRESTIGELABEL.Text = "AUTO PRESTIGE"
  404.  
  405. AUTOPRESTIGEON.Parent = SETTINGSFRAME
  406. AUTOPRESTIGEON.Name = "AUTOPRESTIGEON"
  407. AUTOPRESTIGEON.BackgroundColor3 = Color3.new(255,255,255)
  408. AUTOPRESTIGEON.BorderSizePixel = 0
  409. AUTOPRESTIGEON.BackgroundTransparency = 0
  410. AUTOPRESTIGEON.Font = Enum.Font.SourceSansSemibold
  411. AUTOPRESTIGEON.TextSize = 12
  412. AUTOPRESTIGEON.Size = UDim2.new(0, 42, 0, 12)
  413. AUTOPRESTIGEON.Position = UDim2.new(0.776, 0,0.137, 0)
  414. AUTOPRESTIGEON.Text = "ON"
  415. AUTOPRESTIGEON.Visible = false
  416.  
  417. AUTOPRESTIGEOFF.Parent = SETTINGSFRAME
  418. AUTOPRESTIGEOFF.Name = "AUTOPRESTIGEOFF"
  419. AUTOPRESTIGEOFF.BackgroundColor3 = Color3.new(255,255,255)
  420. AUTOPRESTIGEOFF.BorderSizePixel = 0
  421. AUTOPRESTIGEOFF.BackgroundTransparency = 0
  422. AUTOPRESTIGEOFF.Font = Enum.Font.SourceSansSemibold
  423. AUTOPRESTIGEOFF.TextSize = 12
  424. AUTOPRESTIGEOFF.Size = UDim2.new(0, 42, 0, 12)
  425. AUTOPRESTIGEOFF.Position = UDim2.new(0.776, 0,0.137, 0)
  426. AUTOPRESTIGEOFF.Text = "OFF"
  427. AUTOPRESTIGEOFF.Visible = false
  428.  
  429. AUTOPKLABEL.Parent = SETTINGSFRAME
  430. AUTOPKLABEL.Name = "AUTOPKLABEL"
  431. AUTOPKLABEL.BackgroundColor3 = Color3.new(255,255,255)
  432. AUTOPKLABEL.BorderSizePixel = 0
  433. AUTOPKLABEL.BackgroundTransparency = 0
  434. AUTOPKLABEL.Font = Enum.Font.SourceSansLight
  435. AUTOPKLABEL.TextSize = 12
  436. AUTOPKLABEL.Size = UDim2.new(0, 163, 0, 12)
  437. AUTOPKLABEL.Position = UDim2.new(0,0,0.103,0)
  438. AUTOPKLABEL.Text = "AUTO PK ALL"
  439.  
  440. AUTOPKON.Parent = SETTINGSFRAME
  441. AUTOPKON.Name = "AUTOPKON"
  442. AUTOPKON.BackgroundColor3 = Color3.new(255,255,255)
  443. AUTOPKON.BorderSizePixel = 0
  444. AUTOPKON.BackgroundTransparency = 0
  445. AUTOPKON.Font = Enum.Font.SourceSansSemibold
  446. AUTOPKON.TextSize = 12
  447. AUTOPKON.Size = UDim2.new(0, 42, 0, 12)
  448. AUTOPKON.Position = UDim2.new(0.776, 0,0.103, 0)
  449. AUTOPKON.Text = "ON"
  450. AUTOPKON.Visible = false
  451.  
  452. AUTOPKOFF.Parent = SETTINGSFRAME
  453. AUTOPKOFF.Name = "AUTOPKOFF"
  454. AUTOPKOFF.BackgroundColor3 = Color3.new(255,255,255)
  455. AUTOPKOFF.BorderSizePixel = 0
  456. AUTOPKOFF.BackgroundTransparency = 0
  457. AUTOPKOFF.Font = Enum.Font.SourceSansSemibold
  458. AUTOPKOFF.TextSize = 12
  459. AUTOPKOFF.Size = UDim2.new(0, 42, 0, 12)
  460. AUTOPKOFF.Position = UDim2.new(0.776, 0,0.103, 0)
  461. AUTOPKOFF.Text = "OFF"
  462. AUTOPKOFF.Visible = false
  463.  
  464. AUTOPKPLAYERLABEL.Parent = SETTINGSFRAME
  465. AUTOPKPLAYERLABEL.Name = "AUTOPKPLAYERLABEL"
  466. AUTOPKPLAYERLABEL.BackgroundColor3 = Color3.new(255,255,255)
  467. AUTOPKPLAYERLABEL.BorderSizePixel = 0
  468. AUTOPKPLAYERLABEL.BackgroundTransparency = 0
  469. AUTOPKPLAYERLABEL.Font = Enum.Font.SourceSansLight
  470. AUTOPKPLAYERLABEL.TextSize = 12
  471. AUTOPKPLAYERLABEL.Size = UDim2.new(0, 163, 0, 12)
  472. AUTOPKPLAYERLABEL.Position = UDim2.new(0,0,0.171,0)
  473. AUTOPKPLAYERLABEL.Text = "AUTO PK PLAYER"
  474.  
  475. AUTOPKPLAYERON.Parent = SETTINGSFRAME
  476. AUTOPKPLAYERON.Name = "AUTOPKPLAYERON"
  477. AUTOPKPLAYERON.BackgroundColor3 = Color3.new(255,255,255)
  478. AUTOPKPLAYERON.BorderSizePixel = 0
  479. AUTOPKPLAYERON.BackgroundTransparency = 0
  480. AUTOPKPLAYERON.Font = Enum.Font.SourceSansSemibold
  481. AUTOPKPLAYERON.TextSize = 12
  482. AUTOPKPLAYERON.Size = UDim2.new(0, 42, 0, 12)
  483. AUTOPKPLAYERON.Position = UDim2.new(0.776, 0,0.171, 0)
  484. AUTOPKPLAYERON.Text = "ON"
  485. AUTOPKPLAYERON.Visible = false
  486.  
  487. AUTOPKPLAYEROFF.Parent = SETTINGSFRAME
  488. AUTOPKPLAYEROFF.Name = "AUTOPKPLAYEROFF"
  489. AUTOPKPLAYEROFF.BackgroundColor3 = Color3.new(255,255,255)
  490. AUTOPKPLAYEROFF.BorderSizePixel = 0
  491. AUTOPKPLAYEROFF.BackgroundTransparency = 0
  492. AUTOPKPLAYEROFF.Font = Enum.Font.SourceSansSemibold
  493. AUTOPKPLAYEROFF.TextSize = 12
  494. AUTOPKPLAYEROFF.Size = UDim2.new(0, 42, 0, 12)
  495. AUTOPKPLAYEROFF.Position = UDim2.new(0.776, 0,0.171, 0)
  496. AUTOPKPLAYEROFF.Text = "OFF"
  497. AUTOPKPLAYEROFF.Visible = false
  498.  
  499. AUTOPKPLAYERBOX.Parent = SETTINGSFRAME
  500. AUTOPKPLAYERBOX.Name = "AUTOPKPLAYERBOX"
  501. AUTOPKPLAYERBOX.BackgroundColor3 = Color3.new(255,255,255)
  502. AUTOPKPLAYERBOX.BorderSizePixel = 0
  503. AUTOPKPLAYERBOX.BackgroundTransparency = 0
  504. AUTOPKPLAYERBOX.Font = Enum.Font.SourceSansSemibold
  505. AUTOPKPLAYERBOX.TextSize = 12
  506. AUTOPKPLAYERBOX.Size = UDim2.new(0,205,0,12)
  507. AUTOPKPLAYERBOX.Position = UDim2.new(0,0,0.205,0)
  508. AUTOPKPLAYERBOX.Text = "PLAYER"
  509.  
  510. CASH2.Parent = QUESTFRAME
  511. CASH2.Name = "CASH2"
  512. CASH2.BackgroundColor3 = Color3.new(255,255,255)
  513. CASH2.BorderSizePixel = 0
  514. CASH2.Position = UDim2.new(0, 121, 0, 10)
  515. CASH2.Size = UDim2.new(0, 35, 0, 10)
  516. CASH2.Font = Enum.Font.SourceSansLight
  517. CASH2.Text = "2500"
  518. CASH2.TextSize = 10
  519. CASH2.TextStrokeTransparency = 1
  520.  
  521. CASH1.Parent = QUESTFRAME
  522. CASH1.Name = "CASH1"
  523. CASH1.BackgroundColor3 = Color3.new(255,255,255)
  524. CASH1.BorderSizePixel = 0
  525. CASH1.Position = UDim2.new(0, 121, 0, 0)
  526. CASH1.Size = UDim2.new(0, 35, 0, 10)
  527. CASH1.Font = Enum.Font.SourceSansLight
  528. CASH1.Text = "1000"
  529. CASH1.TextSize = 10
  530. CASH1.TextStrokeTransparency = 1
  531.  
  532. EXPERIENCE1.Parent = QUESTFRAME
  533. EXPERIENCE1.Name = "EXPERIENCE1"
  534. EXPERIENCE1.BackgroundColor3 = Color3.new(255,255,255)
  535. EXPERIENCE1.BorderSizePixel = 0
  536. EXPERIENCE1.Position = UDim2.new(0, 100, 0, 0)
  537. EXPERIENCE1.Size = UDim2.new(0, 21, 0, 10)
  538. EXPERIENCE1.Font = Enum.Font.SourceSansLight
  539. EXPERIENCE1.Text = "500"
  540. EXPERIENCE1.TextSize = 10
  541. EXPERIENCE1.TextStrokeTransparency = 1
  542.  
  543. EXPERIENCE2.Parent = QUESTFRAME
  544. EXPERIENCE2.Name = "EXPERIENCE2"
  545. EXPERIENCE2.BackgroundColor3 = Color3.new(255,255,255)
  546. EXPERIENCE2.BorderSizePixel = 0
  547. EXPERIENCE2.Position = UDim2.new(0, 100, 0, 10)
  548. EXPERIENCE2.Size = UDim2.new(0, 21, 0, 10)
  549. EXPERIENCE2.Font = Enum.Font.SourceSansLight
  550. EXPERIENCE2.Text = "500"
  551. EXPERIENCE2.TextSize = 10
  552. EXPERIENCE2.TextStrokeTransparency = 1
  553.  
  554. HEALTH1.Parent = QUESTFRAME
  555. HEALTH1.Name = "HEALTH1"
  556. HEALTH1.BackgroundColor3 = Color3.new(255,255,255)
  557. HEALTH1.BorderSizePixel = 0
  558. HEALTH1.Position = UDim2.new(0, 156, 0, 0)
  559. HEALTH1.Size = UDim2.new(0, 30, 0, 10)
  560. HEALTH1.Font = Enum.Font.SourceSansLight
  561. HEALTH1.Text = "1000"
  562. HEALTH1.TextSize = 10
  563. HEALTH1.TextStrokeTransparency = 1
  564.  
  565. HEALTH2.Parent = QUESTFRAME
  566. HEALTH2.Name = "HEALTH2"
  567. HEALTH2.BackgroundColor3 = Color3.new(255,255,255)
  568. HEALTH2.BorderSizePixel = 0
  569. HEALTH2.Position = UDim2.new(0, 156, 0, 10)
  570. HEALTH2.Size = UDim2.new(0, 30, 0, 10)
  571. HEALTH2.Font = Enum.Font.SourceSansLight
  572. HEALTH2.Text = "5000"
  573. HEALTH2.TextSize = 10
  574. HEALTH2.TextStrokeTransparency = 1
  575.  
  576. QUEST1.Parent = QUESTFRAME
  577. QUEST1.Name = "QUEST1"
  578. QUEST1.BackgroundColor3 = Color3.new(255,255,255)
  579. QUEST1.BorderSizePixel = 0
  580. QUEST1.Position = UDim2.new(0, 0, 0, 0)
  581. QUEST1.Size = UDim2.new(0, 100, 0, 10)
  582. QUEST1.Font = Enum.Font.SourceSansLight
  583. QUEST1.Text = "MadThugQuest"
  584. QUEST1.TextSize = 10
  585. QUEST1.TextStrokeTransparency = 1
  586.  
  587. QUEST2.Parent = QUESTFRAME
  588. QUEST2.Name = "QUEST2"
  589. QUEST2.BackgroundColor3 = Color3.new(255,255,255)
  590. QUEST2.BorderSizePixel = 0
  591. QUEST2.Position = UDim2.new(0, 0, 0.026, 0)
  592. QUEST2.Size = UDim2.new(0, 100, 0, 10)
  593. QUEST2.Font = Enum.Font.SourceSansLight
  594. QUEST2.Text = "MafiaHenchmanQuest"
  595. QUEST2.TextSize = 10
  596. QUEST2.TextStrokeTransparency = 1
  597.  
  598. HEALTHSTAT.Parent = STATFRAME
  599. HEALTHSTAT.Name = "HEALTHSTAT"
  600. HEALTHSTAT.BackgroundColor3 = Color3.new(255,255,255)
  601. HEALTHSTAT.BorderSizePixel = 0
  602. HEALTHSTAT.Position = UDim2.new(0, 50, 0, 29)
  603. HEALTHSTAT.Size = UDim2.new(0, 140, 0, 10)
  604. HEALTHSTAT.Font = Enum.Font.SourceSansLight
  605. HEALTHSTAT.Text = "0"
  606. HEALTHSTAT.TextStrokeTransparency = 1
  607. HEALTHSTAT.TextSize = 10
  608.  
  609. STRENGTHSTAT.Parent = STATFRAME
  610. STRENGTHSTAT.Name = "STRENGTHSTAT"
  611. STRENGTHSTAT.BackgroundColor3 = Color3.new(255,255,255)
  612. STRENGTHSTAT.BorderSizePixel = 0
  613. STRENGTHSTAT.Position = UDim2.new(0, 50, 0, 20)
  614. STRENGTHSTAT.Size = UDim2.new(0, 140, 0, 10)
  615. STRENGTHSTAT.Font = Enum.Font.SourceSansLight
  616. STRENGTHSTAT.Text = "0"
  617. STRENGTHSTAT.TextStrokeTransparency = 1
  618. STRENGTHSTAT.TextSize = 10
  619.  
  620. LEVELSTAT.Parent = STATFRAME
  621. LEVELSTAT.Name = "LEVELSTAT"
  622. LEVELSTAT.BackgroundColor3 = Color3.new(255,255,255)
  623. LEVELSTAT.BorderSizePixel = 0
  624. LEVELSTAT.Position = UDim2.new(0, 50, 0, 0)
  625. LEVELSTAT.Size = UDim2.new(0, 140, 0, 10)
  626. LEVELSTAT.Font = Enum.Font.SourceSansLight
  627. LEVELSTAT.Text = "0"
  628. LEVELSTAT.TextStrokeTransparency = 1
  629. LEVELSTAT.TextSize = 10
  630.  
  631. SOULSSTAT.Parent = STATFRAME
  632. SOULSSTAT.Name = "SOULSSTAT"
  633. SOULSSTAT.BackgroundColor3 = Color3.new(255,255,255)
  634. SOULSSTAT.BorderSizePixel = 0
  635. SOULSSTAT.Position = UDim2.new(0, 50, 0, 39)
  636. SOULSSTAT.Size = UDim2.new(0, 140, 0, 10)
  637. SOULSSTAT.Font = Enum.Font.SourceSansLight
  638. SOULSSTAT.Text = "0"
  639. SOULSSTAT.TextStrokeTransparency = 1
  640. SOULSSTAT.TextSize = 10
  641.  
  642. CASHSTAT.Parent = STATFRAME
  643. CASHSTAT.Name = "CASHSTAT"
  644. CASHSTAT.BackgroundColor3 = Color3.new(255,255,255)
  645. CASHSTAT.BorderSizePixel = 0
  646. CASHSTAT.Position = UDim2.new(0, 50, 0, 10)
  647. CASHSTAT.Size = UDim2.new(0, 140, 0, 10)
  648. CASHSTAT.Font = Enum.Font.SourceSansLight
  649. CASHSTAT.Text = "0"
  650. CASHSTAT.TextStrokeTransparency = 1
  651. CASHSTAT.TextSize = 10
  652.  
  653. POINTSSTAT.Parent = STATFRAME
  654. POINTSSTAT.Name = "POINTSSTAT"
  655. POINTSSTAT.BackgroundColor3 = Color3.new(255,255,255)
  656. POINTSSTAT.BorderSizePixel = 0
  657. POINTSSTAT.Position = UDim2.new(0, 50, 0, 49)
  658. POINTSSTAT.Size = UDim2.new(0, 140, 0, 10)
  659. POINTSSTAT.Font = Enum.Font.SourceSansLight
  660. POINTSSTAT.Text = "0"
  661. POINTSSTAT.TextStrokeTransparency = 1
  662. POINTSSTAT.TextSize = 10
  663.  
  664. LEVELLABEL.Parent = STATFRAME
  665. LEVELLABEL.Name = "LEVELLABEL"
  666. LEVELLABEL.BackgroundColor3 = Color3.new(255,255,255)
  667. LEVELLABEL.BorderSizePixel = 0
  668. LEVELLABEL.Position = UDim2.new(0.005, 0, 0, 0)
  669. LEVELLABEL.Size = UDim2.new(0, 50, 0, 10)
  670. LEVELLABEL.Font = Enum.Font.SourceSansLight
  671. LEVELLABEL.Text = "LEVEL"
  672. LEVELLABEL.TextSize = 10
  673. LEVELLABEL.TextStrokeTransparency = 1
  674.  
  675. POINTSLABEL.Parent = STATFRAME
  676. POINTSLABEL.Name = "POINTSLABEL"
  677. POINTSLABEL.BackgroundColor3 = Color3.new(255,255,255)
  678. POINTSLABEL.BorderSizePixel = 0
  679. POINTSLABEL.Position = UDim2.new(0, 1, 0, 49)
  680. POINTSLABEL.Size = UDim2.new(0, 50, 0, 10)
  681. POINTSLABEL.Font = Enum.Font.SourceSansLight
  682. POINTSLABEL.Text = "POINTS"
  683. POINTSLABEL.TextSize = 10
  684. POINTSLABEL.TextStrokeTransparency = 1
  685.  
  686. HEALTHLABEL.Parent = STATFRAME
  687. HEALTHLABEL.Name = "HEALTHLABEL"
  688. HEALTHLABEL.BackgroundColor3 = Color3.new(255,255,255)
  689. HEALTHLABEL.BorderSizePixel = 0
  690. HEALTHLABEL.Position = UDim2.new(0, 1, 0, 29)
  691. HEALTHLABEL.Size = UDim2.new(0, 50, 0, 10)
  692. HEALTHLABEL.Font = Enum.Font.SourceSansLight
  693. HEALTHLABEL.Text = "HEALTH"
  694. HEALTHLABEL.TextSize = 10
  695. HEALTHLABEL.TextStrokeTransparency = 1
  696.  
  697. CASHLABEL.Parent = STATFRAME
  698. CASHLABEL.Name = "CASHLABEL"
  699. CASHLABEL.BackgroundColor3 = Color3.new(255,255,255)
  700. CASHLABEL.BorderSizePixel = 0
  701. CASHLABEL.Position = UDim2.new(0, 1, 0, 10)
  702. CASHLABEL.Size = UDim2.new(0, 50, 0, 10)
  703. CASHLABEL.Font = Enum.Font.SourceSansLight
  704. CASHLABEL.Text = "CASH"
  705. CASHLABEL.TextSize = 10
  706. CASHLABEL.TextStrokeTransparency = 1
  707.  
  708. SOULLABEL.Parent = STATFRAME
  709. SOULLABEL.Name = "SOULLABEL"
  710. SOULLABEL.BackgroundColor3 = Color3.new(255,255,255)
  711. SOULLABEL.BorderSizePixel = 0
  712. SOULLABEL.Position = UDim2.new(0, 1, 0, 39)
  713. SOULLABEL.Size = UDim2.new(0, 50, 0, 10)
  714. SOULLABEL.Font = Enum.Font.SourceSansLight
  715. SOULLABEL.Text = "SOULS"
  716. SOULLABEL.TextSize = 10
  717. SOULLABEL.TextStrokeTransparency = 1
  718.  
  719. STRENGTHLABEL.Parent = STATFRAME
  720. STRENGTHLABEL.Name = "STRENGTHLABEL"
  721. STRENGTHLABEL.BackgroundColor3 = Color3.new(255,255,255)
  722. STRENGTHLABEL.BorderSizePixel = 0
  723. STRENGTHLABEL.Position = UDim2.new(0, 1, 0, 20)
  724. STRENGTHLABEL.Size = UDim2.new(0, 50, 0, 10)
  725. STRENGTHLABEL.Font = Enum.Font.SourceSansLight
  726. STRENGTHLABEL.Text = "STRENGTH"
  727. STRENGTHLABEL.TextSize = 10
  728. STRENGTHLABEL.TextStrokeTransparency = 1
  729.  
  730. --[[
  731.     Main Functions
  732. --]]
  733.  
  734. local newpart = Instance.new("Part")
  735. newpart.Parent = game.Workspace
  736. newpart.Name = "Base"
  737. newpart.Anchored = true
  738. newpart.Position = Vector3.new(0,1500,0)
  739. newpart.Size = Vector3.new(2000,0.1,2000)
  740. newpart.Transparency = 0.9
  741.  
  742. local Quests = {
  743.     [1] = "MadThugQuest",
  744.     [2] = "ThugBossQuest",
  745.     [3] = "MafiaHenchmanQuest"
  746. }
  747.  
  748. local farm = false
  749. local toggle = true
  750. local autoboss = false
  751. local autopoint = false
  752. local autoprestige = true
  753. local autopkall = false
  754. local autopkplayer = false
  755. local event = game.ReplicatedStorage.Events.DemonWeaponDamage
  756. local healthfix = game.ReplicatedStorage.Events.HealthFix
  757. local prestige = game:GetService("ReplicatedStorage").Events.Prestige
  758. local addpoint = game:GetService("ReplicatedStorage").Events.AddingPointsE
  759. local player = game.Players.LocalPlayer
  760. local stat = player.Stats
  761. local quest = player.Stats.Quest
  762. local questtype = Quests[1]
  763. local Class
  764. local Classes = {
  765.     [1] = "Meister",
  766.     [2] = "Demon Weapon"
  767. }
  768.  
  769. if stat.Class.Value == 1 then
  770.     Class = Classes[1]
  771. else
  772.     Class = Classes[2]
  773. end
  774.  
  775. local questaccept = function()
  776.     local event = game.ReplicatedStorage.Events.QuestAccept
  777.     event:FireServer(questtype)
  778. end
  779.  
  780. TURNON.MouseButton1Down:connect(function()
  781.     farm = true
  782.     TURNON.Visible = false
  783.     TURNOFF.Visible = true
  784. end)
  785. TURNOFF.MouseButton1Down:connect(function()
  786.     farm = false
  787.     TURNOFF.Visible = false
  788.     TURNON.Visible = true
  789. end)
  790. AUTOPOINTON.MouseButton1Down:connect(function()
  791.     autopoint = false
  792.     AUTOPOINTON.Visible = false
  793.     AUTOPOINTOFF.Visible = true
  794. end)
  795. AUTOPOINTOFF.MouseButton1Down:connect(function()
  796.     autopoint = true
  797.     AUTOPOINTOFF.Visible = false
  798.     AUTOPOINTON.Visible = true
  799. end)
  800. AUTOBOSSON.MouseButton1Down:connect(function()
  801.     autoboss = false
  802.     questtype = Quests[3]
  803.     AUTOBOSSON.Visible = false
  804.     AUTOBOSSOFF.Visible = true
  805. end)
  806. AUTOBOSSOFF.MouseButton1Down:connect(function()
  807.     autoboss = true
  808.     questtype = Quests[2]
  809.     AUTOBOSSOFF.Visible = false
  810.     AUTOBOSSON.Visible = true
  811. end)
  812. AUTOPRESTIGEON.MouseButton1Down:connect(function()
  813.     autoprestige = false
  814.     AUTOPRESTIGEON.Visible = false
  815.     AUTOPRESTIGEOFF.Visible = true
  816. end)
  817. AUTOPRESTIGEOFF.MouseButton1Down:connect(function()
  818.     autoprestige = true
  819.     AUTOPRESTIGEOFF.Visible = false
  820.     AUTOPRESTIGEON.Visible = true
  821. end)
  822. AUTOPKON.MouseButton1Down:connect(function()
  823.     autopkall = false
  824.     AUTOPKON.Visible = false
  825.     AUTOPKOFF.Visible = true
  826. end)
  827. AUTOPKOFF.MouseButton1Down:connect(function()
  828.     autopkall = true
  829.     AUTOPKOFF.Visible = false
  830.     AUTOPKON.Visible = true
  831. end)
  832. AUTOPKPLAYEROFF.MouseButton1Down:connect(function()
  833.     autopkplayer = true
  834.     AUTOPKOFF.Visible = false
  835.     AUTOPKON.Visible = true
  836. end)
  837. AUTOPKPLAYERON.MouseButton1Down:connect(function()
  838.     autopkplayer = false
  839.     AUTOPKPLAYERON.Visible = false
  840.     AUTOPKOFF.Visible = true
  841. end)
  842. AUTOPKOFF.MouseButton1Down:connect(function()
  843.     autopkplayer = true
  844.     AUTOPKOFF.Visible = false
  845.     AUTOPKON.Visible = true
  846. end)
  847. QUEST1.MouseButton1Down:connect(function()
  848.     CURRENTQUEST.Text = "CURRENT QUEST : "..Quests[1]
  849.     questtype = Quests[1]
  850. end)
  851. QUEST2.MouseButton1Down:connect(function()
  852.     CURRENTQUEST.Text = "CURRENT QUEST : "..Quests[3]
  853.     questtype = Quests[3]
  854. end)
  855.  
  856. for k, v in next, game.Workspace:FindFirstChild("City"):GetChildren() do
  857.     if v.Name == "Mafia Henchman" then
  858.         v.Name = "MafiaHenchman1"
  859.         v.Parent = game.Workspace
  860.     end
  861. end
  862.  
  863. function check()
  864.     if autopkplayer == true then
  865.         local char = player.Character.HumanoidRootPart
  866.         char.CFrame = newpart.CFrame + Vector3.new(0,3,0)
  867.         for k, v in next, game.Players:GetChildren() do
  868.             if AUTOPKPLAYERBOX.Text == v.Name then
  869.                 if v.Character:FindFirstChild("HumanoidRootPart") then
  870.                 v.Character.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,-3.5)
  871.                 event:FireServer(math.random(3))
  872.                 healthfix:FireServer()
  873.                     if v.Character.Humanoid.Health == 0 then
  874.                         v.Character:Destroy()
  875.                             PK2LABEL.Text = "Last player killed : "..v.Name
  876.                         end
  877.                     end
  878.                 end
  879.             end
  880.         end
  881.     if farm == true then
  882.         TURNON.Visible = false
  883.         TURNOFF.Visible = true
  884.     else
  885.         MOB2LABEL.Text = "Enable auto-farm to start logs"
  886.         QUEST2LABEL.Text = "Enable auto-farm to start logs"
  887.         AUTOBOSS2LABEL.Text = "Enable auto-farm to start logs"
  888.         TURNON.Visible = true
  889.         TURNOFF.Visible = false
  890.     end
  891.     if autopoint == true then
  892.         AUTOPOINTON.Visible = true
  893.         AUTOPOINTOFF.Visible = false
  894.     else
  895.         AUTOPOINTON.Visible = false
  896.         AUTOPOINTOFF.Visible = true
  897.     end
  898.     if autoboss == true then
  899.         AUTOBOSSON.Visible = true
  900.         AUTOBOSSOFF.Visible = false
  901.     else
  902.         AUTOBOSSON.Visible = false
  903.         AUTOBOSSOFF.Visible = true
  904.     end
  905.     if autoprestige == true then
  906.         AUTOPRESTIGEON.Visible = true
  907.         AUTOPRESTIGEOFF.Visible = false
  908.     else
  909.         AUTOPRESTIGEON.Visible = false
  910.         AUTOPRESTIGEOFF.Visible = true
  911.     end
  912.     if autopkplayer == true then
  913.         AUTOPKPLAYERON.Visible = true
  914.         AUTOPKPLAYEROFF.Visible = false
  915.     else
  916.         AUTOPKPLAYERON.Visible = false
  917.         AUTOPKPLAYEROFF.Visible = true
  918.     end
  919.     if autopkall == true then
  920.         farm = false
  921.         event:FireServer(math.random(3))
  922.         healthfix:FireServer()
  923.         for k, v in next, game.Players:GetChildren() do
  924.             local char = player.Character.HumanoidRootPart
  925.             char.CFrame = newpart.CFrame + Vector3.new(0,3,0)
  926.             if v.Character then
  927.                 if v.Character:FindFirstChild("Humanoid") then
  928.                     if v.Character.Humanoid.Health == 0 then
  929.                         v.Character:Destroy()
  930.                         PK2LABEL.Text = "Last player killed : "..v.Name
  931.                     end
  932.                     if v.Name == player.Name then
  933.                         char.CFrame = newpart.CFrame + Vector3.new(0,3,0)
  934.                     elseif v.Name ~= player.Name then
  935.                         if game.Workspace:FindFirstChild(v.Name) then
  936.                         game.Workspace:FindFirstChild(v.Name):FindFirstChild("HumanoidRootPart").CFrame = player.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,-3.5)
  937.                         end
  938.                     end
  939.                 end
  940.             end
  941.         end
  942.         AUTOPKON.Visible = true
  943.         AUTOPKOFF.Visible = false
  944.     else
  945.         AUTOPKON.Visible = false
  946.         AUTOPKOFF.Visible = true
  947.     end
  948.     if autopoint then
  949.         addpoint:FireServer("strength")
  950.     end
  951.     if farm then
  952.         local char = player.Character.HumanoidRootPart
  953.         char.CFrame = newpart.CFrame + Vector3.new(0,3,0)
  954.         if questtype == Quests[1] then
  955.             local Mob = game.Workspace:FindFirstChild("Mad Thug")
  956.             if Mob then
  957.                     MOB2LABEL.Text = "Found Mob : "..Mob.Name
  958.                     if Mob:FindFirstChild("HumanoidRootPart") then
  959.                         Mob.HumanoidRootPart.Anchored = true
  960.                         Mob.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,-4)
  961.                     end
  962.                     event:FireServer(math.random(3))
  963.                     healthfix:FireServer()
  964.                 if Mob:FindFirstChild("Humanoid") then
  965.                     if Mob.Humanoid.Health == 0 then
  966.                         Mob:Destroy()
  967.                     end
  968.                 end
  969.             else
  970.                 MOB2LABEL.Text = "No Mobs: Mad Thug"
  971.             end
  972.         elseif questtype == Quests[2] then
  973.             local Mob
  974.             local Mob1
  975.                 if game.Workspace:FindFirstChild("ThugBoss") then
  976.                     event:FireServer(math.random(3))
  977.                     healthfix:FireServer()
  978.                     Mob = game.Workspace:FindFirstChild("ThugBoss")
  979.                     if Mob:FindFirstChild("HumanoidRootPart") then
  980.                         Mob.HumanoidRootPart.Anchored = true
  981.                         Mob.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,-4)
  982.                     end
  983.                     if Mob:FindFirstChild("Humanoid") then
  984.                         if Mob.Humanoid.Health == 0 then
  985.                             Mob:Destroy()
  986.                         end
  987.                     end
  988.                 else
  989.                     Mob = Mob1
  990.                     questtype = Quests[3]
  991.                 end
  992.             elseif questtype == Quests[3] then
  993.                 local Mobs = {
  994.                     [1] = "MafiaHenchman1",
  995.                     [2] = "MafiaHenchman2",
  996.                     [3] = "MafiaHenchman3",
  997.                     [4] = "MafiaHenchman4",
  998.                     [5] = "MafiaHenchman5"
  999.                 }
  1000.                 local Mob
  1001.                 if game.Workspace:FindFirstChild(Mobs[1]) or game.Workspace:FindFirstChild(Mobs[2]) or game.Workspace:FindFirstChild(Mobs[3]) or game.Workspace:FindFirstChild(Mobs[4]) or game.Workspace:FindFirstChild(Mobs[5])  then
  1002.                     event:FireServer(math.random(3))
  1003.                     healthfix:FireServer()
  1004.                     MOB2LABEL.Text = "Found Mob : MafiaHenchman"
  1005.                     for k, v in next, game.Workspace:GetChildren() do
  1006.                         if v.Name == Mobs[1] then
  1007.                             if v:FindFirstChild("HumanoidRootPart") then
  1008.                                 v.HumanoidRootPart.Anchored = true
  1009.                                 v.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,-6)
  1010.                             if v:FindFirstChild("Humanoid") then
  1011.                                 if v.Humanoid.Health == 0 then
  1012.                                     v:Destroy()
  1013.                                     end
  1014.                                 end
  1015.                             end
  1016.                         elseif v.Name == Mobs[2] then
  1017.                             if v:FindFirstChild("HumanoidRootPart") then
  1018.                                 v.HumanoidRootPart.Anchored = true
  1019.                                 v.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,-6)
  1020.                             if v:FindFirstChild("Humanoid") then
  1021.                                 if v.Humanoid.Health == 0 then
  1022.                                     v:Destroy()
  1023.                                     end
  1024.                                 end
  1025.                             end
  1026.                             elseif v.Name == Mobs[3] then
  1027.                             if v:FindFirstChild("HumanoidRootPart") then
  1028.                                 v.HumanoidRootPart.Anchored = true
  1029.                                 v.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,-6)
  1030.                             if v:FindFirstChild("Humanoid") then
  1031.                                 if v.Humanoid.Health == 0 then
  1032.                                     v:Destroy()
  1033.                                     end
  1034.                                 end
  1035.                             end
  1036.                             elseif v.Name == Mobs[4] then
  1037.                             if v:FindFirstChild("HumanoidRootPart") then
  1038.                                 v.HumanoidRootPart.Anchored = true
  1039.                                 v.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,-6)
  1040.                             if v:FindFirstChild("Humanoid") then
  1041.                                 if v.Humanoid.Health == 0 then
  1042.                                     v:Destroy()
  1043.                                     end
  1044.                                 end
  1045.                             end
  1046.                             elseif v.Name == Mobs[5] then
  1047.                             if v:FindFirstChild("HumanoidRootPart") then
  1048.                                 v.HumanoidRootPart.Anchored = true
  1049.                                 v.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,-6)
  1050.                             if v:FindFirstChild("Humanoid") then
  1051.                                 if v.Humanoid.Health == 0 then
  1052.                                     v:Destroy()
  1053.                                     end
  1054.                                 end
  1055.                             end
  1056.                         end
  1057.                     end
  1058.                     else
  1059.                     MOB2LABEL.Text = "No Mobs: MafiaHenchman"
  1060.                 end
  1061.             end
  1062.         end
  1063.     if farm == true then
  1064.             if quest.Value == questtype then
  1065.                 QUEST2LABEL.Text = "Quest found."
  1066.             elseif quest.Value ~= questtype then
  1067.                 questaccept()
  1068.             end
  1069.             if game.Workspace:FindFirstChild("City") then
  1070.                 game.Workspace:FindFirstChild("City").Parent = game.Lighting
  1071.             elseif game.Workspace:FindFirstChild("Mountains") then
  1072.                 game.Workspace:FindFirstChild("Mountains").Parent = game.Lighting
  1073.             elseif game.Workspace:FindFirstChild("Model") then
  1074.                 game.Workspace:FindFirstChild("Model").Parent = game.Lighting
  1075.             end
  1076.             elseif farm == false then
  1077.                 if autopkall == false then
  1078.             if game.Lighting:FindFirstChild("City") then
  1079.                 game.Lighting:FindFirstChild("City").Parent = game.Workspace
  1080.             elseif game.Lighting:FindFirstChild("Mountains") then
  1081.                 game.Lighting:FindFirstChild("Mountains").Parent = game.Workspace
  1082.             elseif game.Lighting:FindFirstChild("Model") then
  1083.                 game.Lighting:FindFirstChild("Model").Parent = game.Workspace
  1084.             end
  1085.             elseif farm == false then
  1086.                 if autopkall == true then
  1087.                     if game.Workspace:FindFirstChild("City") then
  1088.                         game.Workspace:FindFirstChild("City").Parent = game.Lighting
  1089.                     elseif game.Workspace:FindFirstChild("Mountains") then
  1090.                         game.Workspace:FindFirstChild("Mountains").Parent = game.Lighting
  1091.                     elseif game.Workspace:FindFirstChild("Model") then
  1092.                         game.Workspace:FindFirstChild("Model").Parent = game.Lighting
  1093.                     end
  1094.                 end
  1095.             end
  1096.         end
  1097.     if autoprestige == true then
  1098.         if stat.Stars.Value == 0 then
  1099.             if stat.Levels.Value == 100 then
  1100.                 prestige:FireServer()
  1101.             end
  1102.         elseif stat.Stars.Value == 1 then
  1103.             if stat.Levels.Value == 200 then
  1104.                 prestige:FireServer()
  1105.             end
  1106.         elseif stat.Stars.Value == 2 then
  1107.             if stat.Levels.Value == 300 then
  1108.                 prestige:FireServer()
  1109.             end
  1110.         end
  1111.     end
  1112.     STATUS.Text = "AUTO QUEST STATUS : "..tostring(farm)
  1113.     CLASS.Text = "CURRENT CLASS : "..Class
  1114.     CURRENTQUEST.Text = "CURRENT QUEST : "..questtype
  1115.     LEVELSTAT.Text = stat.Levels.Value
  1116.     SOULSSTAT.Text = stat.Soul.Value
  1117.     HEALTHSTAT.Text = stat.Health.Value
  1118.     STRENGTHSTAT.Text = stat.Strength.Value
  1119.     CASHSTAT.Text = stat.Cash.Value
  1120.     POINTSSTAT.Text = stat.TrainingPoints.Value
  1121.     if farm == true then
  1122.         if autoboss == true then
  1123.             if game.Workspace:FindFirstChild("ThugBoss") then
  1124.                 AUTOBOSS2LABEL.Text = "Boss has spawned."
  1125.                 questtype = Quests[2]
  1126.             else
  1127.             AUTOBOSS2LABEL.Text = "Boss has not spawned."
  1128.             questtype = Quests[3]
  1129.         end
  1130.             else
  1131.             AUTOBOSS2LABEL.Text = "Auto boss farm is disabled."
  1132.         end
  1133.     end
  1134. end
  1135.  
  1136. coroutine.resume(coroutine.create(function()
  1137.     game:GetService("RunService").RenderStepped:connect(function()
  1138.         check()
  1139.     end)
  1140. end))
  1141.  
  1142. --[[
  1143.     Closing/Opening
  1144. --]]
  1145.  
  1146. function onKeyPress(actionName, userInputState, inputObject)
  1147.     if userInputState == Enum.UserInputState.Begin then
  1148.         print("Left Control was pressed")
  1149.         if toggle == false then
  1150.              toggle = true
  1151.             wait(.5)
  1152.             FRAME.Visible = true
  1153.             FRAME:TweenPosition(UDim2.new(0.5,-100,0.5,-75))
  1154.         else
  1155.             toggle = false
  1156.             wait(.5)
  1157.             FRAME:TweenPosition(UDim2.new(FRAME.Position) + UDim2.new(FRAME.Position.X,3,0))
  1158.             wait(1)
  1159.             FRAME.Position = UDim2.new(-1,-100,0.5,-75)
  1160.             FRAME.Visible = false
  1161.         end
  1162.     end
  1163. end
  1164. game.ContextActionService:BindAction("keyPress", onKeyPress, false, Enum.KeyCode.LeftShift)
Add Comment
Please, Sign In to add comment