Water Terrain Help

Hey Devs! I have a question, is there anyway I could remove a certain part of Water Terrain I’m trying to do it with game.Workspace.Terrain:Clear() but it deletes the whole terrain I have, is there a way to just remove a certain part?

I tried using this script but idk why its not working

Your code destroys the target, which removes its children. So after that it won’t have a child called “Liquid” anymore. target:FindFirstChild("Liquid").Parent doesn’t make sense anyway, because it would just refer to target itself.

elseifRemoveOrPlace == "removing" then
    if target and target:FindFirstChild("Liquid") then
        workspace.Terrain:FillBlock(target.CFrame, target.Size, Enum.Material.Air)
 
        game.ReplicatedStorage.PlacingSystem.PlayRemovingSoundRE:FireClient(plr)
        target:Destroy()
    end
end
1 Like

Thank you so much! It worked perfectly!