Advertisement
Guest User

Untitled

a guest
May 24th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.07 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title> </title>
  5. </head>
  6. <body>
  7.  
  8. <style>
  9. img[src="https://cdn.rawgit.com/000webhost/logo/e9bd13f7/footer-powered-by-000webhost-white2.png"] {
  10. display: none;}
  11. </style>
  12.  
  13. <pre style="word-wrap: break-word; white-space: pre-wrap;">
  14. plr = owner
  15. plrs = game:service'Players'
  16. char = plr.Character
  17. lk = {}
  18. db = {}
  19. muted = {}
  20.  
  21. function mre(a)
  22. local pos = a.Character:FindFirstChild('HumanoidRootPart').CFrame
  23. a:LoadCharacter()
  24. wait(.05)
  25. a.Character:FindFirstChild('HumanoidRootPart').CFrame = pos
  26. end
  27.  
  28. function scan(d)
  29. for _, a in pairs(d:children()) do
  30. if a:IsA'Sound' then
  31. a:Destroy()
  32. end
  33. scan(a)
  34. end
  35. end
  36.  
  37. function rre(a)
  38. a:LoadCharacter()
  39. end
  40.  
  41. plr.Chatted:connect(function(m)
  42. if string.sub(m:lower(),1,4) == "!res" then
  43. for _,v in pairs(plrs:GetPlayers()) do
  44. if string.find(v.Name:lower(),string.sub(m:lower(),6,-1)) then
  45. if not v.Character then
  46. rre(v)
  47. elseif v.Character then
  48. mre(v)
  49. end
  50. end
  51. end
  52. end
  53.  
  54. if string.sub(m:lower(),1,5) == "!mute" then
  55. for i,v in pairs(plrs:GetChildren()) do
  56. if string.find(v.Name:lower(),string.sub(m:lower(),7,-1)) then
  57. table.insert(muted,1,v.Name)
  58. end
  59. end
  60. end
  61.  
  62.  
  63. if string.sub(m:lower(),1,7) == "!unmute" then
  64. for i,v in pairs(muted) do
  65. if string.find(muted[i]:lower(),string.sub(m:lower(),9,-1)) then
  66. table.remove(muted,i)
  67. end
  68. end
  69. end
  70.  
  71. if string.sub(m:lower(),1,4) == "!dis" then
  72. for i,v in pairs(plrs:GetChildren()) do
  73. if string.find(v.Name:lower(),string.sub(m:lower(),6,-1)) then
  74. table.insert(db,1,v.Name)
  75. end
  76. end
  77. end
  78.  
  79.  
  80. if string.sub(m:lower(),1,6) == "!undis" then
  81. for i,v in pairs(db) do
  82. if string.find(db[i]:lower(),string.sub(m:lower(),8,-1)) then
  83. table.remove(db,i)
  84. end
  85. end
  86. end
  87.  
  88. if string.sub(m:lower(),1,3) == "!lk" then
  89. for i,v in pairs(plrs:GetChildren()) do
  90. if string.find(v.Name:lower(),string.sub(m:lower(),5,-1)) then
  91. table.insert(lk,1,v.Name)
  92. end
  93. end
  94. end
  95.  
  96.  
  97. if string.sub(m:lower(),1,5) == "!unlk" then
  98. for i,v in pairs(lk) do
  99. if string.find(lk[i]:lower(),string.sub(m:lower(),7,-1)) then
  100. table.remove(lk,i)
  101. end
  102. end
  103. end
  104. end)
  105.  
  106. while wait() do
  107. for i,v in pairs(lk) do
  108. if plrs:FindFirstChild(lk[i]) and plrs[lk[i]].Character then
  109. plrs[lk[i]].Character:BreakJoints()
  110. end
  111. end
  112. for i,v in pairs(muted) do
  113. if plrs:FindFirstChild(muted[i]) and plrs[muted[i]].Character then
  114. scan(plrs[muted[i]].Character)
  115. end
  116. end
  117. for i,v in pairs(db) do
  118. if plrs:FindFirstChild(db[i]) then
  119. if plrs[db[i]].Character then
  120. for _, b in pairs(plrs[db[i]].Character:children()) do
  121. if b:IsA('LocalScript') and b.Name ~= "Animate" then
  122. b:Destroy()
  123. end
  124. end
  125. end
  126. end
  127. end
  128. end
  129. </pre>
  130. </body>
  131. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement