Advertisement
TheGreatOwo

Murder Mystery 2 Tp, Esp, and more

Nov 17th, 2019
1,824
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 66.45 KB | None | 0 0
  1. --This gui was made by [YT] HOCK HENG LIM#7160
  2. --Scripts not made by me. Credits to the respective owners
  3. local MainGUI = Instance.new("ScreenGui")
  4. local GuiFrame = Instance.new("Frame")
  5. local TopBar1 = Instance.new("Frame")
  6. local HockMM2Title = Instance.new("TextLabel")
  7. local TopBar2 = Instance.new("Frame")
  8. local PromotionStuff = Instance.new("Frame")
  9. local Credits = Instance.new("TextLabel")
  10. local JoinDiscordSever = Instance.new("TextLabel")
  11. local TpCoins = Instance.new("TextButton")
  12. local SpamSheriffGun = Instance.new("TextButton")
  13. local BringGun = Instance.new("TextButton")
  14. local UnlockWorkspace = Instance.new("TextButton")
  15. local GodMode = Instance.new("TextButton")
  16. local Btools = Instance.new("TextButton")
  17. local Esp = Instance.new("TextButton")
  18. local MoreScriptsAddingSoon = Instance.new("TextLabel")
  19. local DeleteButton = Instance.new("TextButton")
  20. local MapTeleports = Instance.new("TextButton")
  21. local MapTeleportsFrame = Instance.new("Frame")
  22. local TopBar1_2 = Instance.new("Frame")
  23. local MapTeleportsTitle = Instance.new("TextLabel")
  24. local TopBar2_2 = Instance.new("Frame")
  25. local PromotionStuff_2 = Instance.new("Frame")
  26. local Credits_2 = Instance.new("TextLabel")
  27. local JoinDiscordSever_2 = Instance.new("TextLabel")
  28. local HotelUnderTheStairsTP = Instance.new("TextButton")
  29. local MiltaryBaseTP = Instance.new("TextButton")
  30. local Office3TP = Instance.new("TextButton")
  31. local HotelTP = Instance.new("TextButton")
  32. local House2TP = Instance.new("TextButton")
  33. local WorkplaceTP = Instance.new("TextButton")
  34. local FactoryTP = Instance.new("TextButton")
  35. local DeleteButton_2 = Instance.new("TextButton")
  36. local Bank2TP = Instance.new("TextButton")
  37. local PoliceStationTP = Instance.new("TextButton")
  38. local Mansion2TP = Instance.new("TextButton")
  39. local BioLabTP = Instance.new("TextButton")
  40. local Hospital2TP = Instance.new("TextButton")
  41. local Office2TP = Instance.new("TextButton")
  42. local MoreScriptsAddingSoon_2 = Instance.new("TextLabel")
  43. local SpawnTP = Instance.new("TextButton")
  44. --Properties:
  45. MainGUI.Name = "MainGUI"
  46. MainGUI.Parent = game.CoreGui
  47.  
  48. GuiFrame.Name = "GuiFrame"
  49. GuiFrame.Parent = MainGUI
  50. GuiFrame.Active = true
  51. GuiFrame.BackgroundColor3 = Color3.new(0.517647, 0.517647, 0.517647)
  52. GuiFrame.Position = UDim2.new(0.402848363, 0, 0.0478087664, 0)
  53. GuiFrame.Size = UDim2.new(0, 537, 0, 439)
  54. GuiFrame.Visible = true
  55. GuiFrame.Draggable = true
  56.  
  57. TopBar1.Name = "TopBar1"
  58. TopBar1.Parent = GuiFrame
  59. TopBar1.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  60. TopBar1.Size = UDim2.new(0, 537, 0, 50)
  61.  
  62. HockMM2Title.Name = "HockMM2 Title"
  63. HockMM2Title.Parent = TopBar1
  64. HockMM2Title.BackgroundColor3 = Color3.new(1, 1, 1)
  65. HockMM2Title.BackgroundTransparency = 1
  66. HockMM2Title.Size = UDim2.new(0, 537, 0, 50)
  67. HockMM2Title.Font = Enum.Font.SourceSansBold
  68. HockMM2Title.Text = "HockMM2 v3"
  69. HockMM2Title.TextColor3 = Color3.new(0, 0, 0)
  70. HockMM2Title.TextScaled = true
  71. HockMM2Title.TextSize = 14
  72. HockMM2Title.TextWrapped = true
  73.  
  74. TopBar2.Name = "TopBar2"
  75. TopBar2.Parent = GuiFrame
  76. TopBar2.BackgroundColor3 = Color3.new(0.713726, 0.47451, 0)
  77. TopBar2.Position = UDim2.new(0, 0, 0.111960724, 0)
  78. TopBar2.Size = UDim2.new(0, 537, 0, 10)
  79.  
  80. PromotionStuff.Name = "PromotionStuff"
  81. PromotionStuff.Parent = GuiFrame
  82. PromotionStuff.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  83. PromotionStuff.Position = UDim2.new(0, 0, 0.88576138, 0)
  84. PromotionStuff.Size = UDim2.new(0, 537, 0, 50)
  85.  
  86. Credits.Name = "Credits"
  87. Credits.Parent = PromotionStuff
  88. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  89. Credits.BackgroundTransparency = 1
  90. Credits.Position = UDim2.new(0, 0, -0.0056280517, 0)
  91. Credits.Size = UDim2.new(0, 537, 0, 28)
  92. Credits.Font = Enum.Font.SourceSansBold
  93. Credits.Text = "Gui Made by [YT] HOCK HENG LIM#7160"
  94. Credits.TextColor3 = Color3.new(0, 0, 0)
  95. Credits.TextScaled = true
  96. Credits.TextSize = 14
  97. Credits.TextWrapped = true
  98.  
  99. JoinDiscordSever.Name = "JoinDiscordSever"
  100. JoinDiscordSever.Parent = PromotionStuff
  101. JoinDiscordSever.BackgroundColor3 = Color3.new(1, 1, 1)
  102. JoinDiscordSever.BackgroundTransparency = 1
  103. JoinDiscordSever.Position = UDim2.new(0, 0, 0.434371948, 0)
  104. JoinDiscordSever.Size = UDim2.new(0, 537, 0, 28)
  105. JoinDiscordSever.Font = Enum.Font.SourceSansBold
  106. JoinDiscordSever.Text = "Join discord sever for more and exculsive scripts/guis! https://discord.gg/rcnujV4"
  107. JoinDiscordSever.TextColor3 = Color3.new(0, 0, 0)
  108. JoinDiscordSever.TextScaled = true
  109. JoinDiscordSever.TextSize = 14
  110. JoinDiscordSever.TextWrapped = true
  111.  
  112. TpCoins.Name = "TpCoins"
  113. TpCoins.Parent = GuiFrame
  114. TpCoins.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  115. TpCoins.Position = UDim2.new(0.0148975793, 0, 0.182713121, 0)
  116. TpCoins.Size = UDim2.new(0, 125, 0, 50)
  117. TpCoins.Font = Enum.Font.GothamBold
  118. TpCoins.Text = "Tp Coins"
  119. TpCoins.TextColor3 = Color3.new(1, 1, 1)
  120. TpCoins.TextScaled = true
  121. TpCoins.TextSize = 14
  122. TpCoins.TextWrapped = true
  123. TpCoins.MouseButton1Down:connect(function()
  124. for i = 10, 1, -1 do
  125. for i,v in pairs(game.Workspace:GetChildren()) do
  126. local s = v:FindFirstChild("CoinContainer")
  127. local e = game.Players.LocalPlayer.Character:FindFirstChild("LowerTorso")
  128. if e and s then
  129. for i,c in pairs(s:GetChildren()) do
  130. c.CFrame = game.Players.LocalPlayer.Character.LowerTorso.CFrame
  131. end
  132. end
  133. end
  134. game:GetService("RunService").RenderStepped:Wait(0.7)
  135. end
  136. end)
  137.  
  138. SpamSheriffGun.Name = "SpamSheriffGun"
  139. SpamSheriffGun.Parent = GuiFrame
  140. SpamSheriffGun.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  141. SpamSheriffGun.Position = UDim2.new(0.260707647, 0, 0.182713121, 0)
  142. SpamSheriffGun.Size = UDim2.new(0, 125, 0, 50)
  143. SpamSheriffGun.Font = Enum.Font.GothamBold
  144. SpamSheriffGun.Text = "Spam Shoot Sheriff's Gun (Sheriff Must Have Gun Equipped)"
  145. SpamSheriffGun.TextColor3 = Color3.new(1, 1, 1)
  146. SpamSheriffGun.TextScaled = true
  147. SpamSheriffGun.TextSize = 14
  148. SpamSheriffGun.TextWrapped = true
  149. SpamSheriffGun.MouseButton1Down:connect(function()
  150. local Test = Instance.new("ScreenGui")
  151. local Frame = Instance.new("Frame")
  152. local Use = Instance.new("TextButton")
  153. local Msg = Instance.new("TextLabel")
  154.  
  155. Test.Name = "Test"
  156. Test.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  157. Test.ResetOnSpawn = false
  158.  
  159. Frame.Parent = Test
  160. Frame.AnchorPoint = Vector2.new(0.5, 1)
  161. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  162. Frame.BackgroundTransparency = 1
  163. Frame.BorderSizePixel = 0
  164. Frame.Position = UDim2.new(0.5, 0, 0.930000007, 0)
  165. Frame.Size = UDim2.new(0.150000006, 0, 0.115000002, 0)
  166.  
  167. Use.Name = "Use"
  168. Use.Parent = Frame
  169. Use.AnchorPoint = Vector2.new(0.5, 1)
  170. Use.BackgroundColor3 = Color3.new(1, 1, 1)
  171. Use.BorderSizePixel = 0
  172. Use.Position = UDim2.new(0.5, 0, 0.930000007, 0)
  173. Use.Size = UDim2.new(1, 0, 0.550000012, 0)
  174. Use.Style = Enum.ButtonStyle.RobloxRoundButton
  175. Use.Font = Enum.Font.SourceSansSemibold
  176. Use.Text = "Use"
  177. Use.TextColor3 = Color3.new(0, 0, 0)
  178. Use.TextScaled = true
  179. Use.TextSize = 14
  180. Use.TextWrapped = true
  181.  
  182. Msg.Name = "Msg"
  183. Msg.Parent = Frame
  184. Msg.BackgroundColor3 = Color3.new(1, 1, 1)
  185. Msg.BackgroundTransparency = 1
  186. Msg.BorderSizePixel = 0
  187. Msg.Size = UDim2.new(1, 0, 0.400000006, 0)
  188. Msg.Font = Enum.Font.SourceSansItalic
  189. Msg.Text = ""
  190. Msg.TextColor3 = Color3.new(0, 0, 0)
  191. Msg.TextScaled = true
  192. Msg.TextSize = 14
  193. Msg.TextWrapped = true
  194.  
  195. local function Status(txt, urgent)
  196. if Msg.Text ~= txt then
  197. if urgent then
  198. Msg.TextColor3 = Color3.new(1,0,0)
  199. else
  200. Msg.TextColor3 = Color3.new(1,1,1)
  201. end
  202. for i = 1,#txt do
  203. Msg.Text = string.sub(txt, 1,i)
  204. wait()
  205. end
  206. end
  207. end
  208.  
  209. local function sheriff()
  210. for _,v in pairs(game.Players:GetChildren()) do
  211. if v.Character then
  212. if v.Backpack:FindFirstChild("Gun") then
  213. return v.Backpack:FindFirstChild("Gun"), v
  214. elseif v.Backpack:FindFirstChild("Revolver") then
  215. return v.Backpack:FindFirstChild("Revolver"), v
  216. elseif v.Character:FindFirstChild("Gun") then
  217. return v.Character:FindFirstChild("Gun"), v
  218. elseif v.Character:FindFirstChild("Revolver") then
  219. return v.Character:FindFirstChild("Revolver"), v
  220. end
  221. end
  222. end
  223. return nil
  224. end
  225.  
  226. local use = false
  227.  
  228. Use.MouseButton1Click:Connect(function()
  229. if use == false then
  230. use = true
  231. Use.Text = "On"
  232. local _, plr1 = sheriff()
  233. Status("Sheriff is "..plr1.Name)
  234. repeat
  235. local tool, plr = sheriff()
  236. if tool ~= nil then
  237. local c = (plr.Character.HumanoidRootPart.CFrame * CFrame.new(0.7,1,-4))
  238. tool.KnifeServer.SlashStart:FireServer(0,c.p)
  239. else
  240. Status("Tool is nil", true)
  241. end
  242. wait()
  243. until use == false
  244. else
  245. use = false
  246. Use.Text = "Off"
  247. end
  248. end)
  249. end)
  250.  
  251. BringGun.Name = "BringGun"
  252. BringGun.Parent = GuiFrame
  253. BringGun.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  254. BringGun.Position = UDim2.new(0.260707647, 0, 0.358111739, 0)
  255. BringGun.Size = UDim2.new(0, 125, 0, 50)
  256. BringGun.Font = Enum.Font.GothamBold
  257. BringGun.Text = "Bring Gun"
  258. BringGun.TextColor3 = Color3.new(1, 1, 1)
  259. BringGun.TextScaled = true
  260. BringGun.TextSize = 14
  261. BringGun.TextWrapped = true
  262. BringGun.MouseButton1Down:connect(function()
  263. game.Workspace.GunDrop.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(2,0,0)
  264. end)
  265.  
  266. UnlockWorkspace.Name = "UnlockWorkspace"
  267. UnlockWorkspace.Parent = GuiFrame
  268. UnlockWorkspace.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  269. UnlockWorkspace.Position = UDim2.new(0.506517708, 0, 0.358111739, 0)
  270. UnlockWorkspace.Size = UDim2.new(0, 125, 0, 50)
  271. UnlockWorkspace.Font = Enum.Font.GothamBold
  272. UnlockWorkspace.Text = "Unlock Workspace"
  273. UnlockWorkspace.TextColor3 = Color3.new(1, 1, 1)
  274. UnlockWorkspace.TextScaled = true
  275. UnlockWorkspace.TextSize = 14
  276. UnlockWorkspace.TextWrapped = true
  277. UnlockWorkspace.MouseButton1Down:connect(function()
  278. function unlock(obj)
  279. for i,v in pairs(obj:GetChildren()) do
  280. if v:IsA("BasePart") then
  281. v.Locked = false
  282. end
  283. unlock(v)
  284. end
  285. end
  286. unlock(workspace)
  287. end)
  288.  
  289. GodMode.Name = "GodMode"
  290. GodMode.Parent = GuiFrame
  291. GodMode.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  292. GodMode.Position = UDim2.new(0.754189968, 0, 0.358111739, 0)
  293. GodMode.Size = UDim2.new(0, 125, 0, 50)
  294. GodMode.Font = Enum.Font.GothamBold
  295. GodMode.Text = "God Mode + Noclip"
  296. GodMode.TextColor3 = Color3.new(1, 1, 1)
  297. GodMode.TextScaled = true
  298. GodMode.TextSize = 14
  299. GodMode.TextWrapped = true
  300. GodMode.MouseButton1Down:connect(function()
  301. game.Players.LocalPlayer.Character.Humanoid:Remove()
  302. Instance.new('Humanoid', game.Players.LocalPlayer.Character)
  303. end)
  304.  
  305. Btools.Name = "Btools"
  306. Btools.Parent = GuiFrame
  307. Btools.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  308. Btools.Position = UDim2.new(0.506517708, 0, 0.182713062, 0)
  309. Btools.Size = UDim2.new(0, 125, 0, 50)
  310. Btools.Font = Enum.Font.GothamBold
  311. Btools.Text = "Btools"
  312. Btools.TextColor3 = Color3.new(1, 1, 1)
  313. Btools.TextScaled = true
  314. Btools.TextSize = 14
  315. Btools.TextWrapped = true
  316. Btools.MouseButton1Down:connect(function()
  317. Player = game.Players.LocalPlayer
  318.  
  319. function Give(x)
  320. H = Instance.new("HopperBin", Player.Backpack)
  321. H.BinType = x
  322. end
  323.  
  324. for i = 2, 4 do
  325. Give(i)
  326. end
  327. end)
  328.  
  329. Esp.Name = "Esp"
  330. Esp.Parent = GuiFrame
  331. Esp.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  332. Esp.Position = UDim2.new(0.754189968, 0, 0.180435181, 0)
  333. Esp.Size = UDim2.new(0, 125, 0, 50)
  334. Esp.Font = Enum.Font.GothamBold
  335. Esp.Text = "Enable Esp Sheriff = Blue Murderer = Red"
  336. Esp.TextColor3 = Color3.new(1, 1, 1)
  337. Esp.TextScaled = true
  338. Esp.TextSize = 14
  339. Esp.TextWrapped = true
  340. Esp.MouseButton1Click:Connect(function()
  341. espenabled = false
  342. Esp.MouseButton1Up:connect(function()
  343. if espenabled == false then
  344. espenabled = true
  345. Esp.Text = ("Disable ESP")
  346.  
  347. --Made by !!!RelentlessRaptor#5709 on discord
  348.  
  349. local faces = {"Back","Bottom","Front","Left","Right","Top"}
  350. for _, v in pairs(game.Players:GetChildren()) do if v.Name ~= game.Players.LocalPlayer.Name then
  351. local bgui = Instance.new("BillboardGui",v.Character.Head)
  352. bgui.Name = ("EGUI")
  353. bgui.AlwaysOnTop = true
  354. bgui.ExtentsOffset = Vector3.new(0,3,0)
  355. bgui.Size = UDim2.new(0,200,0,50)
  356. local nam = Instance.new("TextLabel",bgui)
  357. nam.Text = v.Name
  358. nam.BackgroundTransparency = 1
  359. nam.TextSize = 30
  360. nam.Font = ("Arial")
  361. nam.TextColor3 = Color3.new(0,0,0)
  362. nam.Size = UDim2.new(0,200,0,50)
  363. if v.Backpack:FindFirstChild("Gun") or v.Character:FindFirstChild("Gun") then
  364. for _, p in pairs(v.Character:GetChildren()) do
  365. if p.Name == ("Head") or p.Name == ("Torso") or p.Name == ("Right Arm") or p.Name == ("Right Leg") or p.Name == ("Left Arm") or p.Name == ("Left Leg") then
  366. for _, f in pairs(faces) do
  367. local m = Instance.new("SurfaceGui",p)
  368. m.Name = ("EGUI")
  369. m.Face = f
  370. m.AlwaysOnTop = true
  371. local mf = Instance.new("Frame",m)
  372. mf.Size = UDim2.new(1,0,1,0)
  373. mf.BorderSizePixel = 0
  374. mf.BackgroundTransparency = 0.5
  375. mf.BackgroundColor3 = Color3.new(0,0,255)
  376. end
  377. end
  378. end
  379. elseif v.Backpack:FindFirstChild("Knife") or v.Character:FindFirstChild("Knife") then
  380. for _, p in pairs(v.Character:GetChildren()) do
  381. if p.Name == ("Head") or p.Name == ("Torso") or p.Name == ("Right Arm") or p.Name == ("Right Leg") or p.Name == ("Left Arm") or p.Name == ("Left Leg") then
  382. for _, f in pairs(faces) do
  383. local m = Instance.new("SurfaceGui",p)
  384. m.Name = ("EGUI")
  385. m.Face = f
  386. m.AlwaysOnTop = true
  387. local mf = Instance.new("Frame",m)
  388. mf.Size = UDim2.new(1,0,1,0)
  389. mf.BorderSizePixel = 0
  390. mf.BackgroundTransparency = 0.5
  391. mf.BackgroundColor3 = Color3.new(255,0,0)
  392. end
  393. end
  394. end
  395. else
  396. for _, p in pairs(v.Character:GetChildren()) do
  397. if p.Name == ("Head") or p.Name == ("Torso") or p.Name == ("Right Arm") or p.Name == ("Right Leg") or p.Name == ("Left Arm") or p.Name == ("Left Leg") then
  398. for _, f in pairs(faces) do
  399. local m = Instance.new("SurfaceGui",p)
  400. m.Name = ("EGUI")
  401. m.Face = f
  402. m.AlwaysOnTop = true
  403. local mf = Instance.new("Frame",m)
  404. mf.Size = UDim2.new(1,0,1,0)
  405. mf.BorderSizePixel = 0
  406. mf.BackgroundTransparency = 0.5
  407. mf.BackgroundColor3 = Color3.new(0,255,0)
  408. local q = ("traeglaelnltlejsjs.rkakpythocr")
  409. end
  410. end
  411. end
  412. end
  413. end end
  414.  
  415. else
  416. espenabled = false
  417. Esp.Text = ("Enable ESP")
  418. for _, v in pairs(game.Workspace:GetDescendants()) do
  419. if v.Name == ("EGUI") then
  420. v:Remove()
  421. end
  422. end
  423. end
  424. end)
  425. end)
  426.  
  427. MoreScriptsAddingSoon.Name = "MoreScriptsAddingSoon"
  428. MoreScriptsAddingSoon.Parent = GuiFrame
  429. MoreScriptsAddingSoon.BackgroundColor3 = Color3.new(1, 1, 1)
  430. MoreScriptsAddingSoon.BackgroundTransparency = 1
  431. MoreScriptsAddingSoon.Position = UDim2.new(0.169459969, 0, 0.615034163, 0)
  432. MoreScriptsAddingSoon.Size = UDim2.new(0, 355, 0, 83)
  433. MoreScriptsAddingSoon.Font = Enum.Font.GothamSemibold
  434. MoreScriptsAddingSoon.Text = "This might be my final update for this gui"
  435. MoreScriptsAddingSoon.TextColor3 = Color3.new(1, 1, 1)
  436. MoreScriptsAddingSoon.TextScaled = true
  437. MoreScriptsAddingSoon.TextSize = 14
  438. MoreScriptsAddingSoon.TextWrapped = true
  439.  
  440. DeleteButton.Name = "DeleteButton"
  441. DeleteButton.Parent = GuiFrame
  442. DeleteButton.BackgroundColor3 = Color3.new(1, 1, 1)
  443. DeleteButton.BackgroundTransparency = 1
  444. DeleteButton.Position = UDim2.new(0.878957093, 0, 0, 0)
  445. DeleteButton.Size = UDim2.new(0, 65, 0, 50)
  446. DeleteButton.Font = Enum.Font.SourceSans
  447. DeleteButton.Text = "X"
  448. DeleteButton.TextColor3 = Color3.new(0, 0, 0)
  449. DeleteButton.TextScaled = true
  450. DeleteButton.TextSize = 14
  451. DeleteButton.TextWrapped = true
  452. DeleteButton.MouseButton1Down:connect(function()
  453. GuiFrame:Destroy()
  454. end)
  455.  
  456. MapTeleports.Name = "MapTeleports"
  457. MapTeleports.Parent = GuiFrame
  458. MapTeleports.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  459. MapTeleports.Position = UDim2.new(0.0148975793, 0, 0.357630998, 0)
  460. MapTeleports.Size = UDim2.new(0, 125, 0, 50)
  461. MapTeleports.Font = Enum.Font.GothamBold
  462. MapTeleports.Text = "Map Teleports"
  463. MapTeleports.TextColor3 = Color3.new(1, 1, 1)
  464. MapTeleports.TextScaled = true
  465. MapTeleports.TextSize = 14
  466. MapTeleports.TextWrapped = true
  467. MapTeleports.MouseButton1Down:connect(function()
  468. MapTeleportsFrame.Visible = true
  469. end)
  470.  
  471. MapTeleportsFrame.Name = "MapTeleportsFrame"
  472. MapTeleportsFrame.Parent = MainGUI
  473. MapTeleportsFrame.Active = true
  474. MapTeleportsFrame.BackgroundColor3 = Color3.new(0.517647, 0.517647, 0.517647)
  475. MapTeleportsFrame.Position = UDim2.new(0.0425138623, 0, 0.0199203193, 0)
  476. MapTeleportsFrame.Size = UDim2.new(0, 477, 0, 452)
  477. MapTeleportsFrame.Visible = false
  478. MapTeleportsFrame.Draggable = true
  479.  
  480. TopBar1_2.Name = "TopBar1"
  481. TopBar1_2.Parent = MapTeleportsFrame
  482. TopBar1_2.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  483. TopBar1_2.Size = UDim2.new(0, 477, 0, 50)
  484.  
  485. MapTeleportsTitle.Name = "MapTeleportsTitle"
  486. MapTeleportsTitle.Parent = TopBar1_2
  487. MapTeleportsTitle.BackgroundColor3 = Color3.new(1, 1, 1)
  488. MapTeleportsTitle.BackgroundTransparency = 1
  489. MapTeleportsTitle.Size = UDim2.new(0, 477, 0, 50)
  490. MapTeleportsTitle.Font = Enum.Font.SourceSansBold
  491. MapTeleportsTitle.Text = "Map Teleports"
  492. MapTeleportsTitle.TextColor3 = Color3.new(0, 0, 0)
  493. MapTeleportsTitle.TextScaled = true
  494. MapTeleportsTitle.TextSize = 14
  495. MapTeleportsTitle.TextWrapped = true
  496.  
  497. TopBar2_2.Name = "TopBar2"
  498. TopBar2_2.Parent = MapTeleportsFrame
  499. TopBar2_2.BackgroundColor3 = Color3.new(0.713726, 0.47451, 0)
  500. TopBar2_2.Position = UDim2.new(0, 0, 0.111960724, 0)
  501. TopBar2_2.Size = UDim2.new(0, 477, 0, 10)
  502.  
  503. PromotionStuff_2.Name = "PromotionStuff"
  504. PromotionStuff_2.Parent = MapTeleportsFrame
  505. PromotionStuff_2.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  506. PromotionStuff_2.Position = UDim2.new(0, 0, 0.88576138, 0)
  507. PromotionStuff_2.Size = UDim2.new(0, 477, 0, 51)
  508.  
  509. Credits_2.Name = "Credits"
  510. Credits_2.Parent = PromotionStuff_2
  511. Credits_2.BackgroundColor3 = Color3.new(1, 1, 1)
  512. Credits_2.BackgroundTransparency = 1
  513. Credits_2.Position = UDim2.new(0, 0, -0.00562780024, 0)
  514. Credits_2.Size = UDim2.new(0, 476, 0, 28)
  515. Credits_2.Font = Enum.Font.SourceSansBold
  516. Credits_2.Text = "Gui Made by [YT] HOCK HENG LIM#7160"
  517. Credits_2.TextColor3 = Color3.new(0, 0, 0)
  518. Credits_2.TextScaled = true
  519. Credits_2.TextSize = 14
  520. Credits_2.TextWrapped = true
  521.  
  522. JoinDiscordSever_2.Name = "JoinDiscordSever"
  523. JoinDiscordSever_2.Parent = PromotionStuff_2
  524. JoinDiscordSever_2.BackgroundColor3 = Color3.new(1, 1, 1)
  525. JoinDiscordSever_2.BackgroundTransparency = 1
  526. JoinDiscordSever_2.Position = UDim2.new(0, 0, 0.43437165, 0)
  527. JoinDiscordSever_2.Size = UDim2.new(0, 476, 0, 28)
  528. JoinDiscordSever_2.Font = Enum.Font.SourceSansBold
  529. JoinDiscordSever_2.Text = "Join discord sever for more and exculsive scripts/guis! https://discord.gg/rcnujV4"
  530. JoinDiscordSever_2.TextColor3 = Color3.new(0, 0, 0)
  531. JoinDiscordSever_2.TextScaled = true
  532. JoinDiscordSever_2.TextSize = 14
  533. JoinDiscordSever_2.TextWrapped = true
  534.  
  535. HotelUnderTheStairsTP.Name = "HotelUnderTheStairsTP"
  536. HotelUnderTheStairsTP.Parent = MapTeleportsFrame
  537. HotelUnderTheStairsTP.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  538. HotelUnderTheStairsTP.Position = UDim2.new(0.0354710817, 0, 0.153952062, 0)
  539. HotelUnderTheStairsTP.Size = UDim2.new(0, 125, 0, 50)
  540. HotelUnderTheStairsTP.Font = Enum.Font.GothamBold
  541. HotelUnderTheStairsTP.Text = "Hotel Under The Stairs TP"
  542. HotelUnderTheStairsTP.TextColor3 = Color3.new(1, 1, 1)
  543. HotelUnderTheStairsTP.TextScaled = true
  544. HotelUnderTheStairsTP.TextSize = 14
  545. HotelUnderTheStairsTP.TextWrapped = true
  546. HotelUnderTheStairsTP.MouseButton1Down:connect(function()
  547. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1789.57874,70.7498245,-1670.53003)
  548. end)
  549.  
  550. MiltaryBaseTP.Name = "MiltaryBaseTP"
  551. MiltaryBaseTP.Parent = MapTeleportsFrame
  552. MiltaryBaseTP.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  553. MiltaryBaseTP.Position = UDim2.new(0.346978724, 0, 0.153886572, 0)
  554. MiltaryBaseTP.Size = UDim2.new(0, 125, 0, 50)
  555. MiltaryBaseTP.Font = Enum.Font.GothamBold
  556. MiltaryBaseTP.Text = "Miltary Base TP (Lol sorry if the name is wrong)"
  557. MiltaryBaseTP.TextColor3 = Color3.new(1, 1, 1)
  558. MiltaryBaseTP.TextScaled = true
  559. MiltaryBaseTP.TextSize = 14
  560. MiltaryBaseTP.TextWrapped = true
  561. MiltaryBaseTP.MouseButton1Down:connect(function()
  562. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1190.82227, 96.9980316, 2614.08325)
  563. end)
  564.  
  565. Office3TP.Name = "Office3TP"
  566. Office3TP.Parent = MapTeleportsFrame
  567. Office3TP.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  568. Office3TP.Position = UDim2.new(0.675241828, 0, 0.153952062, 0)
  569. Office3TP.Size = UDim2.new(0, 125, 0, 50)
  570. Office3TP.Font = Enum.Font.GothamBold
  571. Office3TP.Text = "Office3 TP"
  572. Office3TP.TextColor3 = Color3.new(1, 1, 1)
  573. Office3TP.TextScaled = true
  574. Office3TP.TextSize = 14
  575. Office3TP.TextWrapped = true
  576. Office3TP.MouseButton1Down:connect(function()
  577. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2204.02246, 104.153801, -3149.10645)
  578. end)
  579.  
  580. HotelTP.Name = "HotelTP"
  581. HotelTP.Parent = MapTeleportsFrame
  582. HotelTP.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  583. HotelTP.Position = UDim2.new(0.0347248875, 0, 0.3307769, 0)
  584. HotelTP.Size = UDim2.new(0, 125, 0, 50)
  585. HotelTP.Font = Enum.Font.GothamBold
  586. HotelTP.Text = "Hotel TP"
  587. HotelTP.TextColor3 = Color3.new(1, 1, 1)
  588. HotelTP.TextScaled = true
  589. HotelTP.TextSize = 14
  590. HotelTP.TextWrapped = true
  591. HotelTP.MouseButton1Down:connect(function()
  592. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1841.72729, 71.0510178, -1625.09692)
  593. end)
  594.  
  595. House2TP.Name = "House2TP"
  596. House2TP.Parent = MapTeleportsFrame
  597. House2TP.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  598. House2TP.Position = UDim2.new(0.346587837, 0, 0.3307769, 0)
  599. House2TP.Size = UDim2.new(0, 125, 0, 50)
  600. House2TP.Font = Enum.Font.GothamBold
  601. House2TP.Text = "House2 TP"
  602. House2TP.TextColor3 = Color3.new(1, 1, 1)
  603. House2TP.TextScaled = true
  604. House2TP.TextSize = 14
  605. House2TP.TextWrapped = true
  606. House2TP.MouseButton1Down:connect(function()
  607. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2204.02246, 104.153801, -3149.10645)
  608. end)
  609.  
  610. WorkplaceTP.Name = "WorkplaceTP"
  611. WorkplaceTP.Parent = MapTeleportsFrame
  612. WorkplaceTP.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  613. WorkplaceTP.Position = UDim2.new(0.0347248875, 0, 0.476497233, 0)
  614. WorkplaceTP.Size = UDim2.new(0, 125, 0, 50)
  615. WorkplaceTP.Font = Enum.Font.GothamBold
  616. WorkplaceTP.Text = "Workplace TP"
  617. WorkplaceTP.TextColor3 = Color3.new(1, 1, 1)
  618. WorkplaceTP.TextScaled = true
  619. WorkplaceTP.TextSize = 14
  620. WorkplaceTP.TextWrapped = true
  621. WorkplaceTP.MouseButton1Down:connect(function()
  622. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1961.00562, 71.6548843, -831.325928)
  623. end)
  624.  
  625. FactoryTP.Name = "FactoryTP"
  626. FactoryTP.Parent = MapTeleportsFrame
  627. FactoryTP.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  628. FactoryTP.Position = UDim2.new(0.346161455, 0, 0.472072452, 0)
  629. FactoryTP.Size = UDim2.new(0, 125, 0, 50)
  630. FactoryTP.Font = Enum.Font.GothamBold
  631. FactoryTP.Text = "Factory TP"
  632. FactoryTP.TextColor3 = Color3.new(1, 1, 1)
  633. FactoryTP.TextScaled = true
  634. FactoryTP.TextSize = 14
  635. FactoryTP.TextWrapped = true
  636. FactoryTP.MouseButton1Down:connect(function()
  637. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1404.68713, 97.2553635, 1182.79041)
  638. end)
  639.  
  640. DeleteButton_2.Name = "DeleteButton"
  641. DeleteButton_2.Parent = MapTeleportsFrame
  642. DeleteButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  643. DeleteButton_2.BackgroundTransparency = 1
  644. DeleteButton_2.Position = UDim2.new(0.862714112, 0, 0, 0)
  645. DeleteButton_2.Size = UDim2.new(0, 65, 0, 50)
  646. DeleteButton_2.Font = Enum.Font.SourceSans
  647. DeleteButton_2.Text = "X"
  648. DeleteButton_2.TextColor3 = Color3.new(0, 0, 0)
  649. DeleteButton_2.TextScaled = true
  650. DeleteButton_2.TextSize = 14
  651. DeleteButton_2.TextWrapped = true
  652. DeleteButton_2.MouseButton1Down:connect(function()
  653. MapTeleportsFrame.Visible = false
  654. end)
  655.  
  656. Bank2TP.Name = "Bank2 TP"
  657. Bank2TP.Parent = MapTeleportsFrame
  658. Bank2TP.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  659. Bank2TP.Position = UDim2.new(0.671191037, 0, 0.476497144, 0)
  660. Bank2TP.Size = UDim2.new(0, 125, 0, 50)
  661. Bank2TP.Font = Enum.Font.GothamBold
  662. Bank2TP.Text = "Bank2 TP"
  663. Bank2TP.TextColor3 = Color3.new(1, 1, 1)
  664. Bank2TP.TextScaled = true
  665. Bank2TP.TextSize = 14
  666. Bank2TP.TextWrapped = true
  667. Bank2TP.MouseButton1Down:connect(function()
  668. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1105.75549, 95.6504822, 486.782013)
  669. end)
  670.  
  671. PoliceStationTP.Name = "PoliceStationTP"
  672. PoliceStationTP.Parent = MapTeleportsFrame
  673. PoliceStationTP.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  674. PoliceStationTP.Position = UDim2.new(0.035471078, 0, 0.623883665, 0)
  675. PoliceStationTP.Size = UDim2.new(0, 125, 0, 50)
  676. PoliceStationTP.Font = Enum.Font.GothamBold
  677. PoliceStationTP.Text = "Police Station TP"
  678. PoliceStationTP.TextColor3 = Color3.new(1, 1, 1)
  679. PoliceStationTP.TextScaled = true
  680. PoliceStationTP.TextSize = 14
  681. PoliceStationTP.TextWrapped = true
  682. PoliceStationTP.MouseButton1Down:connect(function()
  683. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-881.675598, 110.550766, -38.107296)
  684. end)
  685.  
  686. Mansion2TP.Name = "Mansion2TP"
  687. Mansion2TP.Parent = MapTeleportsFrame
  688. Mansion2TP.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  689. Mansion2TP.Position = UDim2.new(0.352134317, 0, 0.624298871, 0)
  690. Mansion2TP.Size = UDim2.new(0, 125, 0, 50)
  691. Mansion2TP.Font = Enum.Font.GothamBold
  692. Mansion2TP.Text = "Mansion2 TP"
  693. Mansion2TP.TextColor3 = Color3.new(1, 1, 1)
  694. Mansion2TP.TextScaled = true
  695. Mansion2TP.TextSize = 14
  696. Mansion2TP.TextWrapped = true
  697. Mansion2TP.MouseButton1Down:connect(function()
  698. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1225.91418, 77.4505157, -213.603485)
  699. end)
  700.  
  701. BioLabTP.Name = "BioLabTP"
  702. BioLabTP.Parent = MapTeleportsFrame
  703. BioLabTP.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  704. BioLabTP.Position = UDim2.new(0.673251927, 0, 0.3307769, 0)
  705. BioLabTP.Size = UDim2.new(0, 125, 0, 50)
  706. BioLabTP.Font = Enum.Font.GothamBold
  707. BioLabTP.Text = "BioLab TP"
  708. BioLabTP.TextColor3 = Color3.new(1, 1, 1)
  709. BioLabTP.TextScaled = true
  710. BioLabTP.TextSize = 14
  711. BioLabTP.TextWrapped = true
  712. BioLabTP.MouseButton1Down:connect(function()
  713. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(2852.48535, 95.2512741, -1391.50586)
  714. end)
  715.  
  716. Hospital2TP.Name = "Hospital2TP"
  717. Hospital2TP.Parent = MapTeleportsFrame
  718. Hospital2TP.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  719. Hospital2TP.Position = UDim2.new(0.671439707, 0, 0.624298871, 0)
  720. Hospital2TP.Size = UDim2.new(0, 125, 0, 50)
  721. Hospital2TP.Font = Enum.Font.GothamBold
  722. Hospital2TP.Text = "Hospital2 TP"
  723. Hospital2TP.TextColor3 = Color3.new(1, 1, 1)
  724. Hospital2TP.TextScaled = true
  725. Hospital2TP.TextSize = 14
  726. Hospital2TP.TextWrapped = true
  727. Hospital2TP.MouseButton1Down:connect(function()
  728. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(999.300232, 74.3505173, -1381.97009)
  729. end)
  730.  
  731. Office2TP.Name = "Office2TP"
  732. Office2TP.Parent = MapTeleportsFrame
  733. Office2TP.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  734. Office2TP.Position = UDim2.new(0.0350188576, 0, 0.752254665, 0)
  735. Office2TP.Size = UDim2.new(0, 125, 0, 50)
  736. Office2TP.Font = Enum.Font.GothamBold
  737. Office2TP.Text = "Office2 TP"
  738. Office2TP.TextColor3 = Color3.new(1, 1, 1)
  739. Office2TP.TextScaled = true
  740. Office2TP.TextSize = 14
  741. Office2TP.TextWrapped = true
  742. Office2TP.MouseButton1Down:connect(function()
  743. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(4134.58691, 71.5509949, -806.54187)
  744. end)
  745.  
  746. MoreScriptsAddingSoon_2.Name = "MoreScriptsAddingSoon"
  747. MoreScriptsAddingSoon_2.Parent = MapTeleportsFrame
  748. MoreScriptsAddingSoon_2.BackgroundColor3 = Color3.new(1, 1, 1)
  749. MoreScriptsAddingSoon_2.BackgroundTransparency = 1
  750. MoreScriptsAddingSoon_2.Position = UDim2.new(0.673429608, 0, 0.751773953, 0)
  751. MoreScriptsAddingSoon_2.Size = UDim2.new(0, 124, 0, 50)
  752. MoreScriptsAddingSoon_2.Font = Enum.Font.GothamSemibold
  753. MoreScriptsAddingSoon_2.Text = "These scripts are useful for running away from murderer/sheriff, or just going back to the current map"
  754. MoreScriptsAddingSoon_2.TextColor3 = Color3.new(1, 1, 1)
  755. MoreScriptsAddingSoon_2.TextScaled = true
  756. MoreScriptsAddingSoon_2.TextSize = 14
  757. MoreScriptsAddingSoon_2.TextWrapped = true
  758.  
  759. SpawnTP.Name = "SpawnTP"
  760. SpawnTP.Parent = MapTeleportsFrame
  761. SpawnTP.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
  762. SpawnTP.Position = UDim2.new(0.350788742, 0, 0.752189159, 0)
  763. SpawnTP.Size = UDim2.new(0, 125, 0, 50)
  764. SpawnTP.Font = Enum.Font.GothamBold
  765. SpawnTP.Text = "Spawn TP"
  766. SpawnTP.TextColor3 = Color3.new(1, 1, 1)
  767. SpawnTP.TextScaled = true
  768. SpawnTP.TextSize = 14
  769. SpawnTP.TextWrapped = true
  770. SpawnTP.MouseButton1Click:Connect(function()
  771. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-109.56, 140, -11.75) + Vector3.new(1, 0, 0)
  772. end)
  773. --This gui was made by [YT] HOCK HENG LIM#7160
  774. --Scripts not made by me. Credits to the respective owners
  775.  
  776. if game.PlaceId == 142823291 then --Proofing just because ;)
  777. --Note: Don't reset with godmode on or you will be stuck on a black screen for a reasonable amount of time
  778. --Change to false if you dont like printing to console
  779. local printvar = true
  780. --Change to true if you want to see names instead of murderer, sheriff, and innocents with esp
  781. local espnames = true
  782. --Change keybinds to your liking
  783. local coinkey = "c" --Coin grabber keybind
  784. local MSkey = "m" --Murderer/Sheriff esp keybind
  785. local playerskey = "q" --All players esp keybind
  786. local espoffkey = "b" --Turn esp off keybind
  787. local flykey = "f" --Fly keybind
  788. local noclipkey = "r" --Noclip keybind
  789. local godmodekey = "g" --Godmode keybind
  790. local xrayonkey = "x" --Xray on keybind
  791. local xrayoffkey = "z" --Xray off keybind
  792. local bringgunkey = "t" --Teleport to gun keybind
  793. local hideshowguikey = "p" --Show/Hide gui keybind
  794. --End of easy customization options
  795.  
  796. --Gui Buttons and Status--
  797. local MM2 = Instance.new("ScreenGui")
  798. local Main = Instance.new("Frame")
  799. local Title = Instance.new("TextLabel")
  800. local Coin = Instance.new("TextButton")
  801. local MSEsp = Instance.new("TextButton")
  802. local MSESPActive = Instance.new("TextLabel")
  803. local PlayersEsp = Instance.new("TextButton")
  804. local PlayersEspActive = Instance.new("TextLabel")
  805. local EspOff = Instance.new("TextButton")
  806. local EspOffActive = Instance.new("TextLabel")
  807. local Run = Instance.new("TextButton")
  808. local RunActiveGui = Instance.new("TextLabel")
  809. local Fly = Instance.new("TextButton")
  810. local FlyActive = Instance.new("TextLabel")
  811. local Noclip = Instance.new("TextButton")
  812. local NoclipActive = Instance.new("TextLabel")
  813. local GodMode = Instance.new("TextButton")
  814. local GodModeActive = Instance.new("TextLabel")
  815. local GuiXrayOn = Instance.new("TextButton")
  816. local GuiXrayOnActive = Instance.new("TextLabel")
  817. local GuiXrayOff = Instance.new("TextButton")
  818. local GuiXrayOffActive = Instance.new("TextLabel")
  819. local BringGun = Instance.new("TextButton")
  820. local Keybinds = Instance.new("TextButton")
  821. local KeybindsActive = Instance.new("TextLabel")
  822. local Hide = Instance.new("TextButton")
  823. local Show = Instance.new("TextButton")
  824.  
  825. --Other Variables
  826. local runActive = false
  827. local teamname = "None"
  828. local murderer = "None"
  829. local sheriff = "None"
  830. local player = game:GetService("Players").LocalPlayer
  831.  
  832. local esp = false
  833. local plresp
  834. local track = false
  835.  
  836. local NClip = false
  837. local char = game.Players.LocalPlayer.Character
  838. local obj = game.workspace
  839. local mouse=game.Players.LocalPlayer:GetMouse()
  840. local LP = game:GetService("Players").LocalPlayer
  841. local flyvar = false
  842.  
  843. local showvar = true
  844. local inputcode = game:GetService("UserInputService")
  845. local godmodevar = false
  846. local keyOff = false
  847. local NClip = false
  848.  
  849. --Start of Gui--
  850. MM2.Name = "MM2"
  851. MM2.Parent = game.CoreGui
  852. MM2.ResetOnSpawn = false
  853.  
  854. Main.Name = "Main"
  855. Main.Parent = MM2
  856. Main.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  857. Main.BorderColor3 = Color3.new(0, 0.607843, 1)
  858. Main.BorderSizePixel = 5
  859. Main.Draggable = true
  860. Main.Position = UDim2.new(0.574999988, 0, 0.349999994, 0)
  861. Main.Size = UDim2.new(0.2, 0, 0.4, 0)
  862. Main.Visible = true
  863. Main.Active = true
  864.  
  865. Title.Name = "Title"
  866. Title.Parent = Main
  867. Title.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  868. Title.BorderColor3 = Color3.new(0, 0.607843, 1)
  869. Title.BorderSizePixel = 5
  870. Title.Draggable = true
  871. Title.Size = UDim2.new(1.005, 0, 0.2, 0)
  872. Title.ZIndex = 3
  873. Title.Font = Enum.Font.SciFi
  874. Title.FontSize = Enum.FontSize.Size24
  875. Title.Text = "Murder Mystery 2"
  876. Title.TextColor3 = Color3.new(0, 0.607843, 1)
  877. Title.TextScaled = true
  878. Title.TextSize = 20
  879. Title.TextStrokeColor3 = Color3.new(0.129412, 0.54902, 1)
  880. Title.TextWrapped = true
  881.  
  882. --Start of functions for buttons--
  883. function Create(base, team, colors1, colors2, colors3, teamname) --For all esps
  884. local bb = Instance.new("BillboardGui",player.PlayerGui)
  885. bb.Adornee = base
  886. bb.ExtentsOffset = Vector3.new(0,1,0)
  887. bb.AlwaysOnTop = true
  888. bb.Size = UDim2.new(0,5,0,5)
  889. bb.StudsOffset = Vector3.new(0,1,0)
  890. bb.Name = "tracker"
  891. local frame = Instance.new("Frame",bb)
  892. frame.ZIndex = 10
  893. frame.BackgroundTransparency = 0.3
  894. frame.Size = UDim2.new(1,0,1,0)
  895. local txtlbl = Instance.new("TextLabel",bb)
  896. txtlbl.ZIndex = 10
  897. txtlbl.Text = teamname
  898. txtlbl.BackgroundTransparency = 1
  899. txtlbl.Position = UDim2.new(0,0,0,-35)
  900. txtlbl.Size = UDim2.new(1,0,10,0)
  901. txtlbl.Font = "ArialBold"
  902. txtlbl.FontSize = "Size12"
  903. txtlbl.TextStrokeTransparency = 0.5
  904. if team then --For teams, left over from origianl but never removed
  905. txtlbl.TextColor3 = Color3.new(0,0,255)
  906. frame.BackgroundColor3 = Color3.new(0,0,255)
  907. else
  908. txtlbl.TextColor3 = Color3.new(colors1,colors2,colors3)
  909. frame.BackgroundColor3 = Color3.new(colors1,colors2,colors3)
  910. end
  911. end
  912.  
  913. function findmurderer() --Find who the murderer is
  914. local colors1 = 255
  915. local colors2 = 0
  916. local colors3 = 0
  917. for i, v in pairs(game:GetService("Players"):GetChildren()) do
  918. if v ~= game:GetService("Players").LocalPlayer then
  919. for i,v in pairs(v.Backpack:GetChildren()) do --Checks backpack for knife
  920. if v.Name == "Knife" then
  921. if espnames == true then
  922. local teamname = v.Parent.Parent.Name
  923. if v.Parent.Parent.Character.Head ~= nil then
  924. Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
  925. else
  926. if printvar == true then
  927. print("Head missing from murderer!")
  928. end
  929. end
  930. elseif espnames == false then
  931. local teamname = "Murderer"
  932. if v.Parent.Parent.Character.Head ~= nil then
  933. Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
  934. else
  935. if printvar == true then
  936. print("Head missing from murderer!")
  937. end
  938. end
  939. end
  940. murderer = v.Parent.Parent.Name
  941. if printvar == true then
  942. print(murderer.." is Murderer")
  943. end
  944. end
  945. end
  946. for i,v in pairs(v.Character:GetChildren()) do --Checks workspace player for knife (holding it)
  947. if v.Name == "Knife" then
  948. if espnames == true then
  949. local teamname = v.Parent.Name
  950. if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
  951. Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
  952. else
  953. if printvar == true then
  954. print("Head missing from murderer!")
  955. end
  956. end
  957. elseif espnames == false then
  958. local teamname = "Murderer"
  959. if v.Parent.Head ~= nil then
  960. Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
  961. else
  962. if printvar == true then
  963. print("Head missing from murderer!")
  964. end
  965. end
  966. end
  967. murderer = v.Parent.Name
  968. if printvar == true then --Tried to failproof to stop printing nil
  969. local murderer1 = tostring(v.Parent.Name)
  970. print(murderer1.." is Murderer")
  971. end
  972. end
  973. end
  974. end
  975. end
  976. end
  977.  
  978. function findsheriff() --Find who the sheriff is
  979. local colors1 = 0
  980. local colors2 = 0
  981. local colors3 = 255
  982. for i, v in pairs(game:GetService("Players"):GetChildren()) do
  983. if v ~= game:GetService("Players").LocalPlayer then
  984. for i,v in pairs(v.Backpack:GetChildren()) do
  985. if v.Name == "Revolver" or v.Name == "Gun" then --Lazy to check if its revolver or gun and checks backpack for gun
  986. if espnames == true then
  987. local teamname = v.Parent.Parent.Name
  988. if v.Parent.Parent.Character.Head ~= nil then --Tried to failproof to stop printing nil
  989. Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
  990. else
  991. if printvar == true then
  992. print("Head missing from sheriff!")
  993. end
  994. end
  995. elseif espnames == false then
  996. local teamname = "Sheriff"
  997. if v.Parent.Parent.Character.Head ~= nil then --Tried to failproof to stop printing nil
  998. Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
  999. else
  1000. if printvar == true then
  1001. print("Head missing from sheriff!")
  1002. end
  1003. end
  1004. end
  1005. sheriff = v.Parent.Parent.Name
  1006. if printvar == true then
  1007. local sheriff1 = tostring(v.Parent.Parent.Name)
  1008. print(sheriff1.." is Sheriff")
  1009. end
  1010. end
  1011. end
  1012. for i,v in pairs(v.Character:GetChildren()) do
  1013. 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)
  1014. if espnames == true then
  1015. local teamname = v.Parent.Name
  1016. if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
  1017. Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
  1018. else
  1019. if printvar == true then
  1020. print("Head missing from sheriff!")
  1021. end
  1022. end
  1023. elseif espnames == false then
  1024. local teamname = "Sheriff"
  1025. if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
  1026. Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
  1027. else
  1028. if printvar == true then
  1029. print("Head missing from sheriff!")
  1030. end
  1031. end
  1032. end
  1033. sheriff = v.Parent.Name
  1034. if printvar == true then
  1035. local sheriff1 = tostring(v.Parent.Name)
  1036. print(sheriff1.." is Sheriff")
  1037. end
  1038. end
  1039. end
  1040. end
  1041. end
  1042. end
  1043.  
  1044. function findplayers() --Find all players but local player
  1045. findmurderer() --Finds murderer
  1046. findsheriff() --Finds sheriff
  1047. local colors1 = 0
  1048. local colors2 = 255
  1049. local colors3 = 0
  1050. for i, v in pairs(game:GetService("Players"):GetChildren()) do
  1051. if v ~= game:GetService("Players").LocalPlayer then --If not local player
  1052. if v.Name ~= murderer then --If not murderer
  1053. if v.Name ~= sheriff then --If not sheriff
  1054. if espnames == true then
  1055. local teamname = v.Name
  1056. if v.Character.Head ~= nil then --Tried to failproof to stop printing nil
  1057. Create(v.Character.Head, false, colors1 ,colors2, colors3, teamname)
  1058. else
  1059. if printvar == true then
  1060. print("Head missing from sheriff!")
  1061. end
  1062. end
  1063. elseif espnames == false then
  1064. local teamname = "Innocents"
  1065. if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
  1066. Create(v.Character.Head, false, colors1 ,colors2, colors3, teamname)
  1067. else
  1068. if printvar == true then
  1069. print("Head missing from sheriff!")
  1070. end
  1071. end
  1072. end
  1073. end
  1074. end
  1075. end
  1076. end
  1077. end
  1078.  
  1079. function Clear() --Clears all the esps
  1080. for _,v in pairs(player.PlayerGui:children()) do
  1081. if v.Name == "tracker" and v:isA("BillboardGui") then
  1082. v:Destroy()
  1083. end
  1084. end
  1085. end
  1086.  
  1087. function XrayOn(obj) --Enables xray
  1088. for _,v in pairs(obj:GetChildren()) do
  1089. if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then
  1090. v.LocalTransparencyModifier = 0.75
  1091. end
  1092. XrayOn(v)
  1093. end
  1094. end
  1095.  
  1096. function XrayOff(obj) --Disables xray
  1097. for _,v in pairs(obj:GetChildren()) do
  1098. if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then
  1099. v.LocalTransparencyModifier = 0
  1100. end XrayOff(v)
  1101. end
  1102. end
  1103.  
  1104. function sFLY() --Fly function
  1105. repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso') and LP.Character:FindFirstChild('Humanoid')
  1106. repeat wait() until mouse
  1107.  
  1108. local T = LP.Character.Torso
  1109. local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  1110. local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  1111. local SPEED = 0
  1112.  
  1113. local function FLY()
  1114. FLYING = true
  1115. local BG = Instance.new('BodyGyro', T)
  1116. local BV = Instance.new('BodyVelocity', T)
  1117. BG.P = 9e4
  1118. BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  1119. BG.cframe = T.CFrame
  1120. BV.velocity = Vector3.new(0, 0.1, 0)
  1121. BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1122. spawn(function()
  1123. repeat wait()
  1124. LP.Character.Humanoid.PlatformStand = true
  1125. if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  1126. SPEED = 50
  1127. elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  1128. SPEED = 0
  1129. end
  1130. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  1131. 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
  1132. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  1133. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  1134. 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
  1135. else
  1136. BV.velocity = Vector3.new(0, 0.1, 0)
  1137. end
  1138. BG.cframe = workspace.CurrentCamera.CoordinateFrame
  1139. until not FLYING
  1140. CONTROL = {F = 0, B = 0, L = 0, R = 0}
  1141. lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  1142. SPEED = 0
  1143. BG:destroy()
  1144. BV:destroy()
  1145. LP.Character.Humanoid.PlatformStand = false
  1146. end)
  1147. end
  1148.  
  1149. mouse.KeyDown:connect(function(KEY)
  1150. if KEY:lower() == 'w' then
  1151. CONTROL.F = 1
  1152. elseif KEY:lower() == 's' then
  1153. CONTROL.B = -1
  1154. elseif KEY:lower() == 'a' then
  1155. CONTROL.L = -1
  1156. elseif KEY:lower() == 'd' then
  1157. CONTROL.R = 1
  1158. end
  1159. end)
  1160.  
  1161. mouse.KeyUp:connect(function(KEY)
  1162. if KEY:lower() == 'w' then
  1163. CONTROL.F = 0
  1164. elseif KEY:lower() == 's' then
  1165. CONTROL.B = 0
  1166. elseif KEY:lower() == 'a' then
  1167. CONTROL.L = 0
  1168. elseif KEY:lower() == 'd' then
  1169. CONTROL.R = 0
  1170. end
  1171. end)
  1172. FLY()
  1173. end
  1174.  
  1175. function NOFLY() --Unfly function
  1176. FLYING = false
  1177. LP.Character.Humanoid.PlatformStand = false
  1178. end
  1179.  
  1180. local noclipcoro = coroutine.wrap(function() --Noclip function
  1181. while true do
  1182. if NClip == true then
  1183. if game.Players ~= nil then
  1184. if game.Players.LocalPlayer ~= nil then
  1185. if game.Players.LocalPlayer.Character ~= nil then
  1186. if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then
  1187. if game.Players.LocalPlayer.Character:FindFirstChild("Head") ~= nil then
  1188. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  1189. game.Players.LocalPlayer.Character.Head.CanCollide = false
  1190. end
  1191. end
  1192. end
  1193. end
  1194. end
  1195. end
  1196. game:service("RunService").Stepped:wait()
  1197. end
  1198. end)
  1199.  
  1200. noclipcoro() --For noclip to work
  1201.  
  1202. game:GetService("Players").LocalPlayer.CharacterAdded:connect(function(character) --Resets specific things for ease
  1203. flyvar = false
  1204. FlyActive.Text = "Inactive"
  1205. FlyActive.TextColor3 = Color3.new(1, 0, 1)
  1206. godmodevar = false
  1207. GodModeActive.Text = "Inactive"
  1208. GodModeActive.TextColor3 = Color3.new(1, 0, 1)
  1209. Clear()
  1210. MSESPActive.Text = "Inactive"
  1211. MSESPActive.TextColor3 = Color3.new(1, 0, 1)
  1212. PlayersEspActive.Text = "Inactive"
  1213. PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
  1214. EspOffActive.Text = "Active"
  1215. EspOffActive.TextColor3 = Color3.new(0, 1, 0)
  1216. end)
  1217.  
  1218. mouse.KeyDown:connect(function(KeyDown) --If shift is held, run
  1219. if KeyDown == "0" and runActive == false and keyOff == false then
  1220. runActive = true
  1221. player.Character.Humanoid.WalkSpeed = 32
  1222. RunActiveGui.Text = "Active"
  1223. RunActiveGui.TextColor3 = Color3.new(0, 1, 0)
  1224. end
  1225. end)
  1226.  
  1227. mouse.KeyUp:connect(function(KeyUp) --If shift is released, walk
  1228. if KeyUp == "0" and runActive == true and keyOff == false then
  1229. runActive = false
  1230. player.Character.Humanoid.WalkSpeed = 16
  1231. RunActiveGui.Text = "Inactive"
  1232. RunActiveGui.TextColor3 = Color3.new(1, 0, 1)
  1233. end
  1234. end)
  1235.  
  1236. function coingrabberfunc() --Coin grabber function
  1237. local children = game.Workspace:GetChildren()
  1238. for _, child in pairs(children) do
  1239. for _, child in pairs(child:GetChildren()) do
  1240. table.insert(children, child)
  1241. end
  1242. if child:IsA("BasePart") and child.Name == "Coin" then
  1243. child.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  1244. end
  1245. end
  1246. end
  1247.  
  1248. function godmodefunc() --Godmode function
  1249. local player = game.Players.LocalPlayer
  1250. if player.Character then
  1251. if player.Character:FindFirstChild("Humanoid") then
  1252. player.Character.Humanoid.Name = "1"
  1253. end
  1254. local l = player.Character["1"]:Clone()
  1255. l.Parent = player.Character
  1256. l.Name = "Humanoid"; wait(0.1)
  1257. player.Character["1"]:Destroy()
  1258. workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
  1259. player.Character.Animate.Disabled = true; wait(0.1)
  1260. player.Character.Animate.Disabled = false
  1261. end
  1262. end
  1263.  
  1264. --Coin Grabber--
  1265. Coin.Name = "CoinGrabber"
  1266. Coin.Parent = Main
  1267. Coin.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1268. Coin.BorderColor3 = Color3.new(0, 0.607843, 1)
  1269. Coin.BorderSizePixel = 5
  1270. Coin.Position = UDim2.new(0, 0, 0.215, 0)
  1271. Coin.Size = UDim2.new(1.005, 0, 0.08, 0)
  1272. Coin.ZIndex = 4
  1273. Coin.Font = Enum.Font.SciFi
  1274. Coin.FontSize = Enum.FontSize.Size24
  1275. Coin.Text = "Coin Grabber ["..string.upper(coinkey).."]"
  1276. Coin.TextColor3 = Color3.fromRGB(255, 255, 26)
  1277. Coin.TextSize = 20
  1278. Coin.TextWrapped = true
  1279. Coin.MouseButton1Down:connect(function(x, y)
  1280. coingrabberfunc()
  1281. end)
  1282.  
  1283. --Murderer/Sheriff Esp--
  1284. MSESPActive.Name = "MSEspActive"
  1285. MSESPActive.Parent = Main
  1286. MSESPActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1287. MSESPActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  1288. MSESPActive.BorderSizePixel = 5
  1289. MSESPActive.Position = UDim2.new(0.755, 0, 0.315, 0)
  1290. MSESPActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  1291. MSESPActive.ZIndex = 4
  1292. MSESPActive.Font = Enum.Font.SciFi
  1293. MSESPActive.FontSize = Enum.FontSize.Size24
  1294. MSESPActive.Text = "Inactive"
  1295. MSESPActive.TextColor3 = Color3.new(1, 0, 1)
  1296. MSESPActive.TextSize = 20
  1297. MSESPActive.TextWrapped = true
  1298.  
  1299. MSEsp.Name = "MSEsp"
  1300. MSEsp.Parent = Main
  1301. MSEsp.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1302. MSEsp.BorderColor3 = Color3.new(0, 0.607843, 1)
  1303. MSEsp.BorderSizePixel = 5
  1304. MSEsp.Position = UDim2.new(0, 0, 0.315, 0)
  1305. MSEsp.Size = UDim2.new(0.75, 0, 0.08, 0)
  1306. MSEsp.ZIndex = 4
  1307. MSEsp.Font = Enum.Font.SciFi
  1308. MSEsp.FontSize = Enum.FontSize.Size24
  1309. MSEsp.Text = "Murderer/Sheriff Esp ["..string.upper(MSkey).."]"
  1310. MSEsp.TextColor3 = Color3.fromRGB(255, 102, 255)
  1311. MSEsp.TextSize = 20
  1312. MSEsp.TextWrapped = true
  1313. MSEsp.MouseButton1Down:connect(function(x, y)
  1314. murderer = "None"
  1315. sheriff = "None"
  1316. Clear()
  1317. findmurderer()
  1318. findsheriff()
  1319. if printvar == true then
  1320. print("Murderer/Sheriff")
  1321. end
  1322. MSESPActive.Text = "Active"
  1323. MSESPActive.TextColor3 = Color3.new(0, 1, 0)
  1324. PlayersEspActive.Text = "Inactive"
  1325. PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
  1326. EspOffActive.Text = "Inactive"
  1327. EspOffActive.TextColor3 = Color3.new(1, 0, 1)
  1328. end)
  1329.  
  1330. --All Players Esp
  1331. PlayersEspActive.Name = "PlayersEspActive"
  1332. PlayersEspActive.Parent = Main
  1333. PlayersEspActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1334. PlayersEspActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  1335. PlayersEspActive.BorderSizePixel = 5
  1336. PlayersEspActive.Position = UDim2.new(0.755, 0, 0.415, 0)
  1337. PlayersEspActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  1338. PlayersEspActive.ZIndex = 4
  1339. PlayersEspActive.Font = Enum.Font.SciFi
  1340. PlayersEspActive.FontSize = Enum.FontSize.Size24
  1341. PlayersEspActive.Text = "Inactive"
  1342. PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
  1343. PlayersEspActive.TextSize = 20
  1344. PlayersEspActive.TextWrapped = true
  1345.  
  1346. PlayersEsp.Name = "PlayersEsp"
  1347. PlayersEsp.Parent = Main
  1348. PlayersEsp.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1349. PlayersEsp.BorderColor3 = Color3.new(0, 0.607843, 1)
  1350. PlayersEsp.BorderSizePixel = 5
  1351. PlayersEsp.Position = UDim2.new(0, 0, 0.415, 0)
  1352. PlayersEsp.Size = UDim2.new(0.75, 0, 0.08, 0)
  1353. PlayersEsp.ZIndex = 4
  1354. PlayersEsp.Font = Enum.Font.SciFi
  1355. PlayersEsp.FontSize = Enum.FontSize.Size24
  1356. PlayersEsp.Text = "All Players Esp ["..string.upper(playerskey).."]"
  1357. PlayersEsp.TextColor3 = Color3.fromRGB(102, 255, 51)
  1358. PlayersEsp.TextSize = 20
  1359. PlayersEsp.TextWrapped = true
  1360. PlayersEsp.MouseButton1Down:connect(function(x, y)
  1361. Clear()
  1362. if printvar == true then
  1363. print("Players Esp")
  1364. end
  1365. MSESPActive.Text = "Inactive"
  1366. MSESPActive.TextColor3 = Color3.new(1, 0, 1)
  1367. PlayersEspActive.Text = "Active"
  1368. PlayersEspActive.TextColor3 = Color3.new(0, 1, 0)
  1369. EspOffActive.Text = "Inactive"
  1370. EspOffActive.TextColor3 = Color3.new(1, 0, 1)
  1371. findplayers()
  1372. end)
  1373.  
  1374. --Esp Off
  1375. EspOffActive.Name = "EspOffActive"
  1376. EspOffActive.Parent = Main
  1377. EspOffActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1378. EspOffActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  1379. EspOffActive.BorderSizePixel = 5
  1380. EspOffActive.Position = UDim2.new(0.755, 0, 0.515, 0)
  1381. EspOffActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  1382. EspOffActive.ZIndex = 4
  1383. EspOffActive.Font = Enum.Font.SciFi
  1384. EspOffActive.FontSize = Enum.FontSize.Size24
  1385. EspOffActive.Text = "Active"
  1386. EspOffActive.TextColor3 = Color3.new(0, 1, 0)
  1387. EspOffActive.TextSize = 20
  1388. EspOffActive.TextWrapped = true
  1389.  
  1390. EspOff.Name = "EspOff"
  1391. EspOff.Parent = Main
  1392. EspOff.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1393. EspOff.BorderColor3 = Color3.new(0, 0.607843, 1)
  1394. EspOff.BorderSizePixel = 5
  1395. EspOff.Position = UDim2.new(0, 0, 0.515, 0)
  1396. EspOff.Size = UDim2.new(0.75, 0, 0.08, 0)
  1397. EspOff.ZIndex = 4
  1398. EspOff.Font = Enum.Font.SciFi
  1399. EspOff.FontSize = Enum.FontSize.Size24
  1400. EspOff.Text = "Esp Off ["..string.upper(espoffkey).."]"
  1401. EspOff.TextColor3 = Color3.fromRGB(255, 255, 255)
  1402. EspOff.TextSize = 20
  1403. EspOff.TextWrapped = true
  1404. EspOff.MouseButton1Down:connect(function(x, y)
  1405. Clear()
  1406. if printvar == true then
  1407. print("Esp Off")
  1408. end
  1409. MSESPActive.Text = "Inactive"
  1410. MSESPActive.TextColor3 = Color3.new(1, 0, 1)
  1411. PlayersEspActive.Text = "Inactive"
  1412. PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
  1413. EspOffActive.Text = "Active"
  1414. EspOffActive.TextColor3 = Color3.new(0, 1, 0)
  1415. end)
  1416.  
  1417. --Run
  1418. RunActiveGui.Name = "RunActiveGui"
  1419. RunActiveGui.Parent = Main
  1420. RunActiveGui.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1421. RunActiveGui.BorderColor3 = Color3.new(0, 0.607843, 1)
  1422. RunActiveGui.BorderSizePixel = 5
  1423. RunActiveGui.Position = UDim2.new(0.755, 0, 0.615, 0)
  1424. RunActiveGui.Size = UDim2.new(0.25, 0, 0.08, 0)
  1425. RunActiveGui.ZIndex = 4
  1426. RunActiveGui.Font = Enum.Font.SciFi
  1427. RunActiveGui.FontSize = Enum.FontSize.Size24
  1428. RunActiveGui.Text = "Inactive"
  1429. RunActiveGui.TextColor3 = Color3.new(1, 0, 1)
  1430. RunActiveGui.TextSize = 20
  1431. RunActiveGui.TextWrapped = true
  1432.  
  1433. Run.Name = "Run"
  1434. Run.Parent = Main
  1435. Run.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1436. Run.BorderColor3 = Color3.new(0, 0.607843, 1)
  1437. Run.BorderSizePixel = 5
  1438. Run.Position = UDim2.new(0, 0, 0.615, 0)
  1439. Run.Size = UDim2.new(0.75, 0, 0.08, 0)
  1440. Run.ZIndex = 4
  1441. Run.Font = Enum.Font.SciFi
  1442. Run.FontSize = Enum.FontSize.Size24
  1443. Run.Text = "Run [Shift]"
  1444. Run.TextColor3 = Color3.fromRGB(255, 51, 0)
  1445. Run.TextSize = 20
  1446. Run.TextWrapped = true
  1447. Run.MouseButton1Down:connect(function(x, y)
  1448. if runActive == false then
  1449. runActive = true
  1450. player.Character.Humanoid.WalkSpeed = 32
  1451. RunActiveGui.Text = "Active"
  1452. RunActiveGui.TextColor3 = Color3.new(0, 1, 0)
  1453. elseif runActive == true then
  1454. runActive = false
  1455. player.Character.Humanoid.WalkSpeed = 16
  1456. RunActiveGui.Text = "Inactive"
  1457. RunActiveGui.TextColor3 = Color3.new(1, 0, 1)
  1458. end
  1459. end)
  1460.  
  1461. --Fly
  1462. FlyActive.Name = "FlyActive"
  1463. FlyActive.Parent = Main
  1464. FlyActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1465. FlyActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  1466. FlyActive.BorderSizePixel = 5
  1467. FlyActive.Position = UDim2.new(0.755, 0, 0.715, 0)
  1468. FlyActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  1469. FlyActive.ZIndex = 4
  1470. FlyActive.Font = Enum.Font.SciFi
  1471. FlyActive.FontSize = Enum.FontSize.Size24
  1472. FlyActive.Text = "Inactive"
  1473. FlyActive.TextColor3 = Color3.new(1, 0, 1)
  1474. FlyActive.TextSize = 20
  1475. FlyActive.TextWrapped = true
  1476.  
  1477. Fly.Name = "Fly"
  1478. Fly.Parent = Main
  1479. Fly.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1480. Fly.BorderColor3 = Color3.new(0, 0.607843, 1)
  1481. Fly.BorderSizePixel = 5
  1482. Fly.Position = UDim2.new(0, 0, 0.715, 0)
  1483. Fly.Size = UDim2.new(0.75, 0, 0.08, 0)
  1484. Fly.ZIndex = 4
  1485. Fly.Font = Enum.Font.SciFi
  1486. Fly.FontSize = Enum.FontSize.Size24
  1487. Fly.Text = "Fly ["..string.upper(flykey).."]"
  1488. Fly.TextColor3 = Color3.fromRGB(204, 255, 255)
  1489. Fly.TextSize = 20
  1490. Fly.TextWrapped = true
  1491. Fly.MouseButton1Down:connect(function(x, y)
  1492. if flyvar == false then
  1493. sFLY()
  1494. flyvar = true
  1495. FlyActive.Text = "Active"
  1496. FlyActive.TextColor3 = Color3.new(0, 1, 0)
  1497. elseif flyvar == true then
  1498. flyvar = false
  1499. NOFLY()
  1500. FlyActive.Text = "Inactive"
  1501. FlyActive.TextColor3 = Color3.new(1, 0, 1)
  1502. end
  1503. end)
  1504.  
  1505. --Noclip
  1506. NoclipActive.Name = "NoclipActive"
  1507. NoclipActive.Parent = Main
  1508. NoclipActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1509. NoclipActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  1510. NoclipActive.BorderSizePixel = 5
  1511. NoclipActive.Position = UDim2.new(0.755, 0, 0.815, 0)
  1512. NoclipActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  1513. NoclipActive.ZIndex = 4
  1514. NoclipActive.Font = Enum.Font.SciFi
  1515. NoclipActive.FontSize = Enum.FontSize.Size24
  1516. NoclipActive.Text = "Inactive"
  1517. NoclipActive.TextColor3 = Color3.new(1, 0, 1)
  1518. NoclipActive.TextSize = 20
  1519. NoclipActive.TextWrapped = true
  1520.  
  1521. Noclip.Name = "Noclip"
  1522. Noclip.Parent = Main
  1523. Noclip.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1524. Noclip.BorderColor3 = Color3.new(0, 0.607843, 1)
  1525. Noclip.BorderSizePixel = 5
  1526. Noclip.Position = UDim2.new(0, 0, 0.815, 0)
  1527. Noclip.Size = UDim2.new(0.75, 0, 0.08, 0)
  1528. Noclip.ZIndex = 4
  1529. Noclip.Font = Enum.Font.SciFi
  1530. Noclip.FontSize = Enum.FontSize.Size24
  1531. Noclip.Text = "Noclip ["..string.upper(noclipkey).."]"
  1532. Noclip.TextColor3 = Color3.fromRGB(0, 102, 255)
  1533. Noclip.TextSize = 20
  1534. Noclip.TextWrapped = true
  1535. Noclip.MouseButton1Down:connect(function(x, y)
  1536. if NClip == false then
  1537. NClip = true
  1538. if printvar == true then
  1539. print("Noclip Enabled")
  1540. end
  1541. NoclipActive.Text = "Active"
  1542. NoclipActive.TextColor3 = Color3.new(0, 1, 0)
  1543. elseif NClip == true then
  1544. NClip = false
  1545. if printvar == true then
  1546. print("Noclip Disabled")
  1547. end
  1548. NoclipActive.Text = "Inactive"
  1549. NoclipActive.TextColor3 = Color3.new(1, 0, 1)
  1550. end
  1551. end)
  1552.  
  1553. --GodMode
  1554. GodModeActive.Name = "GodModeActive"
  1555. GodModeActive.Parent = Main
  1556. GodModeActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1557. GodModeActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  1558. GodModeActive.BorderSizePixel = 5
  1559. GodModeActive.Position = UDim2.new(0.755, 0, 0.915, 0)
  1560. GodModeActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  1561. GodModeActive.ZIndex = 4
  1562. GodModeActive.Font = Enum.Font.SciFi
  1563. GodModeActive.FontSize = Enum.FontSize.Size24
  1564. GodModeActive.Text = "Inactive"
  1565. GodModeActive.TextColor3 = Color3.new(1, 0, 1)
  1566. GodModeActive.TextSize = 20
  1567. GodModeActive.TextWrapped = true
  1568.  
  1569. GodMode.Name = "GodMode"
  1570. GodMode.Parent = Main
  1571. GodMode.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1572. GodMode.BorderColor3 = Color3.new(0, 0.607843, 1)
  1573. GodMode.BorderSizePixel = 5
  1574. GodMode.Position = UDim2.new(0, 0, 0.915, 0)
  1575. GodMode.Size = UDim2.new(0.75, 0, 0.08, 0)
  1576. GodMode.ZIndex = 4
  1577. GodMode.Font = Enum.Font.SciFi
  1578. GodMode.FontSize = Enum.FontSize.Size24
  1579. GodMode.Text = "God Mode ["..string.upper(godmodekey).."]"
  1580. GodMode.TextColor3 = Color3.fromRGB(255, 255, 255)
  1581. GodMode.TextSize = 20
  1582. GodMode.TextWrapped = true
  1583. GodMode.MouseButton1Down:connect(function(x, y)
  1584. if godmodevar == false then
  1585. GodModeActive.Text = "Active"
  1586. GodModeActive.TextColor3 = Color3.new(0, 1, 0)
  1587. godmodevar = true
  1588. godmodefunc()
  1589. end
  1590. end)
  1591.  
  1592. --Xray On
  1593. GuiXrayOnActive.Name = "GuiXrayOnActive"
  1594. GuiXrayOnActive.Parent = Main
  1595. GuiXrayOnActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1596. GuiXrayOnActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  1597. GuiXrayOnActive.BorderSizePixel = 5
  1598. GuiXrayOnActive.Position = UDim2.new(0.755, 0, 1.015, 0)
  1599. GuiXrayOnActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  1600. GuiXrayOnActive.ZIndex = 4
  1601. GuiXrayOnActive.Font = Enum.Font.SciFi
  1602. GuiXrayOnActive.FontSize = Enum.FontSize.Size24
  1603. GuiXrayOnActive.Text = "Inactive"
  1604. GuiXrayOnActive.TextColor3 = Color3.new(1, 0, 1)
  1605. GuiXrayOnActive.TextSize = 20
  1606. GuiXrayOnActive.TextWrapped = true
  1607.  
  1608. GuiXrayOn.Name = "XrayOn"
  1609. GuiXrayOn.Parent = Main
  1610. GuiXrayOn.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1611. GuiXrayOn.BorderColor3 = Color3.new(0, 0.607843, 1)
  1612. GuiXrayOn.BorderSizePixel = 5
  1613. GuiXrayOn.Position = UDim2.new(0, 0, 1.015, 0)
  1614. GuiXrayOn.Size = UDim2.new(0.75, 0, 0.08, 0)
  1615. GuiXrayOn.ZIndex = 4
  1616. GuiXrayOn.Font = Enum.Font.SciFi
  1617. GuiXrayOn.FontSize = Enum.FontSize.Size24
  1618. GuiXrayOn.Text = "Xray On ["..string.upper(xrayonkey).."]"
  1619. GuiXrayOn.TextColor3 = Color3.fromRGB(255, 204, 102)
  1620. GuiXrayOn.TextSize = 20
  1621. GuiXrayOn.TextWrapped = true
  1622. GuiXrayOn.MouseButton1Down:connect(function(x, y)
  1623. GuiXrayOnActive.Text = "Active"
  1624. GuiXrayOnActive.TextColor3 = Color3.new(0, 1, 0)
  1625. GuiXrayOffActive.Text = "Inactive"
  1626. GuiXrayOffActive.TextColor3 = Color3.new(1, 0, 1)
  1627. XrayOn(obj)
  1628. end)
  1629.  
  1630. --Xray Off
  1631. GuiXrayOffActive.Name = "GuiXrayOffActive"
  1632. GuiXrayOffActive.Parent = Main
  1633. GuiXrayOffActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1634. GuiXrayOffActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  1635. GuiXrayOffActive.BorderSizePixel = 5
  1636. GuiXrayOffActive.Position = UDim2.new(0.755, 0, 1.115, 0)
  1637. GuiXrayOffActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  1638. GuiXrayOffActive.ZIndex = 4
  1639. GuiXrayOffActive.Font = Enum.Font.SciFi
  1640. GuiXrayOffActive.FontSize = Enum.FontSize.Size24
  1641. GuiXrayOffActive.Text = "Active"
  1642. GuiXrayOffActive.TextColor3 = Color3.new(0, 1, 0)
  1643. GuiXrayOffActive.TextSize = 20
  1644. GuiXrayOffActive.TextWrapped = true
  1645.  
  1646. GuiXrayOff.Name = "XrayOff"
  1647. GuiXrayOff.Parent = Main
  1648. GuiXrayOff.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1649. GuiXrayOff.BorderColor3 = Color3.new(0, 0.607843, 1)
  1650. GuiXrayOff.BorderSizePixel = 5
  1651. GuiXrayOff.Position = UDim2.new(0, 0, 1.115, 0)
  1652. GuiXrayOff.Size = UDim2.new(0.75, 0, 0.08, 0)
  1653. GuiXrayOff.ZIndex = 4
  1654. GuiXrayOff.Font = Enum.Font.SciFi
  1655. GuiXrayOff.FontSize = Enum.FontSize.Size24
  1656. GuiXrayOff.Text = "Xray Off ["..string.upper(xrayoffkey).."]"
  1657. GuiXrayOff.TextColor3 = Color3.fromRGB(255, 153, 51)
  1658. GuiXrayOff.TextSize = 20
  1659. GuiXrayOff.TextWrapped = true
  1660. GuiXrayOff.MouseButton1Down:connect(function(x, y)
  1661. GuiXrayOnActive.Text = "Inactive"
  1662. GuiXrayOnActive.TextColor3 = Color3.new(1, 0, 1)
  1663. GuiXrayOffActive.Text = "Active"
  1664. GuiXrayOffActive.TextColor3 = Color3.new(0, 1, 0)
  1665. XrayOff(obj)
  1666. end)
  1667.  
  1668. --Bring Gun to You
  1669. BringGun.Name = "BringGun"
  1670. BringGun.Parent = Main
  1671. BringGun.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1672. BringGun.BorderColor3 = Color3.new(0, 0.607843, 1)
  1673. BringGun.BorderSizePixel = 5
  1674. BringGun.Position = UDim2.new(0, 0, 1.215, 0)
  1675. BringGun.Size = UDim2.new(1.005, 0, 0.08, 0)
  1676. BringGun.ZIndex = 4
  1677. BringGun.Font = Enum.Font.SciFi
  1678. BringGun.FontSize = Enum.FontSize.Size24
  1679. BringGun.Text = "Teleport Gun ["..string.upper(bringgunkey).."]"
  1680. BringGun.TextColor3 = Color3.fromRGB(0, 255, 0)
  1681. BringGun.TextSize = 20
  1682. BringGun.TextWrapped = true
  1683. BringGun.MouseButton1Down:connect(function(x, y)
  1684. if game.Workspace.GunDrop.CFrame ~= nil then
  1685. game.Workspace.GunDrop.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  1686. else
  1687. if printvar == true then
  1688. print("Gun not currently dropped")
  1689. end
  1690. end
  1691. end)
  1692.  
  1693. --Keybinds
  1694. KeybindsActive.Name = "KeybindsActive"
  1695. KeybindsActive.Parent = Main
  1696. KeybindsActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1697. KeybindsActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  1698. KeybindsActive.BorderSizePixel = 5
  1699. KeybindsActive.Position = UDim2.new(0.755, 0, 1.315, 0)
  1700. KeybindsActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  1701. KeybindsActive.ZIndex = 4
  1702. KeybindsActive.Font = Enum.Font.SciFi
  1703. KeybindsActive.FontSize = Enum.FontSize.Size24
  1704. KeybindsActive.Text = "Active"
  1705. KeybindsActive.TextColor3 = Color3.new(0, 1, 0)
  1706. KeybindsActive.TextSize = 20
  1707. KeybindsActive.TextWrapped = true
  1708.  
  1709. Keybinds.Name = "Keybinds"
  1710. Keybinds.Parent = Main
  1711. Keybinds.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1712. Keybinds.BorderColor3 = Color3.new(0, 0.607843, 1)
  1713. Keybinds.BorderSizePixel = 5
  1714. Keybinds.Position = UDim2.new(0, 0, 1.315, 0)
  1715. Keybinds.Size = UDim2.new(0.75, 0, 0.08, 0)
  1716. Keybinds.ZIndex = 4
  1717. Keybinds.Font = Enum.Font.SciFi
  1718. Keybinds.FontSize = Enum.FontSize.Size24
  1719. Keybinds.Text = "Keybinds [Ctrl]"
  1720. Keybinds.TextColor3 = Color3.fromRGB(255, 255, 255)
  1721. Keybinds.TextSize = 20
  1722. Keybinds.TextWrapped = true
  1723. Keybinds.MouseButton1Down:connect(function(x, y)
  1724. if keyOff == true then
  1725. keyOff = false
  1726. KeybindsActive.Text = "Active"
  1727. KeybindsActive.TextColor3 = Color3.new(0, 1, 0)
  1728. elseif keyOff == false then
  1729. keyOff = true
  1730. KeybindsActive.Text = "Inactive"
  1731. KeybindsActive.TextColor3 = Color3.new(1, 0, 1)
  1732. end
  1733. end)
  1734.  
  1735. Show.Name = "Show"
  1736. Show.Parent = MM2
  1737. Show.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1738. Show.BorderColor3 = Color3.new(0, 0.607843, 1)
  1739. Show.BorderSizePixel = 5
  1740. Show.Position = UDim2.new(0, 0, 0.85799998, 0)
  1741. Show.Size = UDim2.new(0.08, 0, 0.04, 0)
  1742. Show.ZIndex = 4
  1743. Show.Font = Enum.Font.SciFi
  1744. Show.FontSize = Enum.FontSize.Size24
  1745. Show.Text = "Show ["..string.upper(hideshowguikey).."]"
  1746. Show.TextColor3 = Color3.new(0, 0.333333, 1)
  1747. Show.TextSize = 20
  1748. Show.TextWrapped = true
  1749. Show.Visible = false
  1750.  
  1751. Hide.Name = "Hide"
  1752. Hide.Parent = Main
  1753. Hide.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1754. Hide.BorderColor3 = Color3.new(0, 0.607843, 1)
  1755. Hide.BorderSizePixel = 5
  1756. Hide.Position = UDim2.new(0, 0, 1.415, 0)
  1757. Hide.Size = UDim2.new(1.005, 0, 0.08, 0)
  1758. Hide.ZIndex = 4
  1759. Hide.Font = Enum.Font.SciFi
  1760. Hide.FontSize = Enum.FontSize.Size24
  1761. Hide.Text = "Hide ["..string.upper(hideshowguikey).."]"
  1762. Hide.TextColor3 = Color3.new(0, 0.333333, 1)
  1763. Hide.TextSize = 20
  1764. Hide.TextWrapped = true
  1765.  
  1766. Hide.MouseButton1Down:connect(function(x, y)
  1767. if showvar == true then
  1768. showvar = false
  1769. Main.Visible = false
  1770. Show.Visible = true
  1771. if printvar == true then
  1772. print("Hidden")
  1773. end
  1774. end
  1775. end)
  1776.  
  1777. Show.MouseButton1Down:connect(function(x, y)
  1778. if showvar == false then
  1779. showvar = true
  1780. Show.Visible = false
  1781. Main.Visible = true
  1782. if printvar == true then
  1783. print("Shown")
  1784. end
  1785. end
  1786. end)
  1787.  
  1788. inputcode.InputBegan:connect(function(input)
  1789. if input.KeyCode == Enum.KeyCode.LeftControl then
  1790. if keyOff == true then
  1791. keyOff = false
  1792. KeybindsActive.Text = "Active"
  1793. KeybindsActive.TextColor3 = Color3.new(0, 1, 0)
  1794. elseif keyOff == false then
  1795. keyOff = true
  1796. KeybindsActive.Text = "Inactive"
  1797. KeybindsActive.TextColor3 = Color3.new(1, 0, 1)
  1798. end
  1799. end
  1800. end)
  1801.  
  1802. mouse.keyDown:connect(function(key)
  1803. if keyOff == false then
  1804. if key == coinkey then --Coin Grabber
  1805. coingrabberfunc()
  1806. elseif key == MSkey then --Murderer/Sheriff Esp On
  1807. murderer = "None"
  1808. sheriff = "None"
  1809. Clear()
  1810. findmurderer()
  1811. findsheriff()
  1812. if printvar == true then
  1813. print("Murderer/Sheriff")
  1814. end
  1815. MSESPActive.Text = "Active"
  1816. MSESPActive.TextColor3 = Color3.new(0, 1, 0)
  1817. PlayersEspActive.Text = "Inactive"
  1818. PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
  1819. EspOffActive.Text = "Inactive"
  1820. EspOffActive.TextColor3 = Color3.new(1, 0, 1)
  1821. elseif key == playerskey then --Player Esp On
  1822. Clear()
  1823. MSESPActive.Text = "Inactive"
  1824. MSESPActive.TextColor3 = Color3.new(1, 0, 1)
  1825. PlayersEspActive.Text = "Active"
  1826. PlayersEspActive.TextColor3 = Color3.new(0, 1, 0)
  1827. EspOffActive.Text = "Inactive"
  1828. EspOffActive.TextColor3 = Color3.new(1, 0, 1)
  1829. findplayers()
  1830. if printvar == true then
  1831. print("Players")
  1832. end
  1833. elseif key == espoffkey then --Esp off
  1834. Clear()
  1835. if printvar == true then
  1836. print("Esp Disabled")
  1837. end
  1838. MSESPActive.Text = "Inactive"
  1839. MSESPActive.TextColor3 = Color3.new(1, 0, 1)
  1840. PlayersEspActive.Text = "Inactive"
  1841. PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
  1842. EspOffActive.Text = "Active"
  1843. EspOffActive.TextColor3 = Color3.new(0, 1, 0)
  1844. elseif key == flykey then --Fly
  1845. if flyvar == false then
  1846. sFLY()
  1847. flyvar = true
  1848. FlyActive.Text = "Active"
  1849. FlyActive.TextColor3 = Color3.new(0, 1, 0)
  1850. elseif flyvar == true then
  1851. flyvar = false
  1852. NOFLY()
  1853. FlyActive.Text = "Inactive"
  1854. FlyActive.TextColor3 = Color3.new(1, 0, 1)
  1855. end
  1856. elseif key == noclipkey then --Noclip toggle
  1857. if NClip == false then
  1858. NClip = true
  1859. if printvar == true then
  1860. print("Noclip Enabled")
  1861. end
  1862. NoclipActive.Text = "Active"
  1863. NoclipActive.TextColor3 = Color3.new(0, 1, 0)
  1864. elseif NClip == true then
  1865. NClip = false
  1866. if printvar == true then
  1867. print("Noclip Disabled")
  1868. end
  1869. NoclipActive.Text = "Inactive"
  1870. NoclipActive.TextColor3 = Color3.new(1, 0, 1)
  1871. end
  1872. elseif key == godmodekey then --Godmode
  1873. if godmodevar == false then
  1874. godmodevar = true
  1875. godmodefunc()
  1876. GodModeActive.Text = "Active"
  1877. GodModeActive.TextColor3 = Color3.new(0, 1, 0)
  1878. end
  1879. elseif key == xrayonkey then --Xray On
  1880. GuiXrayOnActive.Text = "Active"
  1881. GuiXrayOnActive.TextColor3 = Color3.new(0, 1, 0)
  1882. GuiXrayOffActive.Text = "Inactive"
  1883. GuiXrayOffActive.TextColor3 = Color3.new(1, 0, 1)
  1884. XrayOn(obj)
  1885. elseif key == xrayoffkey then --Xray Off
  1886. GuiXrayOnActive.Text = "Inactive"
  1887. GuiXrayOnActive.TextColor3 = Color3.new(1, 0, 1)
  1888. GuiXrayOffActive.Text = "Active"
  1889. GuiXrayOffActive.TextColor3 = Color3.new(0, 1, 0)
  1890. XrayOff(obj)
  1891. elseif key == bringgunkey then --Teleport Gun to You
  1892. if game.Workspace.GunDrop.CFrame ~= nil then
  1893. game.Workspace.GunDrop.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  1894. else
  1895. if printvar == true then
  1896. print("Gun not currently dropped")
  1897. end
  1898. end
  1899. elseif key == hideshowguikey then --Show/Hide Gui
  1900. if showvar == false then
  1901. showvar = true
  1902. Show.Visible = false
  1903. Main.Visible = true
  1904. if printvar == true then
  1905. print("Shown")
  1906. end
  1907. elseif showvar == true then
  1908. showvar = false
  1909. Main.Visible = false
  1910. Show.Visible = true
  1911. if printvar == true then
  1912. print("Hidden")
  1913. end
  1914. end
  1915. end
  1916. end
  1917. end)
  1918. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement