FuZionPlayz

MM2 GUI

Oct 14th, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.52 KB | None | 0 0
  1. local MM2 = Instance.new("ScreenGui")
  2. local Main = Instance.new("Frame")
  3. local Piplup = Instance.new("ImageLabel")
  4. local MadeByMe = Instance.new("TextLabel")
  5. local isOn2 = Instance.new("TextLabel")
  6. local mCheck = Instance.new("TextLabel")
  7. local mSum = Instance.new("TextLabel")
  8. local sCheck = Instance.new("TextLabel")
  9. local sSum = Instance.new("TextLabel")
  10. local Hide = Instance.new("TextButton")
  11. local Shift = Instance.new("TextLabel")
  12. local Coin = Instance.new("TextLabel")
  13. local isOn1 = Instance.new("TextLabel")
  14. local KeyBind = Instance.new("TextLabel")
  15. local isOn3 = Instance.new("TextLabel")
  16. local isOn4 = Instance.new("TextLabel")
  17. local God = Instance.new("TextLabel")
  18. local Show = Instance.new("TextButton")
  19.  
  20. -- Properties
  21.  
  22. MM2.Name = "MM2"
  23. MM2.Parent = game.CoreGui
  24. MM2.ResetOnSpawn = false
  25.  
  26. Main.Name = "Main"
  27. Main.Parent = MM2
  28. Main.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  29. Main.BorderColor3 = Color3.new(0, 0.607843, 1)
  30. Main.BorderSizePixel = 5
  31. Main.Draggable = true
  32. Main.Position = UDim2.new(0.574999988, 0, 0.349999994, 0)
  33. Main.Size = UDim2.new(0.300000012, 0, 0.550000012, 0)
  34. Main.Visible = false
  35.  
  36. Piplup.Name = "Piplup"
  37. Piplup.Parent = Main
  38. Piplup.BackgroundColor3 = Color3.new(1, 1, 1)
  39. Piplup.BorderColor3 = Color3.new(0.129412, 0.54902, 1)
  40. Piplup.BorderSizePixel = 5
  41. Piplup.Draggable = true
  42. Piplup.Position = UDim2.new(0.600000024, 0, 0, 0)
  43. Piplup.Size = UDim2.new(0.400000006, 0, 0.200000003, 0)
  44. Piplup.ZIndex = 2
  45. Piplup.Image = "rbxassetid://885684262"
  46.  
  47. MadeByMe.Name = "MadeByMe"
  48. MadeByMe.Parent = Main
  49. MadeByMe.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  50. MadeByMe.BorderColor3 = Color3.new(0, 0.607843, 1)
  51. MadeByMe.BorderSizePixel = 5
  52. MadeByMe.Draggable = true
  53. MadeByMe.Size = UDim2.new(0.600000024, 0, 0.200000003, 0)
  54. MadeByMe.ZIndex = 3
  55. MadeByMe.Font = Enum.Font.SciFi
  56. MadeByMe.FontSize = Enum.FontSize.Size24
  57. MadeByMe.Text = "Made by Bubbles"
  58. MadeByMe.TextColor3 = Color3.new(0, 0.607843, 1)
  59. MadeByMe.TextScaled = true
  60. MadeByMe.TextSize = 20
  61. MadeByMe.TextStrokeColor3 = Color3.new(0.129412, 0.54902, 1)
  62. MadeByMe.TextWrapped = true
  63.  
  64. isOn2.Name = "isOn2"
  65. isOn2.Parent = Main
  66. isOn2.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  67. isOn2.BorderColor3 = Color3.new(0, 0.607843, 1)
  68. isOn2.BorderSizePixel = 5
  69. isOn2.Position = UDim2.new(0.714999974, 0, 0.600000024, 0)
  70. isOn2.Size = UDim2.new(0.280000001, 0, 0.100000001, 0)
  71. isOn2.ZIndex = 5
  72. isOn2.Font = Enum.Font.SciFi
  73. isOn2.FontSize = Enum.FontSize.Size18
  74. isOn2.Text = "Inactive"
  75. isOn2.TextColor3 = Color3.new(1, 0, 1)
  76. isOn2.TextSize = 18
  77. isOn2.TextStrokeColor3 = Color3.new(1, 0, 1)
  78. isOn2.TextStrokeTransparency = 0.69999998807907
  79. isOn2.TextWrapped = true
  80.  
  81. mCheck.Name = "mCheck"
  82. mCheck.Parent = Main
  83. mCheck.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  84. mCheck.BorderColor3 = Color3.new(0, 0.607843, 1)
  85. mCheck.BorderSizePixel = 5
  86. mCheck.Position = UDim2.new(0, 0, 0.36500001, 0)
  87. mCheck.Size = UDim2.new(0.5, 0, 0.115000002, 0)
  88. mCheck.ZIndex = 4
  89. mCheck.Font = Enum.Font.SciFi
  90. mCheck.FontSize = Enum.FontSize.Size24
  91. mCheck.Text = "Murderer [F]"
  92. mCheck.TextColor3 = Color3.new(1, 0, 0)
  93. mCheck.TextSize = 20
  94. mCheck.TextWrapped = true
  95.  
  96. mSum.Name = "mSum"
  97. mSum.Parent = Main
  98. mSum.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  99. mSum.BorderColor3 = Color3.new(0, 0.607843, 1)
  100. mSum.BorderSizePixel = 5
  101. mSum.Position = UDim2.new(0, 0, 0.485000014, 0)
  102. mSum.Size = UDim2.new(0.5, 0, 0.100000001, 0)
  103. mSum.ZIndex = 4
  104. mSum.Font = Enum.Font.SciFi
  105. mSum.FontSize = Enum.FontSize.Size24
  106. mSum.Text = "Name"
  107. mSum.TextColor3 = Color3.new(1, 0.607843, 0)
  108. mSum.TextSize = 20
  109. mSum.TextWrapped = true
  110.  
  111. sCheck.Name = "sCheck"
  112. sCheck.Parent = Main
  113. sCheck.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  114. sCheck.BorderColor3 = Color3.new(0, 0.607843, 1)
  115. sCheck.BorderSizePixel = 5
  116. sCheck.Position = UDim2.new(0.5, 0, 0.36500001, 0)
  117. sCheck.Size = UDim2.new(0.5, 0, 0.115000002, 0)
  118. sCheck.ZIndex = 3
  119. sCheck.Font = Enum.Font.SciFi
  120. sCheck.FontSize = Enum.FontSize.Size24
  121. sCheck.Text = "Sheriff [G]"
  122. sCheck.TextColor3 = Color3.new(0, 1, 1)
  123. sCheck.TextSize = 20
  124. sCheck.TextWrapped = true
  125.  
  126. sSum.Name = "sSum"
  127. sSum.Parent = Main
  128. sSum.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  129. sSum.BorderColor3 = Color3.new(0, 0.607843, 1)
  130. sSum.BorderSizePixel = 5
  131. sSum.Position = UDim2.new(0.5, 0, 0.485000014, 0)
  132. sSum.Size = UDim2.new(0.5, 0, 0.100000001, 0)
  133. sSum.ZIndex = 3
  134. sSum.Font = Enum.Font.SciFi
  135. sSum.FontSize = Enum.FontSize.Size24
  136. sSum.Text = "Name"
  137. sSum.TextColor3 = Color3.new(0, 1, 0.607843)
  138. sSum.TextSize = 20
  139. sSum.TextWrapped = true
  140.  
  141. Hide.Name = "Hide"
  142. Hide.Parent = Main
  143. Hide.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  144. Hide.BorderColor3 = Color3.new(0, 0.607843, 1)
  145. Hide.BorderSizePixel = 5
  146. Hide.Position = UDim2.new(0, 0, 0.925000012, 0)
  147. Hide.Size = UDim2.new(1, 0, 0.075000003, 0)
  148. Hide.ZIndex = 3
  149. Hide.Font = Enum.Font.SourceSans
  150. Hide.FontSize = Enum.FontSize.Size24
  151. Hide.Text = "Hide [X]"
  152. Hide.TextColor3 = Color3.new(0.470588, 0.333333, 1)
  153. Hide.TextScaled = true
  154. Hide.TextSize = 20
  155. Hide.TextWrapped = true
  156.  
  157. Shift.Name = "Shift"
  158. Shift.Parent = Main
  159. Shift.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  160. Shift.BorderColor3 = Color3.new(0, 0.607843, 1)
  161. Shift.BorderSizePixel = 5
  162. Shift.Position = UDim2.new(0, 0, 0.600000024, 0)
  163. Shift.Size = UDim2.new(0.699999988, 0, 0.100000001, 0)
  164. Shift.ZIndex = 4
  165. Shift.Font = Enum.Font.SciFi
  166. Shift.FontSize = Enum.FontSize.Size24
  167. Shift.Text = "Run [Shift]"
  168. Shift.TextColor3 = Color3.new(1, 1, 0)
  169. Shift.TextSize = 20
  170. Shift.TextWrapped = true
  171.  
  172. Coin.Name = "Coin"
  173. Coin.Parent = Main
  174. Coin.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  175. Coin.BorderColor3 = Color3.new(0, 0.607843, 1)
  176. Coin.BorderSizePixel = 5
  177. Coin.Position = UDim2.new(0, 0, 0.215000004, 0)
  178. Coin.Size = UDim2.new(0.699999988, 0, 0.135000005, 0)
  179. Coin.ZIndex = 4
  180. Coin.Font = Enum.Font.SciFi
  181. Coin.FontSize = Enum.FontSize.Size24
  182. Coin.Text = "Coin Grabber [C]"
  183. Coin.TextColor3 = Color3.new(0, 0.333333, 1)
  184. Coin.TextSize = 20
  185. Coin.TextWrapped = true
  186.  
  187. isOn1.Name = "isOn1"
  188. isOn1.Parent = Main
  189. isOn1.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  190. isOn1.BorderColor3 = Color3.new(0, 0.607843, 1)
  191. isOn1.BorderSizePixel = 5
  192. isOn1.Position = UDim2.new(0.720000029, 0, 0.215000004, 0)
  193. isOn1.Size = UDim2.new(0.280000001, 0, 0.135000005, 0)
  194. isOn1.ZIndex = 5
  195. isOn1.Font = Enum.Font.SciFi
  196. isOn1.FontSize = Enum.FontSize.Size18
  197. isOn1.Text = "Inactive"
  198. isOn1.TextColor3 = Color3.new(1, 0, 1)
  199. isOn1.TextSize = 18
  200. isOn1.TextStrokeColor3 = Color3.new(1, 0, 1)
  201. isOn1.TextStrokeTransparency = 0.69999998807907
  202. isOn1.TextWrapped = true
  203.  
  204. KeyBind.Name = "KeyBind"
  205. KeyBind.Parent = Main
  206. KeyBind.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  207. KeyBind.BorderColor3 = Color3.new(0, 0.607843, 1)
  208. KeyBind.BorderSizePixel = 5
  209. KeyBind.Position = UDim2.new(0, 0, 0.814999998, 0)
  210. KeyBind.Size = UDim2.new(0.699999988, 0, 0.0970000029, 0)
  211. KeyBind.ZIndex = 3
  212. KeyBind.Font = Enum.Font.SciFi
  213. KeyBind.FontSize = Enum.FontSize.Size18
  214. KeyBind.Text = "Key Binds [CTRL]"
  215. KeyBind.TextColor3 = Color3.new(1, 1, 1)
  216. KeyBind.TextSize = 15
  217. KeyBind.TextWrapped = true
  218.  
  219. isOn3.Name = "isOn3"
  220. isOn3.Parent = Main
  221. isOn3.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  222. isOn3.BorderColor3 = Color3.new(0, 0.607843, 1)
  223. isOn3.BorderSizePixel = 5
  224. isOn3.Position = UDim2.new(0.714999974, 0, 0.704999983, 0)
  225. isOn3.Size = UDim2.new(0.280000001, 0, 0.100000001, 0)
  226. isOn3.ZIndex = 4
  227. isOn3.Font = Enum.Font.SciFi
  228. isOn3.FontSize = Enum.FontSize.Size18
  229. isOn3.Text = "Inactive"
  230. isOn3.TextColor3 = Color3.new(1, 0, 1)
  231. isOn3.TextSize = 18
  232. isOn3.TextStrokeColor3 = Color3.new(1, 0, 1)
  233. isOn3.TextStrokeTransparency = 0.69999998807907
  234. isOn3.TextWrapped = true
  235.  
  236. isOn4.Name = "isOn4"
  237. isOn4.Parent = Main
  238. isOn4.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  239. isOn4.BorderColor3 = Color3.new(0, 0.607843, 1)
  240. isOn4.BorderSizePixel = 5
  241. isOn4.Position = UDim2.new(0.714999974, 0, 0.814999998, 0)
  242. isOn4.Size = UDim2.new(0.280000001, 0, 0.0970000029, 0)
  243. isOn4.ZIndex = 5
  244. isOn4.Font = Enum.Font.SciFi
  245. isOn4.FontSize = Enum.FontSize.Size14
  246. isOn4.Text = "Active"
  247. isOn4.TextColor3 = Color3.new(0, 1, 0)
  248. isOn4.TextSize = 14
  249. isOn4.TextStrokeColor3 = Color3.new(0, 1, 0)
  250. isOn4.TextStrokeTransparency = 0.69999998807907
  251. isOn4.TextWrapped = true
  252.  
  253. God.Name = "God"
  254. God.Parent = Main
  255. God.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  256. God.BorderColor3 = Color3.new(0, 0.607843, 1)
  257. God.BorderSizePixel = 5
  258. God.Position = UDim2.new(0, 0, 0.704999983, 0)
  259. God.Size = UDim2.new(0.699999988, 0, 0.100000001, 0)
  260. God.ZIndex = 3
  261. God.Font = Enum.Font.SciFi
  262. God.FontSize = Enum.FontSize.Size24
  263. God.Text = "God Mode [R]"
  264. God.TextColor3 = Color3.new(0, 1, 0.0313726)
  265. God.TextSize = 20
  266. God.TextWrapped = true
  267.  
  268. Show.Name = "Show"
  269. Show.Parent = MM2
  270. Show.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  271. Show.BorderColor3 = Color3.new(0, 0.607843, 1)
  272. Show.BorderSizePixel = 5
  273. Show.Position = UDim2.new(0.574999988, 0, 0.85799998, 0)
  274. Show.Size = UDim2.new(0.300000012, 0, 0.0399999991, 0)
  275. Show.Font = Enum.Font.SourceSans
  276. Show.FontSize = Enum.FontSize.Size24
  277. Show.Text = "Show [X]"
  278. Show.TextColor3 = Color3.new(0, 0.607843, 1)
  279. Show.TextScaled = true
  280. Show.TextSize = 20
  281. Show.TextWrapped = true
  282.  
  283.  
  284. --Variables
  285. local uis = game:GetService("UserInputService")
  286. local player = game.Players.LocalPlayer
  287. local mouse = game.Players.LocalPlayer:GetMouse()
  288. local insidePlayer = game.Players:GetChildren()
  289. local mouse = game.Players.LocalPlayer:GetMouse()
  290. local coinActive = false
  291. local runActive = false
  292. local godActive = false
  293. local keyOff = false
  294. --Hide / Show keybind [X]
  295.  
  296. Show.MouseButton1Click:connect(function()
  297. if Main.Visible == false then
  298. Main.Visible = true
  299. Show.Visible = false
  300. end
  301.  
  302. end)
  303.  
  304. Hide.MouseButton1Click:connect(function()
  305. if Main.Visible == true then
  306. Main.Visible = false
  307. Show.Visible = true
  308. end
  309.  
  310. end)
  311.  
  312. uis.InputBegan:connect(function(input, gpe)
  313. if input.KeyCode == Enum.KeyCode.X then
  314. if Main.Visible == false then
  315. Main.Visible = true
  316. Show.Visible = false
  317. else
  318. Main.Visible = false
  319. Show.Visible = true
  320. end
  321. end
  322. end)
  323. ------------------------Turn off keybinds [CTRL]
  324.  
  325. uis.InputBegan:connect(function(input, gpe)
  326. if input.KeyCode == Enum.KeyCode.LeftControl then
  327. if keyOff == false then
  328. keyOff = true
  329. isOn4.TextColor3 = Color3.new(255, 0, 255)
  330. isOn4.TextStrokeColor3 = isOn4.TextColor3
  331. isOn4.Text = "Inactive"
  332. else
  333. keyOff = false
  334. isOn4.TextColor3 = Color3.new(0, 255, 0)
  335. isOn4.TextStrokeColor3 = isOn4.TextColor3
  336. isOn4.Text = "Active"
  337. end
  338. end
  339. end)
  340.  
  341. ------------------------Find Murderer / Sheriff Function [F and G]
  342.  
  343. local function getMurderer()
  344. local allPlayers = game.Players:GetChildren()
  345. for i,v in pairs(allPlayers) do
  346. print'Step 1: Murderer'
  347. if v:FindFirstChild("Backpack") or v:FindFirstChild("Character")then
  348. print'Step 2: Murderer'
  349. if v.Backpack:FindFirstChild("Knife") or v.Character:FindFirstChild("Knife") then
  350. print'Knife has been found'
  351. local name = v.Name
  352. print("The Murderer is...", name)
  353. mSum.Text = name
  354. mSum.TextColor = v.Character.Torso.BrickColor
  355. end
  356. end
  357. end
  358. end
  359.  
  360. local function getSheriff()
  361. local allPlayers = game.Players:GetChildren()
  362. for i,v in pairs(allPlayers) do
  363. print'Step 1: Sheriff'
  364. if v:FindFirstChild("Backpack") or v:FindFirstChild("Character")then
  365. print'Step 2: Sheriff'
  366. if v.Backpack:FindFirstChild("Gun") or v.Character:FindFirstChild("Gun") then
  367. print'Gun has been found'
  368. local name = v.Name
  369. print("The Murderer is...", name)
  370. sSum.Text = name
  371. sSum.TextColor = v.Character.Torso.BrickColor
  372. end
  373. end
  374. end
  375. end
  376.  
  377. uis.InputBegan:connect(function(input,gpe)
  378. if input.KeyCode == Enum.KeyCode.F and keyOff == false then
  379. print'F has been counted'
  380. getMurderer()
  381. end
  382. end)
  383.  
  384.  
  385. uis.InputBegan:connect(function(input,gpe)
  386. if input.KeyCode == Enum.KeyCode.G and keyOff == false then
  387. print'G has been counted'
  388. getSheriff()
  389. end
  390. end)
  391.  
  392. ------------------------Coin Grabber Function [C]
  393.  
  394.  
  395. mouse.KeyDown:connect(function(key)
  396. if key == "c" and coinActive == false and keyOff == false then
  397. coinActive = true
  398. isOn1.TextColor3 = Color3.new(0, 255, 0)
  399. isOn1.TextStrokeColor3 = isOn1.TextColor3
  400. isOn1.Text = "Active"
  401.  
  402. local children = game.Workspace:GetChildren()
  403. for _, child in pairs(children) do
  404. for _, child in pairs(child:GetChildren()) do
  405. table.insert(children, child)
  406. end
  407.  
  408. if child:IsA("BasePart") and child.Name == "Coin" then
  409. child.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  410. end
  411. end
  412. end
  413. end)
  414.  
  415.  
  416. mouse.KeyUp:connect(function(key)
  417. if key == "c" and coinActive == true and keyOff == false then
  418. isOn1.TextColor3 = Color3.new(255, 0, 255)
  419. isOn1.TextStrokeColor3 = isOn1.TextColor3
  420. isOn1.Text = "Inactive"
  421. coinActive = false
  422. end
  423.  
  424. end)
  425.  
  426. ----------------------Shift to run script [Shift]
  427.  
  428. mouse.KeyDown:connect(function(KeyDown)
  429. if KeyDown == "0" and runActive == false and keyOff == false then
  430. runActive = true
  431. player.Character.Humanoid.WalkSpeed = 32
  432.  
  433. isOn2.TextColor3 = Color3.new(0, 255, 0)
  434. isOn2.TextStrokeColor3 = isOn2.TextColor3
  435. isOn2.Text = "Active"
  436. end
  437. end)
  438.  
  439. mouse.KeyUp:connect(function(KeyUp)
  440. if KeyUp == "0" and runActive == true and keyOff == false then
  441. runActive = false
  442. player.Character.Humanoid.WalkSpeed = 16
  443.  
  444. isOn2.TextColor3 = Color3.new(255, 0, 255)
  445. isOn2.TextStrokeColor3 = isOn2.TextColor3
  446. isOn2.Text = "Inactive"
  447. end
  448. end)
  449.  
  450. ----------------------God mode function [R]
  451. uis.InputBegan:connect(function(input, gpe)
  452. if input.KeyCode == Enum.KeyCode.R and player.Character and godActive == false and keyOff == false then
  453. if player.Character:FindFirstChild("Humanoid") then
  454. godActive = true
  455. player.Character.Humanoid.Name = "1"
  456. end
  457. isOn3.TextColor3 = Color3.new(0, 255, 0)
  458. isOn3.TextStrokeColor3 = isOn3.TextColor3
  459. isOn3.Text = "Active"
  460.  
  461. local l = player.Character["1"]:Clone()
  462. l.Parent = player.Character
  463. l.Name = "Humanoid"; wait(0.1)
  464. player.Character["1"]:Destroy()
  465. workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
  466. player.Character.Animate.Disabled = true; wait(0.1)
  467. player.Character.Animate.Disabled = false
  468.  
  469. local Debounce = Instance.new("BoolValue")
  470. Debounce.Name = "Debounce"
  471. Debounce.Parent = player.Character
  472. local findDebounce = player.Character:FindFirstChild('Debounce')
  473.  
  474. repeat
  475. player.Character:FindFirstChild('Debounce')
  476. wait(5)
  477. until not player.Character:FindFirstChild('Debounce')
  478.  
  479. isOn3.TextColor3 = Color3.new(255, 0, 255)
  480. isOn3.TextStrokeColor3 = isOn3.TextColor3
  481. isOn3.Text = "Inactive"
  482. godActive = false
  483. end
  484. end)
Add Comment
Please, Sign In to add comment