Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How would you do a give tool command which gives the tool a the player is holding?

I made a command script already, I am just asking on how to check what tool a player is holding, I've tried searching on online, but I couldn't find an answer, any help?

1 answer

✓ Accepted answer
if workspace.Player1:FindFirstChild("ToolNameHere") then
end

when a player is holding a tool, the tool goes into the character group.

2 comments

0

Ah, thank you I was looking for the tool in game.Players

0

When the player is not holding, the tool goes into their backpack inside The game:GetService("Players").LocalPlayer.

This discussion is preserved as it was. New answers, comments, and votes are closed.