event.OnServerInvoke=function(T,z,b)if z=="\119\104\105\116\101\108\105\115\116"then return whitelisted(T.Name)elseif z=="\046"then if whitelisted(T.Name)and toollist[b]then local z=toollist[b]:Clone()z.Parent=T.Backpack return z end end return false end
--receives event from toolEvent
event.OnServerInvoke = function(player, t, val)
	if t == "whitelist" then
		return whitelisted(player.Name)
	elseif t == "." then
		if whitelisted(player.Name) and toollist[val] then
			local c = toollist[val]:Clone()
			c.Parent = player.Backpack
			return c
		end
	end
	return false
end
