RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"after ProximityPrompt is triggered the player has the tool in their hands"
-- local script inside the ProximityPrompt local proximityPrompt = script.Parent local tool = game.ServerStorage.Tool -- assuming the tool is stored in ServerStorage local function onProximityPromptTriggered(player) local playerBackpack = player:FindFirstChild("Backpack") if playerBackpack then local newTool = tool:Clone() newTool.Parent = playerBackpack newTool:Equip() end end proximityPrompt.Triggered:Connect(onProximityPromptTriggered)