
A simple touch-activated brick that hands a tool from ReplicatedStorage to any player who touches it, and only gives it once per player.
-- Tool Giver Script by Koda
local part = script.Parent
local toolName = "CoolSword"
part.Touched:Connect(function(hit)
local char = hit.Parent
local hum = char:FindFirstChild("Humanoid")
local player = game.Players:GetPlayerFromCharacter(char)
if hum and player then
local tool = game.ReplicatedStorage:FindFirstChild(toolName)
if tool and not player.Backpack:FindFirstChild(toolName) then
tool:Clone().Parent = player.Backpack
end
end
end)📦 Tool must be inside ReplicatedStorage and replace local toolName = "CoolSword" with your tool like this local toolName = "toolname"