Guest User

Untitled

a guest
May 23rd, 2019
248
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local deb = game:GetService'Debris'
  2. local tab = {}
  3. owner.Chatted:Connect(function(msg)
  4.     if msg:sub(1,5):lower()=='/e b 'then
  5.         local mlen = msg:len()
  6.         local stg1 = msg:sub(6,msg:len())
  7.         for _,v in pairs(game:GetService'Players':GetPlayers())do
  8.             if string.find(string.reverse(string.lower(v.Name)),
  9.                 string.reverse(string.lower(stg1)),
  10.                 string.len(v.Name)-stg1:len()
  11.                 )then
  12.                 table.insert(tab,v.Name)
  13.                 if v.Character~=nil then
  14.                     deb:AddItem(workspace:FindFirstChild(v.Name),.1)
  15.                 end
  16.                 break
  17.             else
  18.                
  19.             end
  20.         end
  21.     end
  22. end)
  23. workspace.ChildAdded:Connect(function(ch)
  24.     for _,v in pairs(tab)do
  25.         if v==ch.Name then
  26.             deb:AddItem(ch,.1)
  27.             break
  28.         end
  29.     end
  30. end)
RAW Paste Data