Artani

MM2

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