This is the entire script I place in ServerScriptService
local function grape()
local GrapeCopy = Grape:Clone()
local function getfat(b)
local parent = b.Parent
local humanoid = parent:FindFirstChild("Humanoid")
if game.Players:GetPlayerFromCharacter(parent) then
GrapeCopy.Transparency = 1
local player = game.Players:GetPlayerFromCharacter(parent)
player.leaderstats.Coins.Value =0
player.leaderstats.Coins.Value = player.leaderstats.Coins.Value + 1
GrapeCopy:Remove()
wait(5)
end
end
GrapeCopy.Touched:Connect(getfat)
wait(0.4)
end
while true do
grape()
wait(1)
end
Problem: When I played it, the point increased only once. If I touch another grape, the point stood at 1. If you want the full script and more details, DM me on discord: Starlight#7272.

1 comment
Remove is deprecated. Use Destroy instead.