Help on How to make Block Disappear After Touch and Gain Points

I already have this under part

local part = script.Parent

local function onTouch(otherPart)
local humanoid = otherPart.Parent:FindFirstChild(‘Humanoid’)
if humanoid then
local player = game.Players:FindFirstChild(otherPart.Parent.Name)
if player then
player.leaderstats.Points.Value = player.leaderstats.Points.Value + 1
end
end
end

part.Touched:Connect(onTouch)

All I want to add is to make it disappear after giving a point and I already have a leaderboard set up please help

Call :Destroy() on the part or .Transparency property set to 1? If you want it destroyed only on the client then use a RemoteEvent along FireClient.

Make sure to add the player in an array of exceptions for the .Touched event to avoid interception of FireClient.