Advertisement
Sergeant_SethZP

My_Gear

Mar 31st, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. --|ROBLOX SCRIPT BUILDER|--
  2. --|LOCAL SCRIPT|--
  3. --|GEAR INSERT SCRIPT|--
  4.  
  5. gear_ids={431047232,95951291,139578207,501942750,212296936,67747912} --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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement