Advertisement
kleber1234

Murder Mystery 2 Gui

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