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