SourceL

Team Tools Giver

May 16th, 2021
643
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Team Tools Giver
  2.  
  3. game.Players.PlayerAdded:Connect(function(Player)
  4.     Player.CharacterAdded:Connect(function(Char)
  5.         repeat wait() until Player.Team
  6.        
  7.         if Player.Team then
  8.             local team = game:GetService("Teams")[Player.Team.Name]
  9.            
  10.             for i,v in pairs(team:GetChildren()) do
  11.                 if v:IsA("Tool") then
  12.                     v:Clone().Parent = Player.Backpack
  13.                 end
  14.             end
  15.         end
  16.     end)
  17. end)
RAW Paste Data