Is it possible to make a script where you're building something leave and come back and the construction process is done

If you ever have played the popular game Clash of Clans, you know there are some buildings that take 5 hours, 6h etc. to build. Most people leave and comeback in the x amount of hours it takes and the building is completed. Is there a way of replicating that in studio?

1 Like

This is definitely possible. I’d suggest searching the forum to learn about how os.time works. This grabs the real world time and allows you to know how much time has passed even while a user isn’t in game. It’s often used for daily reward systems.

Thank you I’ll see what I can find.