local V=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local n=V:FindFirstChild("\082\101\098\105\114\116\104")n.OnServerEvent:Connect(function(V,n)if V.leaderstats.Coins.Value>=100*(n.Value+1)then n.Value=n.Value+1 V.leaderstats.Coins.Value=0 V.leaderstats.Clicks.Value=0 end end)


local repStorage = game:GetService("ReplicatedStorage")
local remote = repStorage:FindFirstChild("Rebirth")

remote.OnServerEvent:Connect(function(plr, x)
	if plr.leaderstats.Coins.Value >= 100 * (x.Value + 1) then
		x.Value = x.Value + 1
		plr.leaderstats.Coins.Value =  0
		plr.leaderstats.Clicks.Value =  0		
	end
end)
