Tool equipped detection

i need to make a script like “if axe is equipped then do this and this” but i have no idea how to check if player has this tool equipped, only how to check it If he has it in backpack

3 Likes

tool.Equipped:Connect(function()

2 Likes

If you’re making a script about a gear do what nots7d did, but if you’re checking if the player has it equipped in another script you can just do this im pretty sure

get the character of the person whos holding the tool then

for i, v in pairs(character:GetChildren()) do
if v:IsA("Tool") and v.Name == "Axe" then
print("person has axe equipped")
end
end
1 Like

you can try to use ChildAdded and check if its the axe. You can also put a put a script inside and use tool.Equipped

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.