I’m making a game that has tools in it so when you use the tool on a part and the part destroys it the script doesn’t work anymore keep in mind that it’s not a tool from the starter pack its a union welded to your hand when you click it and the point of the script is that it’s anchored but when I click it it becomes unanchored, here’s my script:
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local tool = game.Workspace.tool
character:WaitForChild(“tool”) character.tool.Anchored = false
end)
end)