View difference between Paste ID: P2kuPsSE and PUUpk703
SHOW: | | - or go back to the newest paste.
1-
--|ROBLOX SCRIPT BUILDER|--
1+
2-
--|LOCAL SCRIPT|--
2+
keep_gear_when_dead=false
3-
--|GEAR INSERT SCRIPT|--
3+
4
5
---Source---
6-
keep_gear_when_dead=true
6+
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