How to hide area from part

Hey!
So in my game, I’m making a sword fight as a minigame. However, I came across an issue.

For example, let’s just consider this part to be the sword fight area.

Now, if we just leave it like this, and players teleport there, this issue arises (exaggerated for example, but just take the issue).
image

Now I want to know how to fix it without putting walls around it, or putting it beyond 100,000 studs(max render distance at highest graphics). Now this is possible because I have seen Epic Minigames do it(in a way, at least).

Thanks!

1 Like

Why not just place it below the lobby?

But people could look up, AND there would be a shadow on it, so that is out of the question.

I could do it above the lobby, but still people would see it.

1 Like

Whoops! I wasn’t thinking too hard when I typed that out. :pensive:

Most minigame games I’ve seen just place the game very far away from the lobby. I can’t really think of any other way to help you. Sorry. :frowning_face:

1 Like

You could use the simple way. As @Crazedbrick1 said , place the map under Lobby and make a script to limit the zooming point, also disable the shadows of the lobby.

Or hard way. As i remember, epic minigames uses remote events to hide the lobby from the client’s view. Basically making it invisible.

4 Likes

I’d store all maps inside the ServerStorage, and load it into the Workspace when the game starts!

That’s what I do, but I need to know how to hide it once it is loaded.

You mean hide it from players that aren’t in the game?

Hide the lobby from the players in the minigame.

Oh! Maybe you could locally delete the lobby for the players that are in the game?

When does CameraMaxZoomDistance prevent players from seeing right next to them?

I currently have the platform almost 60,000 studs away. Would that work fine?

You can use something called Teleport Service. I can’t say I’m too good at this (I needed support with scripting it the other day) but essentially, you have places within the place which you can teleport the server between and even send data.

What happened? I just wanted to hide the lobby from the platform, I didn’t want to completely make a new game or add useless fog.

There are ways to put a wall up and looking through it, it appears nothing is there. Just anchor a invisible wall, make cancollide off and add a script to make everything past it invisible. Your a programmer so you might know. I have NO idea how to make it though I’ve seen it.

1 Like

It’s different from making a completely new game, it’s the same “game” it’s just got different maps within it, so to speak.

1 Like

No, my map is open. See post 1.

maybe make some mirrors that reflect the sky of the borders of your lobby on one side huh