game.Players.PlayerAdded:Connect(function(player)
local leder = Instance.new('Folder')
leder.Name = 'leaderstats'
leder.Parent = player
local coinn = Instance.new('IntValue')
coinn.Name = 'coin'
coinn.Parent = leder
coinn.Value = 0
game.Workspace.coii.Touched:Connect(function(part)
local playe = part.Parent:FindFirstChild('Humanoid')
if playe and game.Workspace.coii.Material == 'Neon' then
coinn.Value = coinn.Value + 1
game.Workspace.coii.Material = 'Plastic'
end
end)
end)
** You are now Level 3! **