candissss

Untitled

Jul 26th, 2015
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. --|ROBLOX SCRIPT BUILDER|--
  2. --|LOCAL SCRIPT|--
  3. --|GEAR INSERT SCRIPT|--
  4.  
  5. gear_ids={193769809,225921000,163352376,253519495,30393548} --insert gear asset ids
  6. keep_gear_when_dead=true
  7. --------------------------------------
  8.  
  9. ---Source---
  10. local player=game.Players.LocalPlayer
  11. for i,v in pairs(gear_ids) do
  12. local id=tonumber(v)
  13. if id~=nil then
  14. game:GetService("InsertService"):LoadAsset(id):GetChildren()[1].Parent=player.Backpack
  15. if keep_gear_when_dead then
  16. game:GetService("InsertService"):LoadAsset(id):GetChildren()[1].Parent=player.StarterGear
  17. end
  18. end
  19. end
Add Comment
Please, Sign In to add comment