Advertisement
InTesting

If Server Destroyed by a skided server destroyer then

Aug 3rd, 2019
451
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.76 KB | None | 0 0
  1. local a_folder = Instance.new('Folder',workspace)
  2. a_folder.Name = '∞'
  3. local players = game:GetService'Players'
  4. local li = game:service'Lighting'
  5. print'https://pastebin.com/Erp5RR1j'
  6.  
  7. if workspace.Name=='Workspace'then
  8.     workspace.Name = 'Workspace_Replacement_Name'
  9. end
  10. if players.Name=='Players'then
  11.     players.Name = 'Players_Replacement_Name'
  12. end
  13. if li.Name=='Lighting'then
  14.     li.Name = 'Lighting_Replacement_Name'
  15. end
  16. for _,v in pairs(game:service'Players':GetPlayers())do
  17.     if not v.Character then
  18.         v:LoadCharacter()
  19.     end
  20.     pcall(function()
  21.         v.Character.Parent = a_folder
  22.     end)
  23.     v.CharacterAdded:Connect(function(ch)
  24.         ch.Parent = a_folder
  25.     end)
  26. end
  27. workspace.ChildRemoved:Connect(function(ch)
  28.     if ch==a_folder then
  29.         a_folder = ch:Clone()
  30.         a_folder.Parent=workspace
  31.     end
  32. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement