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