hi909786543

ref87aersf9uohk

Jan 12th, 2024
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.27 KB | None | 0 0
  1. local prefix = ';'
  2.  
  3. repeat wait() until game.Loaded
  4. local plrs = game:GetService'Players'
  5. local plr = plrs.LocalPlayer
  6. local loopall = false
  7. local whitelist = {}
  8. local loopKill = {}
  9. local function findplr(Target)
  10. if game:GetService'Players':FindFirstChild(Target) then
  11. return game:GetService'Players':FindFirstChild(Target)
  12. else
  13. if Target ~= nil and Target ~= "" and Target ~= " " and Target then
  14. local name = Target
  15. local found = false
  16. for _,v in pairs(game:GetService'Players':GetPlayers()) do
  17. if not found and (v.Name:lower():sub(1,#name) == name:lower() or v.DisplayName:lower():sub(1,#name) == name:lower()) then
  18. name = v
  19. found = true
  20. end
  21. end
  22. if name ~= nil and name ~= Target then
  23. return name
  24. end
  25. end
  26. end
  27. end
  28. plr.Chatted:connect(function(msg)
  29. msg = msg:lower():split(' ')
  30. if msg[1] == '/e' then
  31. for i,v in next,msg do
  32. msg[i] = msg[i+1]
  33. end
  34. end
  35. if msg[1] == prefix..'lka' or (msg[1] == prefix..'loop' and msg[2] == 'all') then
  36. loopall = true
  37. elseif msg[1] == prefix..'kill' and findplr(msg[2]) and not table.find(loopKill,findplr(msg[2]).Name) then
  38. table.insert(loopKill,findplr(msg[2]).Name)
  39. elseif msg[1] == prefix..'wl' and findplr(msg[2]) and not table.find(whitelist,findplr(msg[2]).Name) then
  40. table.insert(whitelist,findplr(msg[2]).Name)
  41. elseif msg[1] == prefix..'bl' and findplr(msg[2]) and table.find(whitelist,findplr(msg[2]).Name) then
  42. table.remove(whitelist,findplr(msg[2]).Name)
  43. elseif msg[1] == prefix..'resurrect' then
  44. table.clear(loopKill)
  45. loopall = false
  46. pcall(function()
  47. plr.Character.PuttingDown:FireServer()
  48. end)
  49. end
  50. end)
  51. spawn(function()
  52. while true do wait()
  53. pcall(function()
  54. if plr.Character.Ragdoll.Value then
  55. plr.Character.GetUpEvent:FireServer()
  56. end
  57. end)
  58. pcall(function()
  59. for _,_2 in next,plr.Character:GetChildren() do
  60. pcall(function()
  61. if _2:IsA'Accessory' and _2.Name ~= 'FakeAccessory' and _2:FindFirstChild'Handle' and _2.Handle:FindFirstChildOfClass'Weld' then
  62. local clone = _2:Clone()
  63. _2:Destroy()
  64. clone.Name = 'FakeAccessory'
  65. clone.Parent = plr.Character
  66. end
  67. end)
  68. pcall(function()
  69. if _2.Name == 'VelocityDamage' or _2.Name == 'GetPicked' then
  70. _2:Destroy()
  71. end
  72. end)
  73. end
  74. end)
  75. end
  76. end)
  77. while true do wait(0.1)
  78. if loopall then
  79. for _,v in next,plrs:GetPlayers() do
  80.  
  81. if v~=plr and not table.find(whitelist,v.Name) then
  82. pcall(function()
  83. plr.Character.Picking:FireServer(v.Character.HumanoidRootPart,Vector3.new(math.huge,-math.huge,math.huge))
  84. wait(0.05)
  85. plr.Character.PuttingDown:FireServer()
  86. end)
  87. end
  88. end
  89. end
  90. if loopKill ~= {} then
  91. for _,v in next,plrs:GetPlayers() do
  92. if table.find(loopKill,v.Name) then
  93. pcall(function()
  94. local accs = v.Character:FindFirstChildOfClass'Accessory'
  95. if accs then
  96. if accs:FindFirstChild'Handle' then
  97. plr.Character.Picking:FireServer(accs.Handle,Vector3.new(math.huge,-math.huge,math.huge))
  98. elseif accs:IsA'BasePart' then
  99. plr.Character.Picking:FireServer(accs,Vector3.new(math.huge,-math.huge,math.huge))
  100. end
  101. else
  102. plr.Character.Picking:FireServer(v.Character.HumanoidRootPart,Vector3.new(math.huge,-math.huge,math.huge))
  103. wait(0.1)
  104. plr.Character.PuttingDown:FireServer()
  105. end
  106. end)
  107. end
  108. end
  109. end
  110. end
Add Comment
Please, Sign In to add comment