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