local player = game.Players.LocalPlayer
local character = player.Character
local Allow
for _, child in pairs(character:GetChildren()) do
if child:IsA("Tool") then
Allow = false
else
Allow = true
end
end
I'm trying to detect if the player has any tools equipped. Doing so would change Allow to false, disabling them from doing things that need Allow to be true. However, this part of my script isn't functioning.
