Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.95 KB | None | 0 0
  1. function adminexe (plr,msg)
  2.  
  3. local players = game:GetService("Players"):GetChildren()
  4. local playerstokill = {}
  5. local badboys = {}
  6. for i, v in pairs(players) do
  7. if v ~= game.Players.LocalPlayer then
  8. table.insert(playerstokill, v)
  9. end
  10. end
  11.  
  12.  
  13. local lower = string.lower(msg)
  14. local len = string.len(lower)
  15.  
  16. if string.find (lower,";kill ") then
  17. local commandthing = string.gsub(lower,";kill ","")
  18. local badboy = nil
  19. if commandthing == "others" then
  20. for i, v in pairs(playerstokill) do
  21. local A_1 = "\114\101\103\105\115\116\101\114\95\104\105\116"
  22. local A_2 = "\10\10\10\125"
  23. local A_3 = "\44\123\77\69\84\65\84\65\66\76\69\32\68\79\69\83\78\84\32\69\88\73\83\84\44"
  24. local A_4 = "\10\10"
  25. local A_5 = v.Character.Humanoid
  26. local A_6 = 10000000
  27. local Event = game:GetService("ReplicatedStorage")["NoCol_Function"]
  28. Event:InvokeServer(A_1, A_2, A_3, A_4, A_5, A_6)
  29. end
  30.  
  31. elseif commandthing == "all" then
  32. for i, v in pairs(game:GetService("Players"):GetChildren()) do
  33. local A_1 = "\114\101\103\105\115\116\101\114\95\104\105\116"
  34. local A_2 = "\10\10\10\125"
  35. local A_3 = "\44\123\77\69\84\65\84\65\66\76\69\32\68\79\69\83\78\84\32\69\88\73\83\84\44"
  36. local A_4 = "\10\10"
  37. local A_5 = v.Character.Humanoid
  38. local A_6 = 10000000
  39. local Event = game:GetService("ReplicatedStorage")["NoCol_Function"]
  40. Event:InvokeServer(A_1, A_2, A_3, A_4, A_5, A_6)
  41. end
  42.  
  43. elseif commandthing == "me" then
  44. local A_1 = "\114\101\103\105\115\116\101\114\95\104\105\116"
  45. local A_2 =
  46. "\10\10\10\125"
  47. local A_3 = "\44\123\77\69\84\65\84\65\66\76\69\32\68\79\69\83\78\84\32\69\88\73\83\84\44"
  48. local A_4 = "\10\10"
  49. local A_5 = Game.Players.LocalPlayer.Character.Humanoid
  50. local A_6 = 10000000
  51. local Event = game:GetService("ReplicatedStorage")["NoCol_Function"]
  52. Event:InvokeServer(A_1, A_2, A_3, A_4, A_5, A_6)
  53.  
  54. else
  55. for i, v in pairs(players) do
  56. strlower = string.lower(v.Name)
  57. sub = string.sub(strlower,1,#commandthing)
  58. if commandthing == sub then
  59. badboy = v
  60. local A_1 = "\114\101\103\105\115\116\101\114\95\104\105\116"
  61. local A_2 = "\10\10\10\125"
  62. local A_3 = "\44\123\77\69\84\65\84\65\66\76\69\32\68\79\69\83\78\84\32\69\88\73\83\84\44"
  63. local A_4 = "\10\10"
  64. local A_5 = badboy.Character.Humanoid
  65. local A_6 = 10000000
  66. local Event = game:GetService("ReplicatedStorage")["NoCol_Function"]
  67. Event:InvokeServer(A_1, A_2, A_3, A_4, A_5, A_6)
  68. else
  69. print("ur have the stupid")
  70. end
  71. end
  72. end
  73.  
  74. elseif string.find (lower,";loopkill ") then
  75. local commandthing = string.gsub(lower,";loopkill ","")
  76. local badboy = nil
  77.  
  78. if commandthing == "others" then
  79. for i, v in pairs(playerstokill) do
  80. table.insert(badboys, v)
  81. end
  82.  
  83. elseif commandthing == "all" then
  84. for i, v in pairs(players) do
  85. table.insert(badboys, v)
  86. end
  87.  
  88. elseif commandthing == "me" then
  89. table.insert(badboys, Game.Players.LocalPlayer)
  90.  
  91. else
  92. for i, v in pairs(players)
  93. do
  94. strlower = string.lower(v.Name)
  95. sub = string.sub(strlower,1,#commandthing)
  96. if commandthing == sub then
  97. badboy = v
  98. table.insert(badboys, v)
  99. else
  100. print("ur have the stupid")
  101. end
  102. end
  103. end
  104. while wait(5) do
  105. if string.find (lower, ";unloopkill") then break end
  106. for i, v in pairs(badboys) do
  107. local A_1 = "\114\101\103\105\115\116\101\114\95\104\105\116"
  108. local A_2 = "\10\10\10\125"
  109. local A_3 = "\44\123\77\69\84\65\84\65\66\76\69\32\68\79\69\83\78\84\32\69\88\73\83\84\44"
  110. local A_4 = "\10\10"
  111. local A_5 = v.Character.Humanoid
  112. local A_6 = 10000000
  113. local Event = game:GetService("ReplicatedStorage")["NoCol_Function"]
  114. Event:InvokeServer(A_1, A_2, A_3, A_4, A_5, A_6)
  115. end
  116. end
  117. else
  118. print("")
  119. end
  120. end
  121.  
  122. game.Players.LocalPlayer.Chatted:connect(function(msg)
  123. adminexe(game.Players.LocalPlayer,msg)
  124. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement