RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"player gets a tool on touching a part, tool and part both are in the workspace"
-- script for part local part = script.Parent local tool = game.Workspace.Tool local function giveTool(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player then local backpack = player:FindFirstChild("Backpack") if backpack then tool:Clone().Parent = backpack end end end part.Touched:Connect(giveTool)