Regenerating in Roblox usually comes down to finding the trigger, which is often a small purple brick you either step on or click.
Not every place uses the same setup, so if there is no purple brick nearby, look around for anything that stands out as interactive. Creators have a fair bit of freedom in how they wire these up.