How do i make a whole model transparent

Try printing, perhaps?

print("This should at least work")

--Do your conditional checks if the Player has enough cash/money to buy the wall
function onTouched(hit)
    print("We know the event fires")
    if hit and hit.Parent:FindFirstChildWhichIsA("Humanoid") and Debounce == false then
        print("Setting our debounce to true to prevent spam")
        Debounce = true
        for _, Object in pairs(Model:GetDescendants()) do
            if Object:IsA("BasePart") then
                print("Found a part")
                Object.Transparency = 0
                Object.CanCollide = true
            end
        end

    end
end

script.Parent.Touched:Connect(onTouched)

Wait that’s it I’m losing the variables lol I’m such a noob

YOOOOO IT WORKED thank you guys so much