Advertisement
Skysor

Roblox|MM2 Exploit

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