I tried to do what the wiki said but it won't work..Here:
local assetId = 16688968 local instance = game:GetService("InsertService"):LoadAsset(assetId) local plr = game.Players.PlayerAdded:connect(plr) local backpack = plr:FindFirstChild("Backpack") function onTouch() if instance then game:GetService("InsertService"):Insert(instance) instance.Parent = backpack end end script.Parent.Touched:connect(onTouch)
The most efficient way of doing this would be to clone the tool from ServerStorage Use:game:GetObjects("rbxassetid://asset id")[1].Parent = Workspace --To get the tool into the game
--Put the tool into ServerStorage script.Parent.Touched:connect(function(hit) wait(1) if hit.Parent:FindFirstChild("Humanoid") and game.Players:GetPlayerFromCharacter(hit.Parent) then local player = game.Players:GetPlayerFromCharacter(hit.Parent) local character = hit.Parent local backpack = player:FindFirstChild("Backpack") if hit.Parent:FindFirstChild("Humanoid").Health >0 and backpack and not backpack:FindFirstChild("Tool") and not hit.Parent:FindFirstChild("Tool") then local clone = game.ServerStorage.Tool:Clone() clone.Parent = backpack end end end)