Jjgames

MM2FULLAUTOSCRIPT

Mar 24th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.36 KB | None | 0 0
  1. --[[
  2.  
  3. __ __ __ __ ___ _ __ _____
  4. | \/ | \/ |__ \ /\ | | \ \ / /__ \
  5. | \ / | \ / | ) | / \ _ _| |_ ___ \ \ / / ) |
  6. | |\/| | |\/| | / / / /\ \| | | | __/ _ \ \ \/ / / /
  7. | | | | | | |/ /_ / ____ \ |_| | || (_) | \ / / /_
  8. |_| |_|_| |_|____| /_/ \_\__,_|\__\___/ \/ |____|
  9.  
  10.  
  11. --]]
  12.  
  13. if game.GameId == 66654135 then
  14. local blur = Instance.new("BlurEffect")
  15. local Intro = Instance.new("ScreenGui")
  16. local Header = Instance.new("TextLabel")
  17. local SubHeader = Instance.new("TextLabel")
  18.  
  19. blur.Parent = game.Lighting
  20. blur.Size = 0
  21.  
  22. Intro.Name = "Intro"
  23. Intro.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  24. Intro.ResetOnSpawn = false
  25.  
  26. Header.Name = "Header"
  27. Header.Parent = Intro
  28. Header.AnchorPoint = Vector2.new(0.5, 0.5)
  29. Header.BackgroundColor3 = Color3.new(1, 1, 1)
  30. Header.BackgroundTransparency = 1
  31. Header.BorderSizePixel = 0
  32. Header.Position = UDim2.new(0.5, 0, 0.5, 0)
  33. Header.Size = UDim2.new(0.300000012, 0, 0.100000001, 0)
  34. Header.Font = Enum.Font.SourceSansBold
  35. Header.Text = "MM2 Auto V2"
  36. Header.TextColor3 = Color3.new(1, 1, 1)
  37. Header.TextScaled = true
  38. Header.TextSize = 14
  39. Header.TextTransparency = 1
  40. Header.TextWrapped = true
  41.  
  42. SubHeader.Name = "SubHeader"
  43. SubHeader.Parent = Intro
  44. SubHeader.AnchorPoint = Vector2.new(0.5, 0.5)
  45. SubHeader.BackgroundColor3 = Color3.new(1, 1, 1)
  46. SubHeader.BackgroundTransparency = 1
  47. SubHeader.BorderSizePixel = 0
  48. SubHeader.Position = UDim2.new(0.5, 0, 0.58395803, 0)
  49. SubHeader.Size = UDim2.new(0.200000003, 0, 0.0700000003, 0)
  50. SubHeader.Font = Enum.Font.SourceSansSemibold
  51. SubHeader.Text = "Made by DemonizedFetus"
  52. SubHeader.TextColor3 = Color3.new(0, 0, 0)
  53. SubHeader.TextScaled = true
  54. SubHeader.TextSize = 14
  55. SubHeader.TextTransparency = 1
  56. SubHeader.TextWrapped = true
  57.  
  58. for i = 0,20 do
  59. wait()
  60. blur.Size = i
  61. end
  62. for i = 10,1,-1 do
  63. Header.TextTransparency = i/10
  64. SubHeader.TextTransparency = i/10
  65. wait()
  66. end
  67.  
  68. wait(3.2)
  69.  
  70. for i = 0,10 do
  71. Header.TextTransparency = i/10
  72. SubHeader.TextTransparency = i/10
  73. wait()
  74. end
  75. for i = 20,1,-1 do
  76. wait()
  77. blur.Size = i
  78. end
  79.  
  80. local MM2AutoV2 = Instance.new("ScreenGui")
  81. local Hub = Instance.new("Frame")
  82. local Info = Instance.new("TextButton")
  83. local Icon = Instance.new("ImageLabel")
  84. local Title = Instance.new("TextLabel")
  85. local Settings = Instance.new("TextButton")
  86. local Icon_2 = Instance.new("ImageLabel")
  87. local Title_2 = Instance.new("TextLabel")
  88. local Donate = Instance.new("TextButton")
  89. local Icon_3 = Instance.new("ImageLabel")
  90. local Title_3 = Instance.new("TextLabel")
  91. local Header = Instance.new("TextLabel")
  92. local Task = Instance.new("TextLabel")
  93. local Settings_2 = Instance.new("Frame")
  94. local Title_4 = Instance.new("Frame")
  95. local Title_5 = Instance.new("TextLabel")
  96. local SettingsHolder = Instance.new("Frame")
  97. local UIGridLayout = Instance.new("UIGridLayout")
  98. local Info_2 = Instance.new("Frame")
  99. local InfoHolder = Instance.new("Frame")
  100. local Credits = Instance.new("TextLabel")
  101. local YtInfo = Instance.new("TextLabel")
  102. local YtHeader = Instance.new("TextLabel")
  103. local CopyHeader = Instance.new("TextLabel")
  104. local CopyInfo = Instance.new("TextLabel")
  105. local Title_6 = Instance.new("Frame")
  106. local Title_7 = Instance.new("TextLabel")
  107. local Donate_2 = Instance.new("Frame")
  108. local DonateHolder = Instance.new("Frame")
  109. local Info_3 = Instance.new("TextLabel")
  110. local DonationButtons = Instance.new("Frame")
  111. local UIGridLayout_2 = Instance.new("UIGridLayout")
  112. local Donate5 = Instance.new("TextButton")
  113. local Donate10 = Instance.new("TextButton")
  114. local Donate50 = Instance.new("TextButton")
  115. local Donate100 = Instance.new("TextButton")
  116. local Donate500 = Instance.new("TextButton")
  117. local Donate1000 = Instance.new("TextButton")
  118. local Title_8 = Instance.new("Frame")
  119. local Title_9 = Instance.new("TextLabel")
  120.  
  121. MM2AutoV2.Name = "MM2AutoV2"
  122. MM2AutoV2.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  123. MM2AutoV2.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  124. MM2AutoV2.ResetOnSpawn = false
  125.  
  126. Hub.Name = "Hub"
  127. Hub.Parent = MM2AutoV2
  128. Hub.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  129. Hub.BackgroundTransparency = 0.5
  130. Hub.BorderSizePixel = 0
  131. Hub.Position = UDim2.new(0.17, 0,1, -55)
  132. Hub.Size = UDim2.new(0, 150, 0, 50)
  133.  
  134. Info.Name = "Info"
  135. Info.Parent = Hub
  136. Info.BackgroundColor3 = Color3.new(1, 1, 1)
  137. Info.BackgroundTransparency = 1
  138. Info.Position = UDim2.new(0, 50, 0, 0)
  139. Info.Size = UDim2.new(0, 50, 0, 50)
  140. Info.ZIndex = 2
  141. Info.Font = Enum.Font.SourceSansBold
  142. Info.Text = ""
  143. Info.TextColor3 = Color3.new(1, 1, 1)
  144. Info.TextSize = 14
  145. Info.TextStrokeTransparency = 0.69999998807907
  146. Info.TextWrapped = true
  147. Info.TextYAlignment = Enum.TextYAlignment.Bottom
  148.  
  149. Icon.Name = "Icon"
  150. Icon.Parent = Info
  151. Icon.BackgroundColor3 = Color3.new(1, 1, 1)
  152. Icon.BackgroundTransparency = 1
  153. Icon.Position = UDim2.new(0, 3, 0, 3)
  154. Icon.Size = UDim2.new(1, -6, 1, -6)
  155. Icon.Image = "rbxassetid://2979400646"
  156.  
  157. Title.Name = "Title"
  158. Title.Parent = Info
  159. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  160. Title.BackgroundTransparency = 1
  161. Title.Size = UDim2.new(1, 0, 1, -3)
  162. Title.Font = Enum.Font.SourceSansBold
  163. Title.Text = "Info"
  164. Title.TextColor3 = Color3.new(1, 1, 1)
  165. Title.TextSize = 14
  166. Title.TextStrokeTransparency = 0.69999998807907
  167. Title.TextWrapped = true
  168. Title.TextYAlignment = Enum.TextYAlignment.Bottom
  169.  
  170. Settings.Name = "Settings"
  171. Settings.Parent = Hub
  172. Settings.BackgroundColor3 = Color3.new(1, 1, 1)
  173. Settings.BackgroundTransparency = 1
  174. Settings.Size = UDim2.new(0, 50, 0, 50)
  175. Settings.Font = Enum.Font.SourceSansBold
  176. Settings.Text = ""
  177. Settings.TextColor3 = Color3.new(1, 1, 1)
  178. Settings.TextSize = 14
  179. Settings.TextStrokeTransparency = 0.69999998807907
  180. Settings.TextYAlignment = Enum.TextYAlignment.Bottom
  181.  
  182. Icon_2.Name = "Icon"
  183. Icon_2.Parent = Settings
  184. Icon_2.BackgroundColor3 = Color3.new(1, 1, 1)
  185. Icon_2.BackgroundTransparency = 1
  186. Icon_2.Position = UDim2.new(0, 2, 0, 2)
  187. Icon_2.Size = UDim2.new(1, -4, 1, -4)
  188. Icon_2.Image = "rbxassetid://2979397756"
  189.  
  190. Title_2.Name = "Title"
  191. Title_2.Parent = Settings
  192. Title_2.BackgroundColor3 = Color3.new(1, 1, 1)
  193. Title_2.BackgroundTransparency = 1
  194. Title_2.Size = UDim2.new(1, 0, 1, -3)
  195. Title_2.Font = Enum.Font.SourceSansBold
  196. Title_2.Text = "Settings"
  197. Title_2.TextColor3 = Color3.new(1, 1, 1)
  198. Title_2.TextSize = 14
  199. Title_2.TextStrokeTransparency = 0.69999998807907
  200. Title_2.TextYAlignment = Enum.TextYAlignment.Bottom
  201.  
  202. Donate.Name = "Donate"
  203. Donate.Parent = Hub
  204. Donate.BackgroundColor3 = Color3.new(1, 1, 1)
  205. Donate.BackgroundTransparency = 1
  206. Donate.Position = UDim2.new(0, 100, 0, 0)
  207. Donate.Size = UDim2.new(0, 50, 0, 50)
  208. Donate.ZIndex = 2
  209. Donate.Font = Enum.Font.SourceSansBold
  210. Donate.Text = ""
  211. Donate.TextColor3 = Color3.new(1, 1, 1)
  212. Donate.TextSize = 14
  213. Donate.TextStrokeTransparency = 0.69999998807907
  214. Donate.TextWrapped = true
  215. Donate.TextYAlignment = Enum.TextYAlignment.Bottom
  216.  
  217. Icon_3.Name = "Icon"
  218. Icon_3.Parent = Donate
  219. Icon_3.BackgroundColor3 = Color3.new(1, 1, 1)
  220. Icon_3.BackgroundTransparency = 1
  221. Icon_3.Position = UDim2.new(0, 3, 0, 3)
  222. Icon_3.Size = UDim2.new(1, -6, 1, -6)
  223. Icon_3.Image = "rbxassetid://2979370758"
  224.  
  225. Title_3.Name = "Title"
  226. Title_3.Parent = Donate
  227. Title_3.BackgroundColor3 = Color3.new(1, 1, 1)
  228. Title_3.BackgroundTransparency = 1
  229. Title_3.Size = UDim2.new(1, 0, 1, -3)
  230. Title_3.Font = Enum.Font.SourceSansBold
  231. Title_3.Text = "Donate"
  232. Title_3.TextColor3 = Color3.new(1, 1, 1)
  233. Title_3.TextSize = 14
  234. Title_3.TextStrokeTransparency = 0.69999998807907
  235. Title_3.TextWrapped = true
  236. Title_3.TextYAlignment = Enum.TextYAlignment.Bottom
  237.  
  238. Header.Name = "Header"
  239. Header.Parent = Hub
  240. Header.AnchorPoint = Vector2.new(0, 1)
  241. Header.BackgroundColor3 = Color3.new(1, 1, 1)
  242. Header.BackgroundTransparency = 1
  243. Header.Position = UDim2.new(0, 0, -0.300000012, 0)
  244. Header.Size = UDim2.new(1, 0, 0.300000012, 0)
  245. Header.Font = Enum.Font.SourceSansBold
  246. Header.Text = "MM2 Auto V2"
  247. Header.TextColor3 = Color3.new(1, 1, 1)
  248. Header.TextSize = 14
  249. Header.TextStrokeTransparency = 0.69999998807907
  250.  
  251. Task.Name = "Task"
  252. Task.Parent = Hub
  253. Task.AnchorPoint = Vector2.new(0, 1)
  254. Task.BackgroundColor3 = Color3.new(1, 1, 1)
  255. Task.BackgroundTransparency = 1
  256. Task.Size = UDim2.new(1, 0, 0.300000012, 0)
  257. Task.Font = Enum.Font.SourceSansItalic
  258. Task.Text = "Task: None"
  259. Task.TextColor3 = Color3.new(1, 1, 1)
  260. Task.TextScaled = true
  261. Task.TextSize = 14
  262. Task.TextStrokeTransparency = 0.69999998807907
  263. Task.TextWrapped = true
  264.  
  265. Settings_2.Name = "Settings"
  266. Settings_2.Parent = MM2AutoV2
  267. Settings_2.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  268. Settings_2.BackgroundTransparency = 0.10000000149012
  269. Settings_2.BorderColor3 = Color3.new(0, 0, 0)
  270. Settings_2.BorderSizePixel = 0
  271. Settings_2.ClipsDescendants = true
  272. Settings_2.Position = UDim2.new(0.5, -250, 0.5, -200)
  273. Settings_2.Size = UDim2.new(0, 500, 0, 400)
  274. Settings_2.Visible = false
  275.  
  276. Title_4.Name = "Title"
  277. Title_4.Parent = Settings_2
  278. Title_4.BackgroundColor3 = Color3.new(1, 1, 1)
  279. Title_4.Size = UDim2.new(1.62, -310, 0, 45)
  280. Title_4.Style = Enum.FrameStyle.DropShadow
  281.  
  282. Title_5.Name = "Title"
  283. Title_5.Parent = Title_4
  284. Title_5.BackgroundColor3 = Color3.new(1, 1, 1)
  285. Title_5.BackgroundTransparency = 1
  286. Title_5.Size = UDim2.new(1, 0, 1, 0)
  287. Title_5.Font = Enum.Font.SourceSansBold
  288. Title_5.Text = "MM2 Auto V2 - Settings"
  289. Title_5.TextColor3 = Color3.new(1, 1, 1)
  290. Title_5.TextScaled = true
  291. Title_5.TextSize = 32
  292. Title_5.TextStrokeTransparency = 0.69999998807907
  293. Title_5.TextWrapped = true
  294.  
  295. SettingsHolder.Name = "SettingsHolder"
  296. SettingsHolder.Parent = Settings_2
  297. SettingsHolder.BackgroundColor3 = Color3.new(1, 1, 1)
  298. SettingsHolder.Position = UDim2.new(0, 0, 0.100000001, 0)
  299. SettingsHolder.Size = UDim2.new(0, 500, 0, 360)
  300. SettingsHolder.Style = Enum.FrameStyle.DropShadow
  301.  
  302. UIGridLayout.Parent = SettingsHolder
  303. UIGridLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  304. UIGridLayout.VerticalAlignment = Enum.VerticalAlignment.Center
  305. UIGridLayout.CellSize = UDim2.new(0, 170, 0, 50)
  306.  
  307. Info_2.Name = "Info"
  308. Info_2.Parent = MM2AutoV2
  309. Info_2.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  310. Info_2.BackgroundTransparency = 0.10000000149012
  311. Info_2.BorderColor3 = Color3.new(0, 0, 0)
  312. Info_2.BorderSizePixel = 0
  313. Info_2.Position = UDim2.new(0.5, -200, 0.5, -150)
  314. Info_2.Size = UDim2.new(0, 400, 0, 300)
  315. Info_2.Visible = false
  316.  
  317. InfoHolder.Name = "InfoHolder"
  318. InfoHolder.Parent = Info_2
  319. InfoHolder.BackgroundColor3 = Color3.new(1, 1, 1)
  320. InfoHolder.Position = UDim2.new(0, 0, 0, 45)
  321. InfoHolder.Size = UDim2.new(1, 0, 1, -45)
  322. InfoHolder.Style = Enum.FrameStyle.DropShadow
  323.  
  324. Credits.Name = "Credits"
  325. Credits.Parent = InfoHolder
  326. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  327. Credits.BackgroundTransparency = 1
  328. Credits.BorderSizePixel = 0
  329. Credits.Size = UDim2.new(1, 0, 0.200000003, 0)
  330. Credits.Font = Enum.Font.SourceSansItalic
  331. Credits.Text = "MM2 Auto V2™ was developed and designed by DemonizedFetus. No code has been taken from any other source and was written by none other than DemonizedFetus. "
  332. Credits.TextColor3 = Color3.new(1, 1, 1)
  333. Credits.TextScaled = true
  334. Credits.TextSize = 14
  335. Credits.TextWrapped = true
  336. Credits.TextXAlignment = Enum.TextXAlignment.Left
  337. Credits.TextYAlignment = Enum.TextYAlignment.Top
  338.  
  339. YtInfo.Name = "YtInfo"
  340. YtInfo.Parent = InfoHolder
  341. YtInfo.BackgroundColor3 = Color3.new(1, 1, 1)
  342. YtInfo.BackgroundTransparency = 1
  343. YtInfo.BorderSizePixel = 0
  344. YtInfo.Position = UDim2.new(0, 0, 0.349999994, 0)
  345. YtInfo.Size = UDim2.new(1, 0, 0.200000003, 0)
  346. YtInfo.Font = Enum.Font.SourceSansItalic
  347. YtInfo.Text = "We appreciate any content on Youtube/any other media sharing sites. Although we do ask that you give credit where it is due and link the original V3rmillion thread in your video."
  348. YtInfo.TextColor3 = Color3.new(1, 1, 1)
  349. YtInfo.TextScaled = true
  350. YtInfo.TextSize = 14
  351. YtInfo.TextWrapped = true
  352. YtInfo.TextXAlignment = Enum.TextXAlignment.Left
  353. YtInfo.TextYAlignment = Enum.TextYAlignment.Top
  354.  
  355. YtHeader.Name = "YtHeader"
  356. YtHeader.Parent = InfoHolder
  357. YtHeader.BackgroundColor3 = Color3.new(1, 1, 1)
  358. YtHeader.BackgroundTransparency = 1
  359. YtHeader.BorderSizePixel = 0
  360. YtHeader.Position = UDim2.new(0, 0, 0.25, 0)
  361. YtHeader.Size = UDim2.new(1, 0, 0.100000001, 0)
  362. YtHeader.Font = Enum.Font.SourceSansBold
  363. YtHeader.Text = "Youtube Policy"
  364. YtHeader.TextColor3 = Color3.new(1, 0, 0)
  365. YtHeader.TextScaled = true
  366. YtHeader.TextSize = 14
  367. YtHeader.TextWrapped = true
  368. YtHeader.TextYAlignment = Enum.TextYAlignment.Top
  369.  
  370. CopyHeader.Name = "CopyHeader"
  371. CopyHeader.Parent = InfoHolder
  372. CopyHeader.BackgroundColor3 = Color3.new(1, 1, 1)
  373. CopyHeader.BackgroundTransparency = 1
  374. CopyHeader.BorderSizePixel = 0
  375. CopyHeader.Position = UDim2.new(0, 0, 0.649999976, 0)
  376. CopyHeader.Size = UDim2.new(1, 0, 0.100000001, 0)
  377. CopyHeader.Font = Enum.Font.SourceSansBold
  378. CopyHeader.Text = "Open-Source/Copying Policy"
  379. CopyHeader.TextColor3 = Color3.new(0.333333, 0, 1)
  380. CopyHeader.TextScaled = true
  381. CopyHeader.TextSize = 14
  382. CopyHeader.TextWrapped = true
  383. CopyHeader.TextYAlignment = Enum.TextYAlignment.Top
  384.  
  385. CopyInfo.Name = "CopyInfo"
  386. CopyInfo.Parent = InfoHolder
  387. CopyInfo.BackgroundColor3 = Color3.new(1, 1, 1)
  388. CopyInfo.BackgroundTransparency = 1
  389. CopyInfo.BorderSizePixel = 0
  390. CopyInfo.Position = UDim2.new(0, 0, 0.75, 0)
  391. CopyInfo.Size = UDim2.new(1, 0, 0.200000003, 0)
  392. CopyInfo.Font = Enum.Font.SourceSansItalic
  393. CopyInfo.Text = "MM2 Auto V2™ is an open source script, it is completely acceptable to copy some of the code into your work but we do ask that you give credit for taking our code."
  394. CopyInfo.TextColor3 = Color3.new(1, 1, 1)
  395. CopyInfo.TextScaled = true
  396. CopyInfo.TextSize = 14
  397. CopyInfo.TextWrapped = true
  398. CopyInfo.TextXAlignment = Enum.TextXAlignment.Left
  399. CopyInfo.TextYAlignment = Enum.TextYAlignment.Top
  400.  
  401. Title_6.Name = "Title"
  402. Title_6.Parent = Info_2
  403. Title_6.BackgroundColor3 = Color3.new(1, 1, 1)
  404. Title_6.Size = UDim2.new(1, 0, 0, 50)
  405. Title_6.Style = Enum.FrameStyle.DropShadow
  406.  
  407. Title_7.Name = "Title"
  408. Title_7.Parent = Title_6
  409. Title_7.BackgroundColor3 = Color3.new(1, 1, 1)
  410. Title_7.BackgroundTransparency = 1
  411. Title_7.Size = UDim2.new(1, 0, 1, 0)
  412. Title_7.Font = Enum.Font.SourceSansBold
  413. Title_7.Text = "MM2 Auto V2 - Info"
  414. Title_7.TextColor3 = Color3.new(1, 1, 1)
  415. Title_7.TextScaled = true
  416. Title_7.TextSize = 32
  417. Title_7.TextStrokeTransparency = 0.69999998807907
  418. Title_7.TextWrapped = true
  419.  
  420. Donate_2.Name = "Donate"
  421. Donate_2.Parent = MM2AutoV2
  422. Donate_2.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  423. Donate_2.BackgroundTransparency = 0.10000000149012
  424. Donate_2.BorderColor3 = Color3.new(0, 0, 0)
  425. Donate_2.BorderSizePixel = 0
  426. Donate_2.Position = UDim2.new(0.5, -200, 0.5, -150)
  427. Donate_2.Size = UDim2.new(0, 400, 0, 300)
  428. Donate_2.Visible = false
  429.  
  430. DonateHolder.Name = "DonateHolder"
  431. DonateHolder.Parent = Donate_2
  432. DonateHolder.BackgroundColor3 = Color3.new(1, 1, 1)
  433. DonateHolder.Position = UDim2.new(0, 0, 0, 45)
  434. DonateHolder.Size = UDim2.new(1, 0, 1, -45)
  435. DonateHolder.Style = Enum.FrameStyle.DropShadow
  436.  
  437. Info_3.Name = "Info"
  438. Info_3.Parent = DonateHolder
  439. Info_3.BackgroundColor3 = Color3.new(1, 1, 1)
  440. Info_3.BackgroundTransparency = 1
  441. Info_3.BorderSizePixel = 0
  442. Info_3.Size = UDim2.new(1, 0, 0.25, 0)
  443. Info_3.Font = Enum.Font.SourceSansItalic
  444. Info_3.Text = "Countless hours have been spent developing this GUI but this was not created with the intent to profit, any donations would be greatly appreciated as it is a great motivator for updates. I received quite a few donations from the original MM2 Auto and that was what motivated me to make this one"
  445. Info_3.TextColor3 = Color3.new(1, 1, 1)
  446. Info_3.TextScaled = true
  447. Info_3.TextSize = 14
  448. Info_3.TextWrapped = true
  449. Info_3.TextXAlignment = Enum.TextXAlignment.Left
  450. Info_3.TextYAlignment = Enum.TextYAlignment.Top
  451.  
  452. DonationButtons.Name = "DonationButtons"
  453. DonationButtons.Parent = DonateHolder
  454. DonationButtons.BackgroundColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  455. DonationButtons.BorderSizePixel = 0
  456. DonationButtons.Position = UDim2.new(0, 0, 0.270000011, 0)
  457. DonationButtons.Size = UDim2.new(1, 0, 0.730000019, 0)
  458.  
  459. UIGridLayout_2.Parent = DonationButtons
  460. UIGridLayout_2.HorizontalAlignment = Enum.HorizontalAlignment.Center
  461. UIGridLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
  462. UIGridLayout_2.VerticalAlignment = Enum.VerticalAlignment.Center
  463. UIGridLayout_2.CellSize = UDim2.new(0.400000006, -4, 0.200000003, -4)
  464.  
  465. Donate5.Name = "Donate5"
  466. Donate5.Parent = DonationButtons
  467. Donate5.BackgroundColor3 = Color3.new(1, 1, 1)
  468. Donate5.Size = UDim2.new(0, 200, 0, 50)
  469. Donate5.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  470. Donate5.Font = Enum.Font.SourceSansSemibold
  471. Donate5.Text = "5R$"
  472. Donate5.TextColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  473. Donate5.TextScaled = true
  474. Donate5.TextSize = 14
  475. Donate5.TextWrapped = true
  476.  
  477. Donate10.Name = "Donate10"
  478. Donate10.Parent = DonationButtons
  479. Donate10.BackgroundColor3 = Color3.new(1, 1, 1)
  480. Donate10.Size = UDim2.new(0, 200, 0, 50)
  481. Donate10.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  482. Donate10.Font = Enum.Font.SourceSansSemibold
  483. Donate10.Text = "10R$"
  484. Donate10.TextColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  485. Donate10.TextScaled = true
  486. Donate10.TextSize = 14
  487. Donate10.TextWrapped = true
  488.  
  489. Donate50.Name = "Donate50"
  490. Donate50.Parent = DonationButtons
  491. Donate50.BackgroundColor3 = Color3.new(1, 1, 1)
  492. Donate50.Size = UDim2.new(0, 200, 0, 50)
  493. Donate50.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  494. Donate50.Font = Enum.Font.SourceSansSemibold
  495. Donate50.Text = "50R$"
  496. Donate50.TextColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  497. Donate50.TextScaled = true
  498. Donate50.TextSize = 14
  499. Donate50.TextWrapped = true
  500.  
  501. Donate100.Name = "Donate100"
  502. Donate100.Parent = DonationButtons
  503. Donate100.BackgroundColor3 = Color3.new(1, 1, 1)
  504. Donate100.Size = UDim2.new(0, 200, 0, 50)
  505. Donate100.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  506. Donate100.Font = Enum.Font.SourceSansSemibold
  507. Donate100.Text = "100R$"
  508. Donate100.TextColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  509. Donate100.TextScaled = true
  510. Donate100.TextSize = 14
  511. Donate100.TextWrapped = true
  512.  
  513. Donate500.Name = "Donate500"
  514. Donate500.Parent = DonationButtons
  515. Donate500.BackgroundColor3 = Color3.new(1, 1, 1)
  516. Donate500.Size = UDim2.new(0, 200, 0, 50)
  517. Donate500.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  518. Donate500.Font = Enum.Font.SourceSansSemibold
  519. Donate500.Text = "500R$"
  520. Donate500.TextColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  521. Donate500.TextScaled = true
  522. Donate500.TextSize = 14
  523. Donate500.TextWrapped = true
  524.  
  525. Donate1000.Name = "Donate1000"
  526. Donate1000.Parent = DonationButtons
  527. Donate1000.BackgroundColor3 = Color3.new(1, 1, 1)
  528. Donate1000.Size = UDim2.new(0, 200, 0, 50)
  529. Donate1000.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  530. Donate1000.Font = Enum.Font.SourceSansSemibold
  531. Donate1000.Text = "1000R$"
  532. Donate1000.TextColor3 = Color3.new(0.254902, 0.254902, 0.254902)
  533. Donate1000.TextScaled = true
  534. Donate1000.TextSize = 14
  535. Donate1000.TextWrapped = true
  536.  
  537. Title_8.Name = "Title"
  538. Title_8.Parent = Donate_2
  539. Title_8.BackgroundColor3 = Color3.new(1, 1, 1)
  540. Title_8.Size = UDim2.new(1, 0, 0, 50)
  541. Title_8.Style = Enum.FrameStyle.DropShadow
  542.  
  543. Title_9.Name = "Title"
  544. Title_9.Parent = Title_8
  545. Title_9.BackgroundColor3 = Color3.new(1, 1, 1)
  546. Title_9.BackgroundTransparency = 1
  547. Title_9.Size = UDim2.new(1, 0, 1, 0)
  548. Title_9.Font = Enum.Font.SourceSansBold
  549. Title_9.Text = "MM2 Auto V2 - Donate"
  550. Title_9.TextColor3 = Color3.new(1, 1, 1)
  551. Title_9.TextScaled = true
  552. Title_9.TextSize = 32
  553. Title_9.TextStrokeTransparency = 0.69999998807907
  554. Title_9.TextWrapped = true
  555.  
  556. -----------------------------------------------------------------------------------------------------------------------------------------------------
  557. --UI Toggling
  558. local openUI
  559.  
  560. Donate.MouseButton1Click:Connect(function()
  561. if openUI ~= Donate_2 then
  562. if openUI ~= nil then
  563. openUI.Visible = false
  564. end
  565. Donate_2.Visible = true
  566. openUI = Donate_2
  567. else
  568. openUI = nil
  569. Donate_2.Visible = false
  570. end
  571. end)
  572.  
  573. Info.MouseButton1Click:Connect(function()
  574. if openUI ~= Info_2 then
  575. if openUI ~= nil then
  576. openUI.Visible = false
  577. end
  578. Info_2.Visible = true
  579. openUI = Info_2
  580. else
  581. openUI = nil
  582. Info_2.Visible = false
  583. end
  584. end)
  585.  
  586. Settings.MouseButton1Click:Connect(function()
  587. if openUI ~= Settings_2 then
  588. if openUI ~= nil then
  589. openUI.Visible = false
  590. end
  591. Settings_2.Visible = true
  592. openUI = Settings_2
  593. else
  594. openUI = nil
  595. Settings_2.Visible = false
  596. end
  597. end)
  598.  
  599. -----------------------------------------------------------------------------------------------------------------------------------------------------
  600. --Settings/Variables
  601.  
  602. local Players = game.Players
  603. local Player = Players.LocalPlayer
  604. local Lobby = true
  605. local Dead = true
  606. local lobby
  607.  
  608. local function newTask(msg)
  609. Task.Text = "Task: "..msg
  610. end
  611. local SettingsTable = {
  612. GuiRunning = {
  613. Name = "GUI Running",
  614. Default = true,
  615. Value = true,
  616. },
  617. FindNewServer = {
  618. Name = "Find new server",
  619. Default = false,
  620. Btn1 = "Join",
  621. Btn2 = "Joining..",
  622. Func = function() newTask("Teleporting") game:GetService("TeleportService"):Teleport(142823291, Player) end
  623. },
  624. CustomLobby = {
  625. Name = "Custom Lobby",
  626. Default = true,
  627. Value = true,
  628. Func = function(unload) print("Lobby action") if unload == true then lobby = game:GetObjects("rbxassetid://2988765860")[1] lobby.Parent = workspace lobby:MoveTo(Vector3.new(-243.793, 379.8, 139.683)) else lobby:Destroy() end end
  629. },
  630. ResetCharacter = {
  631. Name = "Reset Character",
  632. Default = false,
  633. Btn1 = "Reset",
  634. Btn2 = "Reset",
  635. Func = function() newTask("Waiting for character") repeat wait() until Player.Character Player.Character.Humanoid.Health = 0 end
  636. },
  637. AutoKillAsMurderer = {
  638. Name = "Auto Kill As Murderer",
  639. Default = true,
  640. Value = true,
  641. },
  642. AutoKillAsSheriff = {
  643. Name = "Auto Kill As Sheriff",
  644. Default = true,
  645. Value = true,
  646. },
  647. AutoGrabGun = {
  648. Name = "Auto Grab Gun",
  649. Default = true,
  650. Value = true,
  651. },
  652. AutoCollectCoins = {
  653. Name = "Auto Collect Coins",
  654. Default = true,
  655. Value = true,
  656. },
  657. AutoNoYou = {
  658. Name = "Auto 'No u'",
  659. Default = true,
  660. Value = true
  661. },
  662. }
  663.  
  664. local function newSetting(n,Data)
  665. local Setting = Instance.new("Frame")
  666. local SettingName = Instance.new("TextLabel")
  667. local SettingToggle = Instance.new("TextButton")
  668. Setting.Name = n
  669. Setting.Parent = SettingsHolder
  670. Setting.BackgroundColor3 = Color3.new(1, 1, 1)
  671. Setting.BackgroundTransparency = 0.75
  672. Setting.BorderSizePixel = 0
  673. Setting.Size = UDim2.new(0, 100, 0, 100)
  674. SettingName.Name = "SettingName"
  675. SettingName.Parent = Setting
  676. SettingName.BackgroundColor3 = Color3.new(1, 1, 1)
  677. SettingName.BackgroundTransparency = 1
  678. SettingName.BorderSizePixel = 0
  679. SettingName.Size = UDim2.new(1, 0, 0.300000012, 0)
  680. SettingName.Font = Enum.Font.SourceSansBold
  681. SettingName.Text = Data.Name
  682. SettingName.TextColor3 = Color3.new(1, 1, 1)
  683. SettingName.TextScaled = true
  684. SettingName.TextSize = 14
  685. SettingName.TextStrokeTransparency = 0.69999998807907
  686. SettingName.TextWrapped = true
  687. SettingToggle.Name = "SettingToggle"
  688. SettingToggle.Parent = Setting
  689. SettingToggle.AnchorPoint = Vector2.new(0.5, 0)
  690. SettingToggle.BackgroundColor3 = Color3.new(1, 1, 1)
  691. SettingToggle.BorderSizePixel = 0
  692. SettingToggle.Position = UDim2.new(0.5, 0, 0.400000006, 0)
  693. SettingToggle.Size = UDim2.new(0.899999976, 0, 0.5, 0)
  694. SettingToggle.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  695. SettingToggle.Font = Enum.Font.SourceSansSemibold
  696. if Data.Default == true then
  697. if Data.Value == true then
  698. SettingToggle.Text = "On"
  699. else
  700. SettingToggle.Text = "Off"
  701. end
  702. else
  703. SettingToggle.Text = Data.Btn1
  704. end
  705. SettingToggle.TextColor3 = Color3.new(0.168627, 0.164706, 0.164706)
  706. SettingToggle.TextSize = 14
  707. SettingToggle.TextWrapped = true
  708. if Data.Default == true and Data.Func then
  709. Data.Func(Data.Value)
  710. end
  711. SettingToggle.MouseButton1Click:Connect(function()
  712. if Data.Default == true then
  713. if Data.Value == true then
  714. Data.Value = false
  715. SettingToggle.Text = "Off"
  716. else
  717. Data.Value = true
  718. SettingToggle.Text = "On"
  719. end
  720. if Data.Func then
  721. Data.Func(Data.Value)
  722. end
  723. else
  724. SettingToggle.Text = Data.Btn2
  725. Data.Func()
  726. end
  727. end)
  728. end
  729.  
  730. for i,tab in pairs(SettingsTable) do
  731. newSetting(i,tab)
  732. end
  733.  
  734. -----------------------------------------------------------------------------------------------------------------------------------------------------
  735. --Automatic no u to hacking accusations
  736.  
  737. local function bindPlayer(Plr)
  738. if Plr and SettingsTable.AutoNoYou.Value == true then
  739. Plr.Chatted:Connect(function(msg)
  740. if string.match(string.lower(msg),string.lower(Player.Name)) or string.match(string.lower(msg), "hacker") then
  741. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("No u", "normalchat")
  742. end
  743. end)
  744. end
  745. end
  746.  
  747. for _,v in pairs(game.Players:GetChildren()) do
  748. if v ~= Player then
  749. bindPlayer(v)
  750. end
  751. end
  752.  
  753. game.Players.PlayerAdded:Connect(function(plr)
  754. bindPlayer(plr)
  755. end)
  756.  
  757. -----------------------------------------------------------------------------------------------------------------------------------------------------
  758. --Donations
  759.  
  760. local DonationItems = {
  761. [Donate5] = 2342466498,
  762. [Donate10] = 2770616801,
  763. [Donate50] = 2992188070,
  764. [Donate100] = 2992193055,
  765. [Donate500] = 2992194970,
  766. [Donate1000] = 2992198744
  767. }
  768.  
  769. for i,v in pairs(DonationItems) do
  770. i.MouseButton1Click:Connect(function()
  771. game:GetService("MarketplaceService"):PromptPurchase(Player, v)
  772. end)
  773. end
  774.  
  775. -----------------------------------------------------------------------------------------------------------------------------------------------------
  776. --Functions
  777.  
  778. local function weaponCheck()
  779. local Sheriff
  780. local Murderer
  781. for _,v in pairs(Players:GetChildren()) do
  782. if v.Character then
  783. if v.Backpack:FindFirstChild("Gun") then Sheriff = v end
  784. if v.Character:FindFirstChild("Revolver") then Sheriff = v end
  785. if v.Backpack:FindFirstChild("Revolver") then Sheriff = v end
  786. if v.Character:FindFirstChild("Gun") then Sheriff = v end
  787. if v.Backpack:FindFirstChild("Knife") and Sheriff ~= v then Murderer = v end
  788. if v.Character:FindFirstChild("Knife") and Sheriff ~= v then Murderer = v end
  789. end
  790. wait()
  791. end
  792. return Sheriff, Murderer
  793. end
  794.  
  795. local function getCoins()
  796. local max = 0
  797. local current = 0
  798. local roundOver = false
  799. local owns = game:GetService("MarketplaceService"):UserOwnsGamePassAsync(Player.UserId, 429957)
  800. if owns then
  801. max = 15
  802. else
  803. max = 10
  804. end
  805. repeat wait()
  806. if Player.Character then
  807. local char = Player.Character
  808. for _,v in pairs(workspace:GetDescendants()) do
  809. if v.Name == "Coin" then
  810. v.CFrame = char.HumanoidRootPart.CFrame
  811. end
  812. end
  813. end
  814. if Player.PlayerGui.MainGUI.Game.Waiting.Visible == true then roundOver = true end
  815. local s,m = weaponCheck()
  816. if m == nil then roundOver = true end
  817. wait(0.5)
  818. until tonumber(Player.PlayerGui.MainGUI.Game.CashBag.Coins.Text) == max or roundOver == true
  819. end
  820.  
  821. local function getEquipped()
  822. local weapon
  823. local equipped = false
  824. for i = 1,4 do
  825. if Player.Backpack:FindFirstChild("Gun") then weapon = Player.Backpack:FindFirstChild("Gun") end
  826. if Player.Backpack:FindFirstChild("Revolver") then weapon = Player.Backpack:FindFirstChild("Revolver") end
  827. if Player.Character:FindFirstChild("Revolver") then weapon = Player.Character:FindFirstChild("Revolver") equipped = true end
  828. if Player.Character:FindFirstChild("Gun") then weapon = Player.Character:FindFirstChild("Gun") equipped = true end
  829. if Player.Backpack:FindFirstChild("Knife") then weapon = Player.Backpack:FindFirstChild("Knife") end
  830. if Player.Character:FindFirstChild("Knife") then weapon = Player.Character:FindFirstChild("Knife") equipped = true end
  831. wait()
  832. end
  833. return weapon, equipped
  834. end
  835.  
  836. local function killMurderer(override)
  837. newTask("Checking character")
  838. wait()
  839. repeat wait() until Player.Character
  840. if SettingsTable.AutoCollectCoins.Value == true and not override then
  841. getCoins()
  842. end
  843. local w,e = getEquipped()
  844. if e == false then
  845. Player.Character.Humanoid:EquipTool(w)
  846. end
  847. local done = false
  848. pcall(function()
  849. repeat
  850. local s,m = weaponCheck()
  851. if m == nil then
  852. done = true
  853. else
  854. Player.Character.HumanoidRootPart.CFrame = m.Character.HumanoidRootPart.CFrame * CFrame.new(-1.5,0,4)
  855. wait(0.2)
  856. pcall(function()
  857. if w and w.Handle then
  858. local c = (w.Handle.CFrame * CFrame.new(0,1,0)).p
  859. w.KnifeServer.SlashStart:FireServer(1,c)
  860. end
  861. end)
  862. end
  863. wait()
  864. until done == true or not w or not w:FindFirstChild("Handle")
  865. end)
  866. end
  867.  
  868. local function killAll()
  869. newTask("Checking character")
  870. wait()
  871. repeat wait() until Player.Character
  872. if SettingsTable.AutoCollectCoins.Value == true then
  873. getCoins()
  874. end
  875. local w,e = getEquipped()
  876. if e == false then
  877. Player.Character.Humanoid:EquipTool(w)
  878. end
  879. local done = false
  880. repeat
  881. local s,m = weaponCheck()
  882. if m == nil then
  883. done = true
  884. else
  885. for _,v in pairs(game.Players:GetChildren()) do
  886. if v.Character and Player.Character then
  887. Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,1)
  888. pcall(function()
  889. w.Stab:FireServer()
  890. end)
  891. wait(0.2)
  892. end
  893. end
  894. end
  895. wait()
  896. until done == true
  897. end
  898.  
  899. local function grabGun()
  900. newTask("Grab gun attempt")
  901. if workspace:FindFirstChild("GunDrop") then
  902. newTask("Grabbing gun")
  903. workspace:FindFirstChild("GunDrop").CFrame = Player.Character.HumanoidRootPart.CFrame
  904. wait(0.1)
  905. Player.Character.HumanoidRootPart.CFrame = CFrame.new(-117.138885, 137.671158, 30.7387695, -0.707485378, -5.87169557e-09, 0.706727982, 1.58277551e-08, 1, 2.41529996e-08, -0.706727982, 2.82738117e-08, -0.707485378)
  906. killMurderer(true)
  907. end
  908. end
  909.  
  910. local function hide(override)
  911. newTask("Waiting for character")
  912. wait()
  913. repeat wait() until Player.Character
  914. if SettingsTable.CustomLobby.Value == false then
  915. Player.Character.HumanoidRootPart.CFrame = CFrame.new(-117.138885, 137.671158, 30.7387695, -0.707485378, -5.87169557e-09, 0.706727982, 1.58277551e-08, 1, 2.41529996e-08, -0.706727982, 2.82738117e-08, -0.707485378)
  916. else
  917. Player.Character.HumanoidRootPart.CFrame = lobby.Attach.CFrame
  918. end
  919. if SettingsTable.AutoCollectCoins.Value == true then
  920. getCoins()
  921. end
  922. local d
  923. repeat
  924. local s,m = weaponCheck()
  925. if m == nil then d = true end
  926. if not override and SettingsTable.AutoGrabGun.Value == true then
  927. print("Grab Attempt")
  928. grabGun()
  929. end
  930. wait(0.5)
  931. until d
  932. end
  933.  
  934. -----------------------------------------------------------------------------------------------------------------------------------------------------
  935. --Loop
  936.  
  937. while true do
  938. if SettingsTable.GuiRunning.Value == true then
  939. local s,m = weaponCheck()
  940. if Player.Character and m then
  941. Player.Character.Humanoid.Died:Connect(function()
  942. Dead = true
  943. end)
  944. end
  945. if m == nil then
  946. Lobby = true
  947. Dead = false
  948. elseif Dead == true and m ~= nil then
  949. print("Dead, game running")
  950. else
  951. local w,e = getEquipped()
  952. Lobby = false
  953. if w == nil then
  954. print("Innocent")
  955. hide()
  956. elseif w.Name ~= "Knife" then
  957. print("Sheriff")
  958. if SettingsTable.AutoKillAsSheriff.Value == true then
  959. killMurderer()
  960. else
  961. hide(true)
  962. end
  963. elseif w.Name == "Knife" then
  964. if SettingsTable.AutoKillAsMurderer.Value == true then
  965. killAll()
  966. else
  967. hide(true)
  968. end
  969. end
  970. end
  971. end
  972. wait(0.5)
  973. end
  974. end
Add Comment
Please, Sign In to add comment