if you know any button simulators (like BS:ED) i need help on how to make rebirths work
game.Players.PlayerAdded:Connect(function(plr)
local ls = Instance.new("Folder", plr)
ls.Name = "leaderstats"
local c = Instance.new("NumberValue", ls)
c.Name = "Cash"
c.Value = 0.00
local mult = Instance.new("NumberValue", ls)
mult.Name = "Multiplier"
mult.Value = 0.00
local re = Instance.new("NumberValue", ls)
re.Name = "Rebirths"
re.Value = 0.00
while task.wait(1) do
sfxearn:Play()
local baseCash = 1
local totalCash = baseCash
if mult.Value > 0 and re.Value > 0 then
totalCash = baseCash * mult.Value * re.Value
end
c.Value += totalCash
end
ls.Parent = plr
end)
** You are now Level 16! **