How to spawn player(s) only when "Deploy" button is clicked?

Hello Devs! It’s me, TrueHarmony!!

I just need little help.

How can I make the player spawn only when the “Deploy” button is pressed?
I mean, how can I make the player not spawn into the game when the player does not click on the “Deploy” button? Is it possible to make a system?

You would need to use this I believe. Inside this documentation it says If u make the ChatachterAutoLoads to false it will not automatically spawn the player. It also says in there that when you want to spawn them you need to use the :LoadCharacter().

Players | Roblox Creator Documentation.

In your case you would use the :LoadCharacter() when the user presses the deploy button via an event like the activated one or mouse button clicked which both can be used for UI buttons.

1 Like

Hello there! A while ago I had the same problem like you have right now. Here is a link to my post since there is a solution there that might help as it had helped me.

If this helped you, it would be nice if you pressed the “solution” button lol

2 Likes