Advertisement
gilward

MM2 Gui Without God Script

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