local part = script.Parent part.Touched:Connect(function(hit) local character = hit.Parent local player = game.Players:GetPlayerFromCharacter(character) if player then local leaderstats = player:FindFirstChild("leaderstats") if leaderstats then local coins = leaderstats:FindFirstChild("Coins") if coins then coins.Value += 10 end end end end)