How Do I Make A ViewportFrame As A Battle Royale Map?

As you can probably tell from my question, I’m making a battle royale game and I want a map as a feature. I’ll worry about it displaying the storm later and I can already code it so that it appears whenever you press the Q key, the issue is that it can’t display the full map. I don’t know how this is even possible from my script but some of the map gets deleted. (Also the ViewportFrame will be found on the top left of the screen)


And this is the script which doesn’t have any lines that should destroy anything.

Some context is the Holder is the part that’s above the map, and the Battle Royale is the physical map that you fight on. All I want to know is how I can get it to position properly and move the camera around a bit, plus fix the whole destruction issue. I’ve also tried using Toolbox models but those are geared towards focusing on players and the Roblox Assistant cannot provide a helpful answer, at least in my case anyways. Thanks if you decide to try and help with this!

So the simplest possible problem is that yhose parts arn’t anchored. Have you checked if the parts still in workspace?

Edit removed the contentprovider idea. I was reading the docs and found out its a terrible way to load that many assests for peforment problems. Good for casing when you not load alot of assets.

They are anchored and I may have a solution but I’ll try it out a bit later.

Yeah nevermind I figured it out. I just took the whole battle royale map, cloned it, and put it inside the viewport frame and made the necessary changes. Problem solved.

1 Like

Thanks for trying to help though!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.