Advertisement
OofeyDoofy

Untitled

Jan 21st, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. gear_ids={193769809,225921000,163352376,253519495,30393548} --insert gear asset ids
  2. keep_gear_when_dead=false
  3. --------------------------------------
  4.  
  5. ---Source---
  6. local player=game.Players.LocalPlayer
  7. for i,v in pairs(gear_ids) do
  8. local id=tonumber(v)
  9. if id~=nil then
  10. game:GetService("InsertService"):LoadAsset(id):GetChildren()[1].Parent=player.Backpack
  11. if keep_gear_when_dead then
  12. game:GetService("InsertService"):LoadAsset(id):GetChildren()[1].Parent=player.StarterGear
  13. end
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement