View difference between Paste ID: VQ4U83rE and 7D2B9vup
SHOW: | | - or go back to the newest paste.
1
--|ROBLOX SCRIPT BUILDER|--
2
--|LOCAL SCRIPT|--
3
--|GEAR INSERT SCRIPT|--
4
5
gear_ids={86494893, 225921000} --insert gear asset ids
6
keep_gear_when_dead=true
7
--------------------------------------
8
9
---Source---
10
local player=game.Players.TameDoNotClick
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