Hello there. You are asking the devforum to make an entire rebirth, data presistance and logical parsing systems for you. This is offtopic, however, here are articles that I think will be useful:
- Data stores (to store the player data like number of rebirths
- Stopping roblox death (to prevent the players from ressetting in the first place)
- Tool activation (to see when the tool activates)
- Player speed (to get an idea of how to do it)
- Player death event (to see if the player died and give them the new effects)