Need help with rebirth system

i need help with making a rebirth system that can stack points like this: 10k/10k = 1 point 100k/10k = 10 points

i have tried myself but i have no idea on any other methods besides this

image

but this freezes the game everytime you rebirth with a high number and if i add a wait() it counts the points one by one and is very slow if you have a lot of money

i need some suggestions to how i can be able to achieve this

Thanks

local rebirthAmount = plr.Money.Value // 10000
plr.Money.Value -= rebirthmodule.rebirthcost * rebirthAmount
plr.Rebirthpoints.Value += rebirthmodule.rebirthpoints * rebirthAmount
1 Like

that worked, thank you. i never dreamed it would be that easy

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.