SHARE
TWEET

Mm2

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