SHARE
TWEET

nah

a guest Feb 24th, 2020 247 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ObjectAdv = game:GetService('Players').LocalPlayer.BuildingMaterials['Advanced Building']:GetChildren()
  2.  
  3. for i, child in ipairs(ObjectAdv) do
  4.  
  5. game.ReplicatedStorage.AddItems:FireServer(child.Name, 99999)
  6.  
  7. print(child.Name .. ' added.')
  8.  
  9. end
  10.  
  11. ObjectBas = game:GetService('Players').LocalPlayer.BuildingMaterials['Basic Building']:GetChildren()
  12.  
  13. for i, child in ipairs(ObjectBas) do
  14.  
  15. game.ReplicatedStorage.AddItems:FireServer(child.Name, 99999)
  16.  
  17. print(child.Name .. ' added.')
  18.  
  19. end
  20.  
  21. ObjectBas = game:GetService('Players').LocalPlayer.BuildingMaterials['Defenses']:GetChildren()
  22.  
  23. for i, child in ipairs(ObjectBas) do
  24.  
  25. game.ReplicatedStorage.AddItems:FireServer(child.Name, 99999)
  26.  
  27. print(child.Name .. ' added.')
  28.  
  29. end
  30.  
  31. print('-')
  32.  
  33. game.ReplicatedStorage.AddGold:FireServer(9999999999)
  34.  
  35. print('Money Added')
  36. print('-')
  37.  
  38. --Credit: Aanki
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top