SHARE
TWEET

MM2 GUI

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