I have a LocalScript inside a tool that is supposed to make it auto-equip. However, the same error (attempt to index a nil value) keeps appearing no matter how I change the script.
Script:
while true do
wait(.5)
game.Workspace:FindFirstChild(game.Players.LocalPlayer).Humanoid:EquipTool(script.Parent)
end
