Advertisement
halfdan_dk

MM2 GUI Script

Aug 28th, 2021
4,700
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 43.08 KB | None | 0 0
  1. if game.PlaceId == 142823291 then --Proofing just because ;)
  2. -- Made By Seniti X (ZippyRB on Pastebin)
  3. --Note: Don't reset with godmode on or you will be stuck on a black screen for a reasonable amount of time
  4. --Change to false if you dont like printing to console
  5. local printvar = true
  6. --Change to true if you want to see names instead of murderer, sheriff, and innocents with esp
  7. local espnames = true
  8. --Change keybinds to your liking
  9. local coinkey = "c" --Coin grabber keybind
  10. local MSkey = "m" --Murderer/Sheriff esp keybind
  11. local playerskey = "q" --All players esp keybind
  12. local espoffkey = "b" --Turn esp off keybind
  13. local flykey = "f" --Fly keybind
  14. local noclipkey = "r" --Noclip keybind
  15. local godmodekey = "g" --Godmode keybind
  16. local xrayonkey = "x" --Xray on keybind
  17. local xrayoffkey = "z" --Xray off keybind
  18. local bringgunkey = "t" --Teleport to gun keybind
  19. local hideshowguikey = "p" --Show/Hide gui keybind
  20. --End of easy customization options
  21.  
  22. --Gui Buttons and Status--
  23. local MM2 = Instance.new("ScreenGui")
  24. local Main = Instance.new("Frame")
  25. local Title = Instance.new("TextLabel")
  26. local Coin = Instance.new("TextButton")
  27. local MSEsp = Instance.new("TextButton")
  28. local MSESPActive = Instance.new("TextLabel")
  29. local PlayersEsp = Instance.new("TextButton")
  30. local PlayersEspActive = Instance.new("TextLabel")
  31. local EspOff = Instance.new("TextButton")
  32. local EspOffActive = Instance.new("TextLabel")
  33. local Run = Instance.new("TextButton")
  34. local RunActiveGui = Instance.new("TextLabel")
  35. local Fly = Instance.new("TextButton")
  36. local FlyActive = Instance.new("TextLabel")
  37. local Noclip = Instance.new("TextButton")
  38. local NoclipActive = Instance.new("TextLabel")
  39. local GodMode = Instance.new("TextButton")
  40. local GodModeActive = Instance.new("TextLabel")
  41. local GuiXrayOn = Instance.new("TextButton")
  42. local GuiXrayOnActive = Instance.new("TextLabel")
  43. local GuiXrayOff = Instance.new("TextButton")
  44. local GuiXrayOffActive = Instance.new("TextLabel")
  45. local BringGun = Instance.new("TextButton")
  46. local Keybinds = Instance.new("TextButton")
  47. local KeybindsActive = Instance.new("TextLabel")
  48. local Hide = Instance.new("TextButton")
  49. local Show = Instance.new("TextButton")
  50.  
  51. --Other Variables
  52. local runActive = false
  53. local teamname = "None"
  54. local murderer = "None"
  55. local sheriff = "None"
  56. local player = game:GetService("Players").LocalPlayer
  57.  
  58. local esp = false
  59. local plresp
  60. local track = false
  61.  
  62. local NClip = false
  63. local char = game.Players.LocalPlayer.Character
  64. local obj = game.workspace
  65. local mouse=game.Players.LocalPlayer:GetMouse()
  66. local LP = game:GetService("Players").LocalPlayer
  67. local flyvar = false
  68.  
  69. local showvar = true
  70. local inputcode = game:GetService("UserInputService")
  71. local godmodevar = false
  72. local keyOff = false
  73. local NClip = false
  74.  
  75. --Start of Gui--
  76. MM2.Name = "MM2"
  77. MM2.Parent = game.CoreGui
  78. MM2.ResetOnSpawn = false
  79.  
  80. Main.Name = "Main"
  81. Main.Parent = MM2
  82. Main.BackgroundColor3 = Color3.new(0, 0, 0)
  83. Main.BorderColor3 = Color3.new(1, 1, 1)
  84. Main.BorderSizePixel = 0.8
  85. Main.Draggable = true
  86. Main.Position = UDim2.new(0.574999988, 0, 0.349999994, 0)
  87. Main.Size = UDim2.new(0.2, 0, 0.4, 0)
  88. Main.Visible = true
  89. Main.Active = true
  90.  
  91. Title.Name = "Title"
  92. Title.Parent = Main
  93. Title.BackgroundColor3 = Color3.new(0, 0, 0)
  94. Title.BorderColor3 = Color3.new(1, 1, 1)
  95. Title.BorderSizePixel = 0.8
  96. Title.Draggable = true
  97. Title.Size = UDim2.new(1.005, 0, 0.2, 0)
  98. Title.ZIndex = 3
  99. Title.Font = Enum.Font.SciFi
  100. Title.FontSize = Enum.FontSize.Size24
  101. Title.Text = "Murder Mystery 2"
  102. Title.TextColor3 = Color3.new(1, 1, 1)
  103. Title.TextScaled = true
  104. Title.TextSize = 20
  105. Title.TextStrokeColor3 = Color3.new(0.129412, 0.54902, 1)
  106. Title.TextWrapped = true
  107.  
  108. --Start of functions for buttons--
  109. function Create(base, team, colors1, colors2, colors3, teamname) --For all esps
  110.     local bb = Instance.new("BillboardGui",player.PlayerGui)
  111.     bb.Adornee = base
  112.     bb.ExtentsOffset = Vector3.new(0,1,0)
  113.     bb.AlwaysOnTop = true
  114.     bb.Size = UDim2.new(0,5,0,5)
  115.     bb.StudsOffset = Vector3.new(0,1,0)
  116.     bb.Name = "tracker"
  117.     local frame = Instance.new("Frame",bb)
  118.     frame.ZIndex = 10
  119.     frame.BackgroundTransparency = 0.3
  120.     frame.Size = UDim2.new(1,0,1,0)
  121.     local txtlbl = Instance.new("TextLabel",bb)
  122.     txtlbl.ZIndex = 10
  123.     txtlbl.Text = teamname
  124.     txtlbl.BackgroundTransparency = 1
  125.     txtlbl.Position = UDim2.new(0,0,0,-35)
  126.     txtlbl.Size = UDim2.new(1,0,10,0)
  127.     txtlbl.Font = "ArialBold"
  128.     txtlbl.FontSize = "Size12"
  129.     txtlbl.TextStrokeTransparency = 0.5
  130.     if team then --For teams, left over from origianl but never removed
  131.         txtlbl.TextColor3 = Color3.new(1,1,1)
  132.         frame.BackgroundColor3 = Color3.new(0,0,0)
  133.     else
  134.         txtlbl.TextColor3 = Color3.new(colors1,colors2,colors3)
  135.         frame.BackgroundColor3 = Color3.new(colors1,colors2,colors3)
  136.     end
  137. end
  138.  
  139. function findmurderer() --Find who the murderer is
  140.     local colors1 = 255
  141.     local colors2 = 0
  142.     local colors3 = 0
  143.     for i, v in pairs(game:GetService("Players"):GetChildren()) do
  144.         if v ~= game:GetService("Players").LocalPlayer then
  145.             for i,v in pairs(v.Backpack:GetChildren()) do --Checks backpack for knife
  146.                 if v.Name == "Knife" then
  147.                     if espnames == true then
  148.                         local teamname = v.Parent.Parent.Name
  149.                         if v.Parent.Parent.Character.Head ~= nil then
  150.                             Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
  151.                         else
  152.                             if printvar == true then
  153.                                 print("Head missing from murderer!")
  154.                             end
  155.                         end
  156.                     elseif espnames == false then
  157.                         local teamname = "Murderer"
  158.                         if v.Parent.Parent.Character.Head ~= nil then
  159.                             Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
  160.                         else
  161.                             if printvar == true then
  162.                                 print("Head missing from murderer!")
  163.                             end
  164.                         end
  165.                     end
  166.                     murderer = v.Parent.Parent.Name
  167.                     if printvar == true then
  168.                         print(murderer.." is Murderer")
  169.                     end
  170.                 end
  171.             end
  172.             for i,v in pairs(v.Character:GetChildren()) do --Checks workspace player for knife (holding it)
  173.                 if v.Name == "Knife" then
  174.                     if espnames == true then
  175.                         local teamname = v.Parent.Name
  176.                         if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
  177.                             Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
  178.                         else
  179.                             if printvar == true then
  180.                                 print("Head missing from murderer!")
  181.                             end
  182.                         end
  183.                     elseif espnames == false then
  184.                         local teamname = "Murderer"
  185.                         if v.Parent.Head ~= nil then
  186.                             Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
  187.                         else
  188.                             if printvar == true then
  189.                                 print("Head missing from murderer!")
  190.                             end
  191.                         end
  192.                     end
  193.                     murderer = v.Parent.Name
  194.                     if printvar == true then --Tried to failproof to stop printing nil
  195.                         local murderer1 = tostring(v.Parent.Name)
  196.                         print(murderer1.." is Murderer")
  197.                     end
  198.                 end
  199.             end
  200.         end
  201.     end
  202. end
  203.    
  204. function findsheriff() --Find who the sheriff is
  205.     local colors1 = 0
  206.     local colors2 = 0
  207.     local colors3 = 255
  208.     for i, v in pairs(game:GetService("Players"):GetChildren()) do
  209.         if v ~= game:GetService("Players").LocalPlayer then
  210.             for i,v in pairs(v.Backpack:GetChildren()) do
  211.                 if v.Name == "Revolver" or v.Name == "Gun" then --Lazy to check if its revolver or gun and checks backpack for gun
  212.                     if espnames == true then
  213.                         local teamname = v.Parent.Parent.Name
  214.                         if v.Parent.Parent.Character.Head ~= nil then --Tried to failproof to stop printing nil
  215.                             Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
  216.                         else
  217.                             if printvar == true then
  218.                                 print("Head missing from sheriff!")
  219.                             end
  220.                         end
  221.                     elseif espnames == false then
  222.                         local teamname = "Sheriff"
  223.                         if v.Parent.Parent.Character.Head ~= nil then --Tried to failproof to stop printing nil
  224.                             Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
  225.                         else
  226.                             if printvar == true then
  227.                                 print("Head missing from sheriff!")
  228.                             end
  229.                         end
  230.                     end
  231.                     sheriff = v.Parent.Parent.Name
  232.                     if printvar == true then
  233.                         local sheriff1 = tostring(v.Parent.Parent.Name)
  234.                         print(sheriff1.." is Sheriff")
  235.                     end
  236.                 end
  237.             end
  238.             for i,v in pairs(v.Character:GetChildren()) do
  239.                 if v.Name == "Revolver" or v.Name == "Gun" then --Lazy to check if its revolver or gun and checks workspace player for gun (holding it)
  240.                     if espnames == true then
  241.                         local teamname = v.Parent.Name
  242.                         if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
  243.                             Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
  244.                         else
  245.                             if printvar == true then
  246.                                 print("Head missing from sheriff!")
  247.                             end
  248.                         end
  249.                     elseif espnames == false then
  250.                         local teamname = "Sheriff"
  251.                         if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
  252.                             Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
  253.                         else
  254.                             if printvar == true then
  255.                                 print("Head missing from sheriff!")
  256.                             end
  257.                         end
  258.                     end
  259.                     sheriff = v.Parent.Name
  260.                     if printvar == true then
  261.                         local sheriff1 = tostring(v.Parent.Name)
  262.                         print(sheriff1.." is Sheriff")
  263.                     end
  264.                 end
  265.             end
  266.         end
  267.     end
  268. end
  269.  
  270. function findplayers() --Find all players but local player
  271.     findmurderer() --Finds murderer
  272.     findsheriff() --Finds sheriff
  273.     local colors1 = 0
  274.     local colors2 = 255
  275.     local colors3 = 0
  276.     for i, v in pairs(game:GetService("Players"):GetChildren()) do
  277.         if v ~= game:GetService("Players").LocalPlayer then --If not local player
  278.             if v.Name ~= murderer then --If not murderer
  279.                 if v.Name ~= sheriff then --If not sheriff
  280.                     if espnames == true then
  281.                         local teamname = v.Name
  282.                         if v.Character.Head ~= nil then --Tried to failproof to stop printing nil
  283.                             Create(v.Character.Head, false, colors1 ,colors2, colors3, teamname)
  284.                         else
  285.                             if printvar == true then
  286.                                 print("Head missing from sheriff!")
  287.                             end
  288.                         end
  289.                     elseif espnames == false then
  290.                         local teamname = "Innocents"
  291.                         if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
  292.                             Create(v.Character.Head, false, colors1 ,colors2, colors3, teamname)
  293.                         else
  294.                             if printvar == true then
  295.                                 print("Head missing from sheriff!")
  296.                             end
  297.                         end
  298.                     end
  299.                 end
  300.             end
  301.         end
  302.     end
  303. end
  304.  
  305. function Clear() --Clears all the esps
  306.     for _,v in pairs(player.PlayerGui:children()) do
  307.         if v.Name == "tracker" and v:isA("BillboardGui") then
  308.             v:Destroy()
  309.         end
  310.     end
  311. end
  312.  
  313. function XrayOn(obj) --Enables xray
  314.     for _,v in pairs(obj:GetChildren()) do
  315.         if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then
  316.             v.LocalTransparencyModifier = 0.75
  317.         end
  318.     XrayOn(v)
  319.     end
  320. end
  321.  
  322. function XrayOff(obj) --Disables xray
  323.     for _,v in pairs(obj:GetChildren()) do
  324.         if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then
  325.             v.LocalTransparencyModifier = 0
  326.         end XrayOff(v)
  327.     end
  328. end
  329.  
  330. function sFLY() --Fly function
  331.     repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso') and LP.Character:FindFirstChild('Humanoid')
  332.     repeat wait() until mouse
  333.    
  334.     local T = LP.Character.Torso
  335.     local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  336.     local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  337.     local SPEED = 0
  338.    
  339.     local function FLY()
  340.         FLYING = true
  341.         local BG = Instance.new('BodyGyro', T)
  342.         local BV = Instance.new('BodyVelocity', T)
  343.         BG.P = 9e4
  344.         BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  345.         BG.cframe = T.CFrame
  346.         BV.velocity = Vector3.new(0, 0.1, 0)
  347.         BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  348.         spawn(function()
  349.             repeat wait()
  350.                 LP.Character.Humanoid.PlatformStand = true
  351.                 if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  352.                     SPEED = 50
  353.                 elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  354.                     SPEED = 0
  355.                 end
  356.                 if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  357.                     BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  358.                     lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  359.                 elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  360.                     BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  361.                 else
  362.                     BV.velocity = Vector3.new(0, 0.1, 0)
  363.                 end
  364.                 BG.cframe = workspace.CurrentCamera.CoordinateFrame
  365.             until not FLYING
  366.             CONTROL = {F = 0, B = 0, L = 0, R = 0}
  367.             lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  368.             SPEED = 0
  369.             BG:destroy()
  370.             BV:destroy()
  371.             LP.Character.Humanoid.PlatformStand = false
  372.         end)
  373.     end
  374.    
  375.     mouse.KeyDown:connect(function(KEY)
  376.         if KEY:lower() == 'w' then
  377.             CONTROL.F = 1
  378.         elseif KEY:lower() == 's' then
  379.             CONTROL.B = -1
  380.         elseif KEY:lower() == 'a' then
  381.             CONTROL.L = -1
  382.         elseif KEY:lower() == 'd' then
  383.             CONTROL.R = 1
  384.         end
  385.     end)
  386.    
  387.     mouse.KeyUp:connect(function(KEY)
  388.         if KEY:lower() == 'w' then
  389.             CONTROL.F = 0
  390.         elseif KEY:lower() == 's' then
  391.             CONTROL.B = 0
  392.         elseif KEY:lower() == 'a' then
  393.             CONTROL.L = 0
  394.         elseif KEY:lower() == 'd' then
  395.             CONTROL.R = 0
  396.         end
  397.     end)
  398.     FLY()
  399. end
  400.  
  401. function NOFLY() --Unfly function
  402.     FLYING = false
  403.     LP.Character.Humanoid.PlatformStand = false
  404. end
  405.  
  406. local noclipcoro = coroutine.wrap(function() --Noclip function
  407.     while true do
  408.         if NClip == true then
  409.             if game.Players ~= nil then
  410.                 if game.Players.LocalPlayer ~= nil then
  411.                     if game.Players.LocalPlayer.Character ~= nil then
  412.                         if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then
  413.                             if game.Players.LocalPlayer.Character:FindFirstChild("Head") ~= nil then
  414.                                 game.Players.LocalPlayer.Character.Torso.CanCollide = false
  415.                                 game.Players.LocalPlayer.Character.Head.CanCollide = false
  416.                             end
  417.                         end
  418.                     end
  419.                 end
  420.             end
  421.         end
  422.     game:service("RunService").Stepped:wait()
  423.     end
  424. end)
  425.  
  426. noclipcoro() --For noclip to work
  427.  
  428. game:GetService("Players").LocalPlayer.CharacterAdded:connect(function(character) --Resets specific things for ease
  429.     flyvar = false
  430.     FlyActive.Text = "Inactive"
  431.     FlyActive.TextColor3 = Color3.new(1, 1, 1)
  432.     godmodevar = false
  433.     GodModeActive.Text = "Inactive"
  434.     GodModeActive.TextColor3 = Color3.new(1, 1, 1)
  435.     Clear()
  436.     MSESPActive.Text = "Inactive"
  437.     MSESPActive.TextColor3 = Color3.new(1, 1, 1)
  438.     PlayersEspActive.Text = "Inactive"
  439.     PlayersEspActive.TextColor3 = Color3.new(1, 1, 1)
  440.     EspOffActive.Text = "Active"
  441.     EspOffActive.TextColor3 = Color3.new(1, 1, 1)
  442. end)
  443.  
  444. mouse.KeyDown:connect(function(KeyDown) --If shift is held, run
  445.     if KeyDown == "0" and runActive == false and keyOff == false then
  446.         runActive = true
  447.         player.Character.Humanoid.WalkSpeed = 32
  448.         RunActiveGui.Text = "Active"
  449.         RunActiveGui.TextColor3 = Color3.new(1, 1, 1)
  450.     end
  451. end)
  452.  
  453. mouse.KeyUp:connect(function(KeyUp) --If shift is released, walk
  454.     if KeyUp == "0" and runActive == true and keyOff == false then
  455.         runActive = false
  456.         player.Character.Humanoid.WalkSpeed = 16
  457.         RunActiveGui.Text = "Inactive"
  458.         RunActiveGui.TextColor3 = Color3.new(1, 1, 1)
  459.     end
  460. end)
  461.  
  462. function coingrabberfunc() --Coin grabber function
  463.     local children = game.Workspace:GetChildren()
  464.     for _, child in pairs(children) do
  465.         for _, child in pairs(child:GetChildren()) do
  466.             table.insert(children, child)
  467.          end
  468.          if child:IsA("BasePart") and child.Name == "Coin" then
  469.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = child.CFrame
  470.         end
  471.     end
  472. end
  473.  
  474. function godmodefunc() --Godmode function
  475.     game.Players.LocalPlayer.Character.Humanoid.Name = 1
  476. local l = game.Players.LocalPlayer.Character["1"]:Clone()
  477. l.Parent = game.Players.LocalPlayer.Character
  478. l.Name = "Humanoid"
  479. wait(0.1)
  480. game.Players.LocalPlayer.Character["1"]:Destroy()
  481. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  482. game.Players.LocalPlayer.Character.Animate.Disabled = true
  483. wait(0.1)
  484. game.Players.LocalPlayer.Character.Animate.Disabled = false
  485. game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  486. end)
  487. float.MouseButton1Click:connect(function()
  488.     local Weld1 = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  489. Weld1.Part0 = game.Players.LocalPlayer.Character.Head
  490. Weld1.Part1 = game.Players.LocalPlayer.Character.Torso
  491. local Weld2 = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  492. Weld2.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
  493. Weld2.Part1 = game.Players.LocalPlayer.Character.Torso
  494. local Weld3 = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  495. Weld3.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  496. Weld3.Part1 = game.Players.LocalPlayer.Character.Torso
  497. local Weld4 = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  498. Weld4.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
  499. Weld4.Part1 = game.Players.LocalPlayer.Character.Torso
  500. local Weld5 = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  501. Weld5.Part0 = game.Players.LocalPlayer.Character["Left Leg"]
  502. Weld5.Part1 = game.Players.LocalPlayer.Character.Torso
  503. end)
  504.  
  505. --Coin Grabber--
  506. Coin.Name = "CoinGrabber"
  507. Coin.Parent = Main
  508. Coin.BackgroundColor3 = Color3.new(0, 0, 0)
  509. Coin.BorderColor3 = Color3.new(1, 1, 1)
  510. Coin.BorderSizePixel = 0.8
  511. Coin.Position = UDim2.new(0, 0, 0.215, 0)
  512. Coin.Size = UDim2.new(1.005, 0, 0.08, 0)
  513. Coin.ZIndex = 4
  514. Coin.Font = Enum.Font.SciFi
  515. Coin.FontSize = Enum.FontSize.Size24
  516. Coin.Text = "Coin Grabber ["..string.upper(coinkey).."]"
  517. Coin.TextColor3 = Color3.fromRGB(255, 255, 26)
  518. Coin.TextSize = 20
  519. Coin.TextWrapped = true
  520. Coin.MouseButton1Down:connect(function(x, y)
  521.     coingrabberfunc()
  522. end)
  523.  
  524. --Murderer/Sheriff Esp--
  525. MSESPActive.Name = "MSEspActive"
  526. MSESPActive.Parent = Main
  527. MSESPActive.BackgroundColor3 = Color3.new(0, 0, 0)
  528. MSESPActive.BorderColor3 = Color3.new(1, 1, 1)
  529. MSESPActive.BorderSizePixel = 0.8
  530. MSESPActive.Position = UDim2.new(0.755, 0, 0.315, 0)
  531. MSESPActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  532. MSESPActive.ZIndex = 4
  533. MSESPActive.Font = Enum.Font.SciFi
  534. MSESPActive.FontSize = Enum.FontSize.Size24
  535. MSESPActive.Text = "Inactive"
  536. MSESPActive.TextColor3 = Color3.new(1, 1, 1)
  537. MSESPActive.TextSize = 20
  538. MSESPActive.TextWrapped = true
  539.  
  540. MSEsp.Name = "MSEsp"
  541. MSEsp.Parent = Main
  542. MSEsp.BackgroundColor3 = Color3.new(0, 0, 0)
  543. MSEsp.BorderColor3 = Color3.new(1, 1, 1)
  544. MSEsp.BorderSizePixel = 0.8
  545. MSEsp.Position = UDim2.new(0, 0, 0.315, 0)
  546. MSEsp.Size = UDim2.new(0.75, 0, 0.08, 0)
  547. MSEsp.ZIndex = 4
  548. MSEsp.Font = Enum.Font.SciFi
  549. MSEsp.FontSize = Enum.FontSize.Size24
  550. MSEsp.Text = "Murderer/Sheriff Esp ["..string.upper(MSkey).."]"
  551. MSEsp.TextColor3 = Color3.fromRGB(255, 102, 255)
  552. MSEsp.TextSize = 20
  553. MSEsp.TextWrapped = true
  554. MSEsp.MouseButton1Down:connect(function(x, y)
  555.     murderer = "None"
  556.     sheriff = "None"
  557.     Clear()
  558.     findmurderer()
  559.     findsheriff()
  560.     if printvar == true then
  561.         print("Murderer/Sheriff")
  562.     end
  563.     MSESPActive.Text = "Active"
  564.     MSESPActive.TextColor3 = Color3.new(1, 1, 1)
  565.     PlayersEspActive.Text = "Inactive"
  566.     PlayersEspActive.TextColor3 = Color3.new(1, 1, 1)
  567.     EspOffActive.Text = "Inactive"
  568.     EspOffActive.TextColor3 = Color3.new(1, 1, 1)
  569. end)
  570.  
  571. --All Players Esp
  572. PlayersEspActive.Name = "PlayersEspActive"
  573. PlayersEspActive.Parent = Main
  574. PlayersEspActive.BackgroundColor3 = Color3.new(0, 0, 0)
  575. PlayersEspActive.BorderColor3 = Color3.new(1, 1, 1)
  576. PlayersEspActive.BorderSizePixel = 0.8
  577. PlayersEspActive.Position = UDim2.new(0.755, 0, 0.415, 0)
  578. PlayersEspActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  579. PlayersEspActive.ZIndex = 4
  580. PlayersEspActive.Font = Enum.Font.SciFi
  581. PlayersEspActive.FontSize = Enum.FontSize.Size24
  582. PlayersEspActive.Text = "Inactive"
  583. PlayersEspActive.TextColor3 = Color3.new(1, 1, 1)
  584. PlayersEspActive.TextSize = 20
  585. PlayersEspActive.TextWrapped = true
  586.  
  587. PlayersEsp.Name = "PlayersEsp"
  588. PlayersEsp.Parent = Main
  589. PlayersEsp.BackgroundColor3 = Color3.new(0, 0, 0)
  590. PlayersEsp.BorderColor3 = Color3.new(1, 1, 1)
  591. PlayersEsp.BorderSizePixel = 0.8
  592. PlayersEsp.Position = UDim2.new(0, 0, 0.415, 0)
  593. PlayersEsp.Size = UDim2.new(0.75, 0, 0.08, 0)
  594. PlayersEsp.ZIndex = 4
  595. PlayersEsp.Font = Enum.Font.SciFi
  596. PlayersEsp.FontSize = Enum.FontSize.Size24
  597. PlayersEsp.Text = "All Players Esp ["..string.upper(playerskey).."]"
  598. PlayersEsp.TextColor3 = Color3.fromRGB(102, 255, 51)
  599. PlayersEsp.TextSize = 20
  600. PlayersEsp.TextWrapped = true
  601. PlayersEsp.MouseButton1Down:connect(function(x, y)
  602.     Clear()
  603.     if printvar == true then
  604.         print("Players Esp")
  605.     end
  606.     MSESPActive.Text = "Inactive"
  607.     MSESPActive.TextColor3 = Color3.new(1, 1, 1)
  608.     PlayersEspActive.Text = "Active"
  609.     PlayersEspActive.TextColor3 = Color3.new(1, 1, 1)
  610.     EspOffActive.Text = "Inactive"
  611.     EspOffActive.TextColor3 = Color3.new(1, 1, 1)
  612.     findplayers()
  613. end)
  614.  
  615. --Esp Off
  616. EspOffActive.Name = "EspOffActive"
  617. EspOffActive.Parent = Main
  618. EspOffActive.BackgroundColor3 = Color3.new(0, 0, 0)
  619. EspOffActive.BorderColor3 = Color3.new(1, 1, 1)
  620. EspOffActive.BorderSizePixel = 0.8
  621. EspOffActive.Position = UDim2.new(0.755, 0, 0.515, 0)
  622. EspOffActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  623. EspOffActive.ZIndex = 4
  624. EspOffActive.Font = Enum.Font.SciFi
  625. EspOffActive.FontSize = Enum.FontSize.Size24
  626. EspOffActive.Text = "Active"
  627. EspOffActive.TextColor3 = Color3.new(1, 1, 1)
  628. EspOffActive.TextSize = 20
  629. EspOffActive.TextWrapped = true
  630.  
  631. EspOff.Name = "EspOff"
  632. EspOff.Parent = Main
  633. EspOff.BackgroundColor3 = Color3.new(0, 0, 0)
  634. EspOff.BorderColor3 = Color3.new(1, 1, 1)
  635. EspOff.BorderSizePixel = 0.8
  636. EspOff.Position = UDim2.new(0, 0, 0.515, 0)
  637. EspOff.Size = UDim2.new(0.75, 0, 0.08, 0)
  638. EspOff.ZIndex = 4
  639. EspOff.Font = Enum.Font.SciFi
  640. EspOff.FontSize = Enum.FontSize.Size24
  641. EspOff.Text = "Esp Off ["..string.upper(espoffkey).."]"
  642. EspOff.TextColor3 = Color3.fromRGB(255, 255, 255)
  643. EspOff.TextSize = 20
  644. EspOff.TextWrapped = true
  645. EspOff.MouseButton1Down:connect(function(x, y)
  646.     Clear()
  647.     if printvar == true then
  648.         print("Esp Off")
  649.     end
  650.     MSESPActive.Text = "Inactive"
  651.     MSESPActive.TextColor3 = Color3.new(1, 1, 1)
  652.     PlayersEspActive.Text = "Inactive"
  653.     PlayersEspActive.TextColor3 = Color3.new(1, 1, 1)
  654.     EspOffActive.Text = "Active"
  655.     EspOffActive.TextColor3 = Color3.new(1, 1, 1)
  656. end)
  657.  
  658. --Run
  659. RunActiveGui.Name = "RunActiveGui"
  660. RunActiveGui.Parent = Main
  661. RunActiveGui.BackgroundColor3 = Color3.new(0, 0, 0)
  662. RunActiveGui.BorderColor3 = Color3.new(1, 1, 1)
  663. RunActiveGui.BorderSizePixel = 0.8
  664. RunActiveGui.Position = UDim2.new(0.755, 0, 0.615, 0)
  665. RunActiveGui.Size = UDim2.new(0.25, 0, 0.08, 0)
  666. RunActiveGui.ZIndex = 4
  667. RunActiveGui.Font = Enum.Font.SciFi
  668. RunActiveGui.FontSize = Enum.FontSize.Size24
  669. RunActiveGui.Text = "Inactive"
  670. RunActiveGui.TextColor3 = Color3.new(1, 1, 1)
  671. RunActiveGui.TextSize = 20
  672. RunActiveGui.TextWrapped = true
  673.  
  674. Run.Name = "Run"
  675. Run.Parent = Main
  676. Run.BackgroundColor3 = Color3.new(0, 0, 0)
  677. Run.BorderColor3 = Color3.new(1, 1, 1)
  678. Run.BorderSizePixel = 0.8
  679. Run.Position = UDim2.new(0, 0, 0.615, 0)
  680. Run.Size = UDim2.new(0.75, 0, 0.08, 0)
  681. Run.ZIndex = 4
  682. Run.Font = Enum.Font.SciFi
  683. Run.FontSize = Enum.FontSize.Size24
  684. Run.Text = "Run [Shift]"
  685. Run.TextColor3 = Color3.fromRGB(255, 51, 0)
  686. Run.TextSize = 20
  687. Run.TextWrapped = true
  688. Run.MouseButton1Down:connect(function(x, y)
  689.     if runActive == false then
  690.         runActive = true
  691.         player.Character.Humanoid.WalkSpeed = 32
  692.         RunActiveGui.Text = "Active"
  693.         RunActiveGui.TextColor3 = Color3.new(1, 1, 1)
  694.     elseif runActive == true then
  695.         runActive = false
  696.         player.Character.Humanoid.WalkSpeed = 16
  697.         RunActiveGui.Text = "Inactive"
  698.         RunActiveGui.TextColor3 = Color3.new(1, 1, 1)
  699.     end
  700. end)
  701.  
  702. --Fly
  703. FlyActive.Name = "FlyActive"
  704. FlyActive.Parent = Main
  705. FlyActive.BackgroundColor3 = Color3.new(0, 0, 0)
  706. FlyActive.BorderColor3 = Color3.new(1, 1, 1)
  707. FlyActive.BorderSizePixel = 0.8
  708. FlyActive.Position = UDim2.new(0.755, 0, 0.715, 0)
  709. FlyActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  710. FlyActive.ZIndex = 4
  711. FlyActive.Font = Enum.Font.SciFi
  712. FlyActive.FontSize = Enum.FontSize.Size24
  713. FlyActive.Text = "Inactive"
  714. FlyActive.TextColor3 = Color3.new(1, 1, 1)
  715. FlyActive.TextSize = 20
  716. FlyActive.TextWrapped = true
  717.  
  718. Fly.Name = "Fly"
  719. Fly.Parent = Main
  720. Fly.BackgroundColor3 = Color3.new(0, 0, 0)
  721. Fly.BorderColor3 = Color3.new(1, 1, 1)
  722. Fly.BorderSizePixel = 0.8
  723. Fly.Position = UDim2.new(0, 0, 0.715, 0)
  724. Fly.Size = UDim2.new(0.75, 0, 0.08, 0)
  725. Fly.ZIndex = 4
  726. Fly.Font = Enum.Font.SciFi
  727. Fly.FontSize = Enum.FontSize.Size24
  728. Fly.Text = "Fly ["..string.upper(flykey).."]"
  729. Fly.TextColor3 = Color3.fromRGB(204, 255, 255)
  730. Fly.TextSize = 20
  731. Fly.TextWrapped = true
  732. Fly.MouseButton1Down:connect(function(x, y)
  733.     if flyvar == false then
  734.         sFLY()
  735.         flyvar = true
  736.         FlyActive.Text = "Active"
  737.         FlyActive.TextColor3 = Color3.new(1, 1, 1)
  738.     elseif flyvar == true then
  739.         flyvar = false
  740.         NOFLY()
  741.         FlyActive.Text = "Inactive"
  742.         FlyActive.TextColor3 = Color3.new(1, 1, 1)
  743.     end
  744. end)
  745.  
  746. --Noclip
  747. NoclipActive.Name = "NoclipActive"
  748. NoclipActive.Parent = Main
  749. NoclipActive.BackgroundColor3 = Color3.new(0, 0, 0)
  750. NoclipActive.BorderColor3 = Color3.new(1, 1, 1)
  751. NoclipActive.BorderSizePixel = 0.8
  752. NoclipActive.Position = UDim2.new(0.755, 0, 0.815, 0)
  753. NoclipActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  754. NoclipActive.ZIndex = 4
  755. NoclipActive.Font = Enum.Font.SciFi
  756. NoclipActive.FontSize = Enum.FontSize.Size24
  757. NoclipActive.Text = "Inactive"
  758. NoclipActive.TextColor3 = Color3.new(1, 1, 1)
  759. NoclipActive.TextSize = 20
  760. NoclipActive.TextWrapped = true
  761.  
  762. Noclip.Name = "Noclip"
  763. Noclip.Parent = Main
  764. Noclip.BackgroundColor3 = Color3.new(0, 0, 0)
  765. Noclip.BorderColor3 = Color3.new(1, 1, 1)
  766. Noclip.BorderSizePixel = 0.8
  767. Noclip.Position = UDim2.new(0, 0, 0.815, 0)
  768. Noclip.Size = UDim2.new(0.75, 0, 0.08, 0)
  769. Noclip.ZIndex = 4
  770. Noclip.Font = Enum.Font.SciFi
  771. Noclip.FontSize = Enum.FontSize.Size24
  772. Noclip.Text = "Noclip ["..string.upper(noclipkey).."]"
  773. Noclip.TextColor3 = Color3.fromRGB(0, 102, 255)
  774. Noclip.TextSize = 20
  775. Noclip.TextWrapped = true
  776. Noclip.MouseButton1Down:connect(function(x, y)
  777.     if NClip == false then
  778.         NClip = true
  779.         if printvar == true then
  780.             print("Noclip Enabled")
  781.         end
  782.         NoclipActive.Text = "Active"
  783.         NoclipActive.TextColor3 = Color3.new(1, 1, 1)
  784.     elseif NClip == true then
  785.         NClip = false
  786.         if printvar == true then
  787.             print("Noclip Disabled")
  788.         end
  789.         NoclipActive.Text = "Inactive"
  790.         NoclipActive.TextColor3 = Color3.new(1, 1, 1)
  791.     end
  792. end)
  793.  
  794. --GodMode
  795. GodModeActive.Name = "GodModeActive"
  796. GodModeActive.Parent = Main
  797. GodModeActive.BackgroundColor3 = Color3.new(0, 0, 0)
  798. GodModeActive.BorderColor3 = Color3.new(1, 1, 1)
  799. GodModeActive.BorderSizePixel = 0.8
  800. GodModeActive.Position = UDim2.new(0.755, 0, 0.915, 0)
  801. GodModeActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  802. GodModeActive.ZIndex = 4
  803. GodModeActive.Font = Enum.Font.SciFi
  804. GodModeActive.FontSize = Enum.FontSize.Size24
  805. GodModeActive.Text = "Inactive"
  806. GodModeActive.TextColor3 = Color3.new(1, 1, 1)
  807. GodModeActive.TextSize = 20
  808. GodModeActive.TextWrapped = true
  809.  
  810. GodMode.Name = "GodMode"
  811. GodMode.Parent = Main
  812. GodMode.BackgroundColor3 = Color3.new(0, 0, 0)
  813. GodMode.BorderColor3 = Color3.new(1, 1, 1)
  814. GodMode.BorderSizePixel = 0.8
  815. GodMode.Position = UDim2.new(0, 0, 0.915, 0)
  816. GodMode.Size = UDim2.new(0.75, 0, 0.08, 0)
  817. GodMode.ZIndex = 4
  818. GodMode.Font = Enum.Font.SciFi
  819. GodMode.FontSize = Enum.FontSize.Size24
  820. GodMode.Text = "God Mode ["..string.upper(godmodekey).."]"
  821. GodMode.TextColor3 = Color3.fromRGB(255, 255, 255)
  822. GodMode.TextSize = 20
  823. GodMode.TextWrapped = true
  824. GodMode.MouseButton1Down:connect(function(x, y)
  825.     if godmodevar == false then
  826.         GodModeActive.Text = "Active"
  827.         GodModeActive.TextColor3 = Color3.new(1, 1, 1)
  828.         godmodevar = true
  829.         godmodefunc()
  830.     end
  831. end)
  832.  
  833. --Xray On
  834. GuiXrayOnActive.Name = "GuiXrayOnActive"
  835. GuiXrayOnActive.Parent = Main
  836. GuiXrayOnActive.BackgroundColor3 = Color3.new(0, 0, 0)
  837. GuiXrayOnActive.BorderColor3 = Color3.new(1, 1, 1)
  838. GuiXrayOnActive.BorderSizePixel = 0.8
  839. GuiXrayOnActive.Position = UDim2.new(0.755, 0, 1.015, 0)
  840. GuiXrayOnActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  841. GuiXrayOnActive.ZIndex = 4
  842. GuiXrayOnActive.Font = Enum.Font.SciFi
  843. GuiXrayOnActive.FontSize = Enum.FontSize.Size24
  844. GuiXrayOnActive.Text = "Inactive"
  845. GuiXrayOnActive.TextColor3 = Color3.new(1, 1, 1)
  846. GuiXrayOnActive.TextSize = 20
  847. GuiXrayOnActive.TextWrapped = true
  848.  
  849. GuiXrayOn.Name = "XrayOn"
  850. GuiXrayOn.Parent = Main
  851. GuiXrayOn.BackgroundColor3 = Color3.new(0, 0, 0)
  852. GuiXrayOn.BorderColor3 = Color3.new(1, 1, 1)
  853. GuiXrayOn.BorderSizePixel = 0.8
  854. GuiXrayOn.Position = UDim2.new(0, 0, 1.015, 0)
  855. GuiXrayOn.Size = UDim2.new(0.75, 0, 0.08, 0)
  856. GuiXrayOn.ZIndex = 4
  857. GuiXrayOn.Font = Enum.Font.SciFi
  858. GuiXrayOn.FontSize = Enum.FontSize.Size24
  859. GuiXrayOn.Text = "Xray On ["..string.upper(xrayonkey).."]"
  860. GuiXrayOn.TextColor3 = Color3.fromRGB(255, 204, 102)
  861. GuiXrayOn.TextSize = 20
  862. GuiXrayOn.TextWrapped = true
  863. GuiXrayOn.MouseButton1Down:connect(function(x, y)
  864.     GuiXrayOnActive.Text = "Active"
  865.     GuiXrayOnActive.TextColor3 = Color3.new(1, 1, 1)
  866.     GuiXrayOffActive.Text = "Inactive"
  867.     GuiXrayOffActive.TextColor3 = Color3.new(1, 1, 1)
  868.     XrayOn(obj)
  869. end)
  870.  
  871. --Xray Off
  872. GuiXrayOffActive.Name = "GuiXrayOffActive"
  873. GuiXrayOffActive.Parent = Main
  874. GuiXrayOffActive.BackgroundColor3 = Color3.new(0, 0, 0)
  875. GuiXrayOffActive.BorderColor3 = Color3.new(1, 1, 1)
  876. GuiXrayOffActive.BorderSizePixel = 0.8
  877. GuiXrayOffActive.Position = UDim2.new(0.755, 0, 1.115, 0)
  878. GuiXrayOffActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  879. GuiXrayOffActive.ZIndex = 4
  880. GuiXrayOffActive.Font = Enum.Font.SciFi
  881. GuiXrayOffActive.FontSize = Enum.FontSize.Size24
  882. GuiXrayOffActive.Text = "Active"
  883. GuiXrayOffActive.TextColor3 = Color3.new(1, 1, 1)
  884. GuiXrayOffActive.TextSize = 20
  885. GuiXrayOffActive.TextWrapped = true
  886.  
  887. GuiXrayOff.Name = "XrayOff"
  888. GuiXrayOff.Parent = Main
  889. GuiXrayOff.BackgroundColor3 = Color3.new(0, 0, 0)
  890. GuiXrayOff.BorderColor3 = Color3.new(1, 1, 1)
  891. GuiXrayOff.BorderSizePixel = 0.8
  892. GuiXrayOff.Position = UDim2.new(0, 0, 1.115, 0)
  893. GuiXrayOff.Size = UDim2.new(0.75, 0, 0.08, 0)
  894. GuiXrayOff.ZIndex = 4
  895. GuiXrayOff.Font = Enum.Font.SciFi
  896. GuiXrayOff.FontSize = Enum.FontSize.Size24
  897. GuiXrayOff.Text = "Xray Off ["..string.upper(xrayoffkey).."]"
  898. GuiXrayOff.TextColor3 = Color3.fromRGB(255, 153, 51)
  899. GuiXrayOff.TextSize = 20
  900. GuiXrayOff.TextWrapped = true
  901. GuiXrayOff.MouseButton1Down:connect(function(x, y)
  902.     GuiXrayOnActive.Text = "Inactive"
  903.     GuiXrayOnActive.TextColor3 = Color3.new(1, 1, 1)
  904.     GuiXrayOffActive.Text = "Active"
  905.     GuiXrayOffActive.TextColor3 = Color3.new(1, 1, 1)
  906.     XrayOff(obj)
  907. end)
  908.  
  909. --Bring Gun to You
  910. BringGun.Name             = "BringGun"
  911. BringGun.Parent           = Main
  912. BringGun.BackgroundColor3 = Color3.new(0, 0, 0)
  913. BringGun.BorderColor3     = Color3.new(1, 1, 1)
  914. BringGun.BorderSizePixel  = 5
  915. BringGun.Position         = UDim2.new(0, 0, 1.215, 0)
  916. BringGun.Size             = UDim2.new(1.005, 0, 0.08, 0)
  917. BringGun.ZIndex           = 4
  918. BringGun.Font             = Enum.Font.SciFi
  919. BringGun.FontSize         = Enum.FontSize.Size24
  920. BringGun.Text             = "Teleport to Gun ["..string.upper(bringgunkey).."]"
  921. BringGun.TextColor3       = Color3.fromRGB(0, 255, 0)
  922. BringGun.TextSize         = 20
  923. BringGun.TextWrapped      = true
  924. BringGun.MouseButton1Down:connect(function(x, y)
  925.     if game.Workspace.GunDrop.CFrame ~= nil then
  926.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.GunDrop.CFrame
  927.     else
  928.         if printvar == true then
  929.             print("Gun not currently dropped")
  930.         end
  931.     end
  932. end)
  933.  
  934. --Keybinds
  935. KeybindsActive.Name = "KeybindsActive"
  936. KeybindsActive.Parent = Main
  937. KeybindsActive.BackgroundColor3 = Color3.new(0, 0, 0)
  938. KeybindsActive.BorderColor3 = Color3.new(1, 1, 1)
  939. KeybindsActive.BorderSizePixel = 0.8
  940. KeybindsActive.Position = UDim2.new(0.755, 0, 1.315, 0)
  941. KeybindsActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  942. KeybindsActive.ZIndex = 4
  943. KeybindsActive.Font = Enum.Font.SciFi
  944. KeybindsActive.FontSize = Enum.FontSize.Size24
  945. KeybindsActive.Text = "Active"
  946. KeybindsActive.TextColor3 = Color3.new(1, 1, 1)
  947. KeybindsActive.TextSize = 20
  948. KeybindsActive.TextWrapped = true
  949.  
  950. Keybinds.Name = "Keybinds"
  951. Keybinds.Parent = Main
  952. Keybinds.BackgroundColor3 = Color3.new(0, 0, 0)
  953. Keybinds.BorderColor3 = Color3.new(1, 1, 1)
  954. Keybinds.BorderSizePixel = 0.8
  955. Keybinds.Position = UDim2.new(0, 0, 1.315, 0)
  956. Keybinds.Size = UDim2.new(0.75, 0, 0.08, 0)
  957. Keybinds.ZIndex = 4
  958. Keybinds.Font = Enum.Font.SciFi
  959. Keybinds.FontSize = Enum.FontSize.Size24
  960. Keybinds.Text = "Keybinds [Ctrl]"
  961. Keybinds.TextColor3 = Color3.fromRGB(255, 255, 255)
  962. Keybinds.TextSize = 20
  963. Keybinds.TextWrapped = true
  964. Keybinds.MouseButton1Down:connect(function(x, y)
  965.     if keyOff == true then
  966.         keyOff = false
  967.         KeybindsActive.Text = "Active"
  968.         KeybindsActive.TextColor3 = Color3.new(1, 1, 1)
  969.     elseif keyOff == false then
  970.         keyOff = true
  971.         KeybindsActive.Text = "Inactive"
  972.         KeybindsActive.TextColor3 = Color3.new(1, 1, 1)
  973.     end
  974. end)
  975.  
  976. Show.Name = "Show"
  977. Show.Parent = MM2
  978. Show.BackgroundColor3 = Color3.new(0, 0, 0)
  979. Show.BorderColor3 = Color3.new(1, 1, 1)
  980. Show.BorderSizePixel = 0.8
  981. Show.Position = UDim2.new(0, 0, 0.85799998, 0)
  982. Show.Size = UDim2.new(0.08, 0, 0.04, 0)
  983. Show.ZIndex = 4
  984. Show.Font = Enum.Font.SciFi
  985. Show.FontSize = Enum.FontSize.Size24
  986. Show.Text = "Show ["..string.upper(hideshowguikey).."]"
  987. Show.TextColor3 = Color3.new(1, 1, 1)
  988. Show.TextSize = 20
  989. Show.TextWrapped = true
  990. Show.Visible = false
  991.  
  992. Hide.Name = "Hide"
  993. Hide.Parent = Main
  994. Hide.BackgroundColor3 = Color3.new(0, 0, 0)
  995. Hide.BorderColor3 = Color3.new(1, 1, 1)
  996. Hide.BorderSizePixel = 0.8
  997. Hide.Position = UDim2.new(0, 0, 1.415, 0)
  998. Hide.Size = UDim2.new(1.005, 0, 0.08, 0)
  999. Hide.ZIndex = 4
  1000. Hide.Font = Enum.Font.SciFi
  1001. Hide.FontSize = Enum.FontSize.Size24
  1002. Hide.Text = "Hide ["..string.upper(hideshowguikey).."]"
  1003. Hide.TextColor3 = Color3.new(1, 1, 1)
  1004. Hide.TextSize = 20
  1005. Hide.TextWrapped = true
  1006.  
  1007. Hide.MouseButton1Down:connect(function(x, y)
  1008.     if showvar == true then
  1009.         showvar = false
  1010.         Main.Visible = false
  1011.         Show.Visible = true
  1012.         if printvar == true then
  1013.             print("Hidden")
  1014.         end
  1015.     end
  1016. end)
  1017.  
  1018. Show.MouseButton1Down:connect(function(x, y)
  1019.     if showvar == false then
  1020.         showvar = true
  1021.         Show.Visible = false
  1022.         Main.Visible = true
  1023.         if printvar == true then
  1024.             print("Shown")
  1025.         end
  1026.     end
  1027. end)
  1028.  
  1029. inputcode.InputBegan:connect(function(input)
  1030.     if input.KeyCode == Enum.KeyCode.LeftControl then
  1031.         if keyOff == true then
  1032.             keyOff = false
  1033.             KeybindsActive.Text = "Active"
  1034.             KeybindsActive.TextColor3 = Color3.new(1, 1, 1)
  1035.         elseif keyOff == false then
  1036.             keyOff = true
  1037.             KeybindsActive.Text = "Inactive"
  1038.             KeybindsActive.TextColor3 = Color3.new(1, 1, 1)
  1039.         end
  1040.     end
  1041. end)
  1042.  
  1043. mouse.keyDown:connect(function(key)
  1044.     if keyOff == false then
  1045.         if key == coinkey then --Coin Grabber
  1046.             coingrabberfunc()
  1047.         elseif key == MSkey then --Murderer/Sheriff Esp On
  1048.             murderer = "None"
  1049.             sheriff = "None"
  1050.             Clear()
  1051.             findmurderer()
  1052.             findsheriff()
  1053.             if printvar == true then
  1054.                 print("Murderer/Sheriff")
  1055.             end
  1056.             MSESPActive.Text = "Active"
  1057.             MSESPActive.TextColor3 = Color3.new(1, 1, 1)
  1058.             PlayersEspActive.Text = "Inactive"
  1059.             PlayersEspActive.TextColor3 = Color3.new(1, 1, 1)
  1060.             EspOffActive.Text = "Inactive"
  1061.             EspOffActive.TextColor3 = Color3.new(1, 1, 1)
  1062.         elseif key == playerskey then --Player Esp On
  1063.             Clear()
  1064.             MSESPActive.Text = "Inactive"
  1065.             MSESPActive.TextColor3 = Color3.new(1, 1, 1)
  1066.             PlayersEspActive.Text = "Active"
  1067.             PlayersEspActive.TextColor3 = Color3.new(1, 1, 1)
  1068.             EspOffActive.Text = "Inactive"
  1069.             EspOffActive.TextColor3 = Color3.new(1, 1, 1)
  1070.             findplayers()
  1071.             if printvar == true then
  1072.                 print("Players")
  1073.             end
  1074.         elseif key == espoffkey then --Esp off
  1075.             Clear()
  1076.             if printvar == true then
  1077.                 print("Esp Disabled")
  1078.             end
  1079.             MSESPActive.Text = "Inactive"
  1080.             MSESPActive.TextColor3 = Color3.new(1, 1, 1)
  1081.             PlayersEspActive.Text = "Inactive"
  1082.             PlayersEspActive.TextColor3 = Color3.new(1, 1, 1)
  1083.             EspOffActive.Text = "Active"
  1084.             EspOffActive.TextColor3 = Color3.new(1, 1, 1)
  1085.         elseif key == flykey then --Fly
  1086.             if flyvar == false then
  1087.                 sFLY()
  1088.                 flyvar = true
  1089.                 FlyActive.Text = "Active"
  1090.                 FlyActive.TextColor3 = Color3.new(1, 1, 1)
  1091.             elseif flyvar == true then
  1092.                 flyvar = false
  1093.                 NOFLY()
  1094.                 FlyActive.Text = "Inactive"
  1095.                 FlyActive.TextColor3 = Color3.new(1, 1, 1)
  1096.             end
  1097.         elseif key == noclipkey then --Noclip toggle
  1098.             if NClip == false then
  1099.                 NClip = true
  1100.                 if printvar == true then
  1101.                     print("Noclip Enabled")
  1102.                 end
  1103.                 NoclipActive.Text = "Active"
  1104.                 NoclipActive.TextColor3 = Color3.new(1, 1, 1)
  1105.             elseif NClip == true then
  1106.                 NClip = false
  1107.                 if printvar == true then
  1108.                     print("Noclip Disabled")
  1109.                 end
  1110.                 NoclipActive.Text = "Inactive"
  1111.                 NoclipActive.TextColor3 = Color3.new(1, 1, 1)
  1112.             end
  1113.         elseif key == godmodekey then --Godmode
  1114.             if godmodevar == false then
  1115.                 godmodevar = true
  1116.                 godmodefunc()
  1117.                 GodModeActive.Text = "Active"
  1118.                 GodModeActive.TextColor3 = Color3.new(1, 1, 1)
  1119.             end
  1120.         elseif key == xrayonkey then --Xray On
  1121.             GuiXrayOnActive.Text = "Active"
  1122.             GuiXrayOnActive.TextColor3 = Color3.new(1, 1, 1)
  1123.             GuiXrayOffActive.Text = "Inactive"
  1124.             GuiXrayOffActive.TextColor3 = Color3.new(1, 1, 1)
  1125.             XrayOn(obj)
  1126.         elseif key == xrayoffkey then --Xray Off
  1127.             GuiXrayOnActive.Text = "Inactive"
  1128.             GuiXrayOnActive.TextColor3 = Color3.new(1, 1, 1)
  1129.             GuiXrayOffActive.Text = "Active"
  1130.             GuiXrayOffActive.TextColor3 = Color3.new(1, 1, 1)
  1131.             XrayOff(obj)
  1132.         elseif key == bringgunkey then --Teleport Gun to You
  1133.             if game.Workspace.GunDrop.CFrame ~= nil then
  1134.                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.GunDrop.CFrame
  1135.             else
  1136.                 if printvar == true then
  1137.                     print("Gun not currently dropped")
  1138.                 end
  1139.             end
  1140.         elseif key == hideshowguikey then --Show/Hide Gui
  1141.             if showvar == false then
  1142.                 showvar = true
  1143.                 Show.Visible = false
  1144.                 Main.Visible = true
  1145.                 if printvar == true then
  1146.                     print("Shown")
  1147.                 end
  1148.             elseif showvar == true then
  1149.                 showvar = false
  1150.                 Main.Visible = false
  1151.                 Show.Visible = true
  1152.                 if printvar == true then
  1153.                     print("Hidden")
  1154.                 end
  1155.             end
  1156.         end
  1157.     end
  1158. end)
  1159. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement