I'm working on a remake of "The Underground War" By StickMasterLuke. In the game I have a "swuvel" that works fine. it has a child numbervalue called "Shovel". There is also a block with a script in it that looks for the numbervalue inside of the block, when it is found it turns transparent. But for some reason when the block touches it nothing happens. I know how to make the script find a humanoid or nothing, is there something I can make it detect something besides those two things? Script:
script.Parent.Touched:connect(function(hit) local shovel = hit:FindFirstChild('Shovel') if shovel then script.Parent.Transparency = 1 end end)