Advertisement
Guest User

MM2 GUI

a guest
Jun 15th, 2019
193,249
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.81 KB | None | 2 2
  1. --murder mystery 2 script by niko#1809
  2. --have fun :>
  3.  
  4. local pez = {};
  5.  
  6. pez.initiated = false;
  7.  
  8. local tabs = 0;
  9.  
  10. function pez:init()
  11. local nikopez = Instance.new("ScreenGui")
  12. local exframe = Instance.new("Frame")
  13.  
  14. nikopez.Name = "nikopez"
  15. nikopez.Parent = game.CoreGui
  16. nikopez.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  17.  
  18. pez.initiated = true;
  19. end
  20.  
  21. function pez:addTab(name,text)
  22. if (pez.initiated) then
  23. local exframe = Instance.new("Frame")
  24. local exflabel = Instance.new("TextLabel")
  25.  
  26. exframe.Active = true;
  27. exframe.Draggable = true;
  28. exframe.Name = name
  29. exframe.Parent = game.CoreGui.nikopez;
  30. exframe.BackgroundColor3 = Color3.new(1, 0.0941177, 0.0941177)
  31. exframe.BackgroundTransparency = 0.5
  32. exframe.BorderSizePixel = 0
  33. exframe.Position = UDim2.new(0.0218181908 * (tabs*5), 0, 0.0418994427, 0)
  34. exframe.Size = UDim2.new(0, 170, 0, 25)
  35.  
  36. exflabel.Name = "exflabel"
  37. exflabel.Parent = exframe
  38. exflabel.BackgroundColor3 = Color3.new(1, 1, 1)
  39. exflabel.BackgroundTransparency = 1
  40. exflabel.Position = UDim2.new(0.0352941193, 0, 0, 0)
  41. exflabel.Size = UDim2.new(0.964705884, 0, 1, 0)
  42. exflabel.Font = Enum.Font.ArialBold
  43. exflabel.Text = text
  44. exflabel.TextColor3 = Color3.new(1, 1, 1)
  45. exflabel.TextSize = 15
  46. exflabel.TextStrokeTransparency = 0.40000000596046
  47. exflabel.TextXAlignment = Enum.TextXAlignment.Left
  48. tabs = tabs + 1;
  49. else
  50. print("pez not initiated!");
  51. end
  52. end
  53.  
  54. function pez:addButton(tab,text,func)
  55. if (pez.initiated) then
  56. local count = 0;
  57. for i,v in pairs(game.CoreGui.nikopez[tab]:GetChildren()) do
  58. count = count + 1;
  59. end
  60.  
  61. local TextButton = Instance.new("TextButton");
  62.  
  63. TextButton.Parent = game.CoreGui.nikopez[tab];
  64. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  65. TextButton.BackgroundTransparency = 1
  66. TextButton.Position = UDim2.new(0.0352941193, 0, 1, (25*count)-25)
  67. TextButton.Size = UDim2.new(0.964705884, 0, 0, 25)
  68. TextButton.Font = Enum.Font.ArialBold
  69. TextButton.Text = "> "..text
  70. TextButton.TextColor3 = Color3.new(255,255,255)
  71. TextButton.TextSize = 13
  72. TextButton.TextStrokeTransparency = 0.40000000596046
  73. TextButton.TextXAlignment = Enum.TextXAlignment.Left
  74.  
  75. TextButton.MouseButton1Click:connect(function()
  76. TextButton.TextColor3 = Color3.new(0,255,0)
  77. func();
  78. wait(0.5)
  79. TextButton.TextColor3 = Color3.new(255,255,255)
  80. end)
  81. else
  82. print("pez not initiated!");
  83. end
  84. end
  85.  
  86. function pez:hide()
  87. if (pez.initiated) then
  88. for i,v in pairs(game.CoreGui.nikopez:GetChildren()) do
  89. if (v:IsA("Frame")) then
  90. if (v.Name ~= "cheats") then
  91. if (v.Name ~= "playerlist") then
  92. v.Visible = false;
  93. end
  94. end
  95. end
  96. end
  97. else
  98. print("pez not initiated!");
  99. end
  100. end
  101.  
  102. function pez:show()
  103. if (pez.initiated) then
  104. for i,v in pairs(game.CoreGui.nikopez:GetChildren()) do
  105. if (v:IsA("Frame")) then
  106. if (v.Name ~= "cheats") then
  107. v.Visible = true;
  108. end
  109. end
  110. end
  111. else
  112. print("pez not initiated!");
  113. end
  114. end
  115.  
  116. function pez:itemExists(tab,item)
  117. if (pez.initiated) then
  118. if (game.CoreGui.nikopez:FindFirstChild(tab)) then
  119. if (game.CoreGui.nikopez[tab]:FindFirstChild(item)) then
  120. return true;
  121. else
  122. return false;
  123. end
  124. end
  125. else
  126. print("pez not initiated!");
  127. end
  128. end
  129.  
  130. function pez:addLabel(tab,name,text)
  131. if (pez.initiated) then
  132. local count = 0;
  133. for i,v in pairs(game.CoreGui.nikopez[tab]:GetChildren()) do
  134. count = count + 1;
  135. end
  136.  
  137. local label = Instance.new("TextLabel");
  138.  
  139. label.Name = name;
  140. label.Parent = game.CoreGui.nikopez[tab];
  141. label.BackgroundColor3 = Color3.new(1, 1, 1)
  142. label.BackgroundTransparency = 1
  143. label.Position = UDim2.new(0.0352941193, 0, 1, (25*count)-25)
  144. label.Size = UDim2.new(0.964705884, 0, 0, 25)
  145. label.Font = Enum.Font.ArialBold
  146. label.Text = "> "..text
  147. label.TextColor3 = Color3.new(255,255,255)
  148. label.TextSize = 13
  149. label.TextStrokeTransparency = 0.40000000596046
  150. label.TextXAlignment = Enum.TextXAlignment.Left
  151. else
  152. print("pez not initiated!");
  153. end
  154. end
  155.  
  156. function pez:addColoredLabel(tab,name,text,color)
  157. if (pez.initiated) then
  158. local count = 0;
  159. for i,v in pairs(game.CoreGui.nikopez[tab]:GetChildren()) do
  160. count = count + 1;
  161. end
  162.  
  163. local label = Instance.new("TextLabel");
  164.  
  165. label.Name = name;
  166. label.Parent = game.CoreGui.nikopez[tab];
  167. label.BackgroundColor3 = Color3.new(1, 1, 1)
  168. label.BackgroundTransparency = 1
  169. label.Position = UDim2.new(0.0352941193, 0, 1, (25*count)-25)
  170. label.Size = UDim2.new(0.964705884, 0, 0, 25)
  171. label.Font = Enum.Font.ArialBold
  172. label.Text = "> "..text
  173. label.TextColor3 = color
  174. label.TextSize = 13
  175. label.TextStrokeTransparency = 0.40000000596046
  176. label.TextXAlignment = Enum.TextXAlignment.Left
  177. else
  178. print("pez not initiated!");
  179. end
  180. end
  181.  
  182. function pez:removeLabel(tab,name)
  183. if (pez.initiated) then
  184. if (game.CoreGui.nikopez:FindFirstChild(tab)) then
  185. if (game.CoreGui.nikopez[tab]:FindFirstChild(name)) then
  186. game.CoreGui.nikopez[tab]:FindFirstChild(name):Destroy();
  187. local count = 1;
  188. for i,v in pairs(game.CoreGui.nikopez[tab]:GetChildren()) do
  189. if (v.Name ~= "exflabel") then
  190. v.Position = UDim2.new(0.0352941193, 0, 1, (25*count)-25);
  191. count = count + 1;
  192. end
  193. end
  194. end
  195. else
  196. print(tab.." not found")
  197. end
  198. else
  199. print("pez not initiated!");
  200. end
  201. end
  202.  
  203. function pez:showTab(tab)
  204. if (pez.initiated) then
  205. if (game.CoreGui.nikopez:FindFirstChild(tab)) then
  206. game.CoreGui.nikopez[tab].Visible = true;
  207. end
  208. else
  209. print("pez not initiated!");
  210. end
  211. end
  212.  
  213. function pez:hideTab(tab)
  214. if (pez.initiated) then
  215. if (game.CoreGui.nikopez:FindFirstChild(tab)) then
  216. game.CoreGui.nikopez[tab].Visible = false;
  217. end
  218. else
  219. print("pez not initiated!");
  220. end
  221. end
  222.  
  223. function pez:clearTab(tab)
  224. if (pez.initiated) then
  225. if (game.CoreGui.nikopez:FindFirstChild(tab)) then
  226. game.CoreGui.nikopez[tab]:ClearAllChildren()
  227. end
  228. else
  229. print("pez not initiated!");
  230. end
  231. end
  232.  
  233. function pez:removeTab(tab)
  234. if (pez.initiated) then
  235. if (game.CoreGui.nikopez:FindFirstChild(tab)) then
  236. game.CoreGui.nikopez[tab]:Destroy();
  237. end
  238. else
  239. print("pez not initiated!");
  240. end
  241. end
  242.  
  243.  
  244.  
  245. function makebox(part,color)
  246. local yoniko = Instance.new("BillboardGui")
  247. local Frame = Instance.new("Frame")
  248.  
  249. yoniko.Name = "yoniko"
  250. yoniko.Parent = part
  251. yoniko.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  252. yoniko.AlwaysOnTop = true
  253. yoniko.LightInfluence = 1
  254. yoniko.Size = UDim2.new(4, 0, 6, 0)
  255.  
  256. Frame.Parent = yoniko
  257. Frame.BackgroundColor3 = color
  258. Frame.BackgroundTransparency = 0.5
  259. Frame.BorderSizePixel = 0
  260. Frame.Size = UDim2.new(1, 0, 1, 0)
  261. end
  262.  
  263. function makedot(part)
  264. local nikohead = Instance.new("BillboardGui")
  265. local Frame = Instance.new("Frame")
  266.  
  267. nikohead.Name = "nikohead"
  268. nikohead.Parent = part
  269. nikohead.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  270. nikohead.AlwaysOnTop = true
  271. nikohead.LightInfluence = 1
  272. nikohead.Size = UDim2.new(1, 0, 1, 0)
  273.  
  274. Frame.Parent = nikohead
  275. Frame.BackgroundColor3 = Color3.new(0,0,255);
  276. Frame.BackgroundTransparency = 0.20000000298023
  277. Frame.BorderColor3 = Color3.new(0, 0, 0)
  278. Frame.Rotation = 120
  279. Frame.Size = UDim2.new(1, 0, 1, 0)
  280. end
  281.  
  282. function checkTeam(plr)
  283. local bp = plr.Backpack
  284. local char = plr.Character
  285.  
  286. local x = false;
  287. for i,v in pairs(char:GetChildren()) do
  288. if v:FindFirstChild("IsGun") then
  289. if (v.IsGun.Value == true) then
  290. x = true;
  291. end
  292. end
  293. end
  294.  
  295. for i,v in pairs(bp:GetChildren()) do
  296. if v:FindFirstChild("IsGun") then
  297. if (v.IsGun.Value == true) then
  298. x = true;
  299. end
  300. end
  301. end
  302.  
  303. if (bp:FindFirstChild("Knife") or char:FindFirstChild("Knife")) then
  304. return 1;
  305. elseif (x) then
  306. return 2;
  307. else
  308. return 3;
  309. end
  310. end
  311.  
  312. pez:init();
  313.  
  314. enableds = {};
  315.  
  316. espon = false;
  317. fovon = false;
  318.  
  319. espgun = false;
  320. espmurderer = true;
  321. espsheriff = true;
  322. espinnocent = false;
  323.  
  324. tpgun = false;
  325. tpcoins = false;
  326.  
  327. noclip = false;
  328. fly = false;
  329. fast = false;
  330. highjump = false;
  331.  
  332. hidden = false;
  333.  
  334. showvisuals = true;
  335. showespsettings = true;
  336. showmovement = true;
  337. showitems = true;
  338. showenableds = true;
  339. showplayerlist = true;
  340.  
  341. pez:addTab("cheats","Enabled cheats");
  342.  
  343. function toggleesp()
  344. espon = not espon;
  345. if (espon) then
  346. pez:addLabel("cheats","esp","ESP");
  347. else
  348. pez:removeLabel("cheats","esp");
  349. end
  350. end
  351.  
  352. function togglefov()
  353. fovon = not fovon;
  354. if (fovon) then
  355. pez:addLabel("cheats","fov","FOV");
  356. else
  357. pez:removeLabel("cheats","fov");
  358. end
  359. end
  360.  
  361. function toggleespgun()
  362. espgun = not espgun;
  363. end
  364.  
  365. function toggleespmurderer()
  366. espmurderer = not espmurderer;
  367. end
  368.  
  369. function toggleespsheriff()
  370. espsheriff = not espsheriff;
  371. end
  372.  
  373. function toggleespinnocent()
  374. espinnocent = not espinnocent;
  375. end
  376.  
  377. function toggletpgun()
  378. tpgun = not tpgun;
  379. if (tpgun) then
  380. pez:addLabel("cheats","tpgun","Tp gun");
  381. else
  382. pez:removeLabel("cheats","tpgun");
  383. end
  384. end
  385.  
  386. function toggletpcoins()
  387. tpcoins = not tpcoins;
  388. if (tpcoins) then
  389. pez:addLabel("cheats","tpcoins","Tp coins");
  390. else
  391. pez:removeLabel("cheats","tpcoins");
  392. end
  393. end
  394.  
  395. function togglenoclip()
  396. noclip = not noclip;
  397. if (noclip) then
  398. pez:addLabel("cheats","noclip","Noclip");
  399. else
  400. pez:removeLabel("cheats","noclip");
  401. end
  402. end
  403.  
  404. function tplobby()
  405. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-107,149,23))
  406. end
  407.  
  408. --FLY SCRIPT BY RGEENEUS
  409.  
  410. local speed = 50
  411.  
  412. local c
  413. local h
  414. local bv
  415. local bav
  416. local cam
  417. local flying
  418. local p = game.Players.LocalPlayer
  419. local buttons = {W = false, S = false, A = false, D = false, Moving = false}
  420.  
  421. local startFly = function () -- Call this function to begin flying
  422. if not p.Character or not p.Character.Head or flying then return end
  423. c = p.Character
  424. h = c.Humanoid
  425. h.PlatformStand = true
  426. cam = workspace:WaitForChild('Camera')
  427. bv = Instance.new("BodyVelocity")
  428. bav = Instance.new("BodyAngularVelocity")
  429. bv.Velocity, bv.MaxForce, bv.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
  430. bav.AngularVelocity, bav.MaxTorque, bav.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
  431. bv.Parent = c.Head
  432. bav.Parent = c.Head
  433. flying = true
  434. h.Died:connect(function() flying = false end)
  435. end
  436.  
  437. local endFly = function () -- Call this function to stop flying
  438. if not p.Character or not flying then return end
  439. h.PlatformStand = false
  440. bv:Destroy()
  441. bav:Destroy()
  442. flying = false
  443. end
  444.  
  445. game:GetService("UserInputService").InputBegan:connect(function (input, GPE)
  446. if GPE then return end
  447. for i, e in pairs(buttons) do
  448. if i ~= "Moving" and input.KeyCode == Enum.KeyCode[i] then
  449. buttons[i] = true
  450. buttons.Moving = true
  451. end
  452. end
  453. end)
  454.  
  455. game:GetService("UserInputService").InputEnded:connect(function (input, GPE)
  456. if GPE then return end
  457. local a = false
  458. for i, e in pairs(buttons) do
  459. if i ~= "Moving" then
  460. if input.KeyCode == Enum.KeyCode[i] then
  461. buttons[i] = false
  462. end
  463. if buttons[i] then a = true end
  464. end
  465. end
  466. buttons.Moving = a
  467. end)
  468.  
  469. local setVec = function (vec)
  470. return vec * (speed / vec.Magnitude)
  471. end
  472.  
  473. game:GetService("RunService").Heartbeat:connect(function (step) -- The actual fly function, called every frame
  474. if flying and c and c.PrimaryPart then
  475. local p = c.PrimaryPart.Position
  476. local cf = cam.CFrame
  477. local ax, ay, az = cf:toEulerAnglesXYZ()
  478. c:SetPrimaryPartCFrame(CFrame.new(p.x, p.y, p.z) * CFrame.Angles(ax, ay, az))
  479. if buttons.Moving then
  480. local t = Vector3.new()
  481. if buttons.W then t = t + (setVec(cf.lookVector)) end
  482. if buttons.S then t = t - (setVec(cf.lookVector)) end
  483. if buttons.A then t = t - (setVec(cf.rightVector)) end
  484. if buttons.D then t = t + (setVec(cf.rightVector)) end
  485. c:TranslateBy(t * step)
  486. end
  487. end
  488. end)
  489.  
  490.  
  491. function togglefly()
  492. if (fly) then
  493. fly = false;
  494. endFly()
  495. pez:removeLabel("cheats","fly");
  496. else
  497. fly = true;
  498. startFly()
  499. pez:addLabel("cheats","fly","Fly");
  500. end
  501. end
  502.  
  503. function togglefast()
  504. fast = not fast;
  505. if (fast) then
  506. pez:addLabel("cheats","fast","Fast");
  507. else
  508. pez:removeLabel("cheats","fast");
  509. end
  510. end
  511.  
  512. function togglejump()
  513. highjump = not highjump;
  514. if (highjump) then
  515. pez:addLabel("cheats","highjump","Highjump");
  516. else
  517. pez:removeLabel("cheats","highjump");
  518. end
  519. end
  520.  
  521. function setday()
  522. local lighting = game.Lighting
  523. lighting.TimeOfDay = 12;
  524. end
  525.  
  526. function setnight()
  527. local lighting = game.Lighting
  528. lighting.TimeOfDay = 22;
  529. end
  530.  
  531. game:service'RunService'.Stepped:connect(function()
  532. if (noclip) then game.Players.LocalPlayer.Character:WaitForChild("Humanoid"):ChangeState(11) end
  533. if (fast) then game.Players.LocalPlayer.Character:WaitForChild("Humanoid").WalkSpeed = 24; else game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16; end
  534. if (highjump) then game.Players.LocalPlayer.Character:WaitForChild("Humanoid").JumpPower = 120; else game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50; end
  535. end)
  536.  
  537. function onKeyPress(inputObject, gameProcessedEvent)
  538. if inputObject.KeyCode == Enum.KeyCode.Home then
  539. if (hidden) then
  540. print(hidden)
  541. hidden = false;
  542. pez:show();
  543. else
  544. print(hidden)
  545. hidden = true;
  546. pez:hide();
  547. end
  548. end
  549. end
  550.  
  551. function togglevisuals()
  552. if (showvisuals) then
  553. showvisuals = false;
  554. pez:hideTab("visuals");
  555. else
  556. showvisuals =true;
  557. pez:showTab("visuals");
  558. end
  559. end
  560.  
  561. function toggleespsettings()
  562. if (showespsettings) then
  563. showespsettings = false;
  564. pez:hideTab("espsettings");
  565. else
  566. showespsettings =true;
  567. pez:showTab("espsettings");
  568. end
  569. end
  570.  
  571. function toggleitems()
  572. if (showitems) then
  573. showitems = false;
  574. pez:hideTab("items");
  575. else
  576. showitems =true;
  577. pez:showTab("items");
  578. end
  579. end
  580.  
  581. function togglemovement()
  582. if (showmovement) then
  583. showmovement = false;
  584. pez:hideTab("movement");
  585. else
  586. showmovement =true;
  587. pez:showTab("movement");
  588. end
  589. end
  590.  
  591. function toggleenableds()
  592. if (showenableds) then
  593. showenableds = false;
  594. pez:hideTab("cheats");
  595. else
  596. showenableds =true;
  597. pez:showTab("cheats");
  598. end
  599. end
  600.  
  601. function toggleplayerlist()
  602. if (showplayerlist) then
  603. showplayerlist = false;
  604. pez:hideTab("playerlist");
  605. else
  606. showplayerlist =true;
  607. pez:showTab("playerlist");
  608. end
  609. end
  610.  
  611. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  612.  
  613. pez:addTab("gui","Gui");
  614. pez:addLabel("gui","info","Toggle gui: Home")
  615. pez:addButton("gui","Visuals",togglevisuals)
  616. pez:addButton("gui","Esp settings",toggleespsettings)
  617. pez:addButton("gui","Items",toggleitems)
  618. pez:addButton("gui","Movement",togglemovement)
  619. pez:addButton("gui","Enabled cheats",toggleenableds)
  620. pez:addButton("gui","Playerlist",toggleplayerlist)
  621.  
  622. pez:addTab("visuals","Visuals");
  623. pez:addButton("visuals","ESP",toggleesp)
  624. pez:addButton("visuals","FOV",togglefov)
  625. pez:addButton("visuals","Set night",setnight)
  626. pez:addButton("visuals","Set day",setday)
  627.  
  628. pez:addTab("espsettings","Esp settings");
  629. pez:addButton("espsettings","Show murderer",toggleespmurderer)
  630. pez:addButton("espsettings","Show sheriff",toggleespsheriff)
  631. pez:addButton("espsettings","Show innocents",toggleespinnocent)
  632. pez:addButton("espsettings","Show dropped gun",toggleespgun);
  633.  
  634. pez:addTab("items","Items");
  635. pez:addButton("items","Tp coins",toggletpcoins)
  636. pez:addButton("items","Tp gun",toggletpgun)
  637.  
  638. pez:addTab("movement","Movement");
  639. pez:addButton("movement","Noclip",togglenoclip)
  640. pez:addButton("movement","Fly",togglefly)
  641. pez:addButton("movement","Fast",togglefast)
  642. pez:addButton("movement","Highjump",togglejump)
  643. pez:addButton("movement","Tp to lobby",tplobby)
  644.  
  645. pez:addTab("playerlist","Playerlist")
  646.  
  647. pez:addTab("credits","Credits");
  648. pez:addLabel("credits","nikoo","niko#1809")
  649.  
  650. print("press Home to toggle the gui");
  651. print("mm2 script by niko#1809 / lekolar2 ;)")
  652.  
  653. local cor = coroutine.wrap(function()
  654. while(true) do
  655. wait(1)
  656. for i,v in pairs(game.Players:GetPlayers()) do
  657. if (v.Character) then
  658. if (pez:itemExists("playerlist",v.Name)) then
  659. pez:removeLabel("playerlist",v.Name)
  660. end
  661.  
  662. local team = checkTeam(v);
  663.  
  664. if (team == 1) then
  665. pez:addColoredLabel("playerlist",v.Name,v.Name,Color3.new(255,0,0))
  666. elseif (team == 2) then
  667. pez:addColoredLabel("playerlist",v.Name,v.Name,Color3.new(0,0,255))
  668. else
  669. pez:addColoredLabel("playerlist",v.Name,v.Name,Color3.new(0,255,0))
  670. end
  671. end
  672. end
  673. end
  674. end)
  675.  
  676. cor();
  677.  
  678. x = 0;
  679.  
  680. while(true)do
  681. if (x == 200) then pez:removeTab("credits"); else x = x + 1; end
  682. wait();
  683. if (fovon) then
  684. local cam = workspace.CurrentCamera;
  685. cam.FieldOfView = 100;
  686. else
  687. local cam = workspace.CurrentCamera;
  688. cam.FieldOfView = 70;
  689. end
  690. if (tpcoins) then
  691. for i,v in pairs(workspace:GetChildren()) do
  692. if (v:FindFirstChild("CoinContainer")) then
  693. for w,g in pairs(v.CoinContainer:GetChildren()) do
  694. g.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame;
  695. end
  696. end
  697. end
  698. end
  699. if (tpgun) then
  700. if (workspace:FindFirstChild("GunDrop")) then
  701. workspace.GunDrop.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  702. end
  703. end
  704. if (espon) then
  705. if (espgun) then
  706. if (workspace:FindFirstChild("GunDrop")) then
  707. if (workspace.GunDrop:FindFirstChild("nikohead")) then
  708. workspace.GunDrop.nikohead:Destroy()
  709. end
  710. makedot(workspace.GunDrop);
  711. end
  712. end
  713. for i,v in pairs(game.Players:GetPlayers()) do
  714. if (v.Character) then
  715. if (v.Character:WaitForChild("HumanoidRootPart")) then
  716. if (v~=game.Players.LocalPlayer) then
  717. if (v.Character:WaitForChild("HumanoidRootPart"):FindFirstChild("yoniko")) then
  718. v.Character:WaitForChild("HumanoidRootPart").yoniko:Destroy()
  719. end
  720. local team = checkTeam(v)
  721.  
  722. if (team == 1) then
  723. if (espmurderer) then makebox(v.Character.HumanoidRootPart,Color3.new(255,0,0)); end
  724. elseif (team == 2) then
  725. if (espsheriff) then makebox(v.Character.HumanoidRootPart,Color3.new(0,0,255)); end
  726. else
  727. if (espinnocent) then makebox(v.Character.HumanoidRootPart,Color3.new(0,255,0)); end
  728. end
  729. end
  730. end
  731. end
  732. end
  733. end
  734. end
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement