[Please Help] How to use ScreenPointToRay to make a camera system similar to rise on nations?

As the title states, I was wondering how to make the screen go from 2D to 3D once it reaches a certain distance similar to the game [Nukes] Rise of Nations I have no script because I currently just started my project. I also wanted to know how I would make random events occur that affect your gameplay for example when a protest occurs it increases unrest or in my case spreading a virusimage

9 Likes

bro just learn lua ???