I am currently making a main menu for my game, and one of the buttons (a "Deploy" button) needs to transfer the player to a map/different game. However, I can't get the "Deploy" button to work.
Here's a picture of the current code:
Edit: I solved it. I realized I had to find a way for the Client to communicate with a Server script, so after learning about events from GamerTitan (How To Use Events When Creating A Game In Core - YouTube), I simply changed the UIButton(Client) script to this:
And I also added a pretty short and simple Server script, which looks like this: