Advertisement
nguyenminhnghia

mm2

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