Guest User

MM2 Script Gui

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