Advertisement
FilterYT

Untitled

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