Map Toggle Button

Hello!

I have created a new free model that allows you to manually toggle your maps with the use of a button.

How It Works

This model contains a part, (which acts as a button,) a clickdetector, and a script. When you first insert the model into your game, you are able to configure which map you want to toggle, and you are also able to configure specific parts as well. When you click the button, the script connects a function that cycles through the entire map, changing it’s Transparency and CanCollide properties.

Model Link

Map Toggle Button - Roblox

I made this when I sucked at scripting and I just decided to publish it, so let me know if there are any bugs.

Thanks for reading!


EDIT

I no longer recommend using this resource as it’s unsafe, unreliable, and overall not good. I may make an updated one in the future.

4 Likes

What exactly would someone use this for? If they used this in a game players would spam change maps?

I made this for new gameshow groups. You wouldn’t necessarily put this model in the open, but more of in an enclosed “Host-only” area.

Ohh, I see, In that case this is pretty neat!

I’m sure I’d find a use for this when hosting events. Thank you! :grinning:

1 Like

this wouldn’t really make any difference, most exploits today have a function named FireClickDetector, which as the name references, it fires any click detectors, from anywhere in the game, hence the name

I’d honestly recommend if you’re going to use this, add some sort of validation to check whether the player who clicked it has permission to click it, iirc the mouse click event provides an argument which is the player.

Took this offsale because it was full of a landslide of bad practices.

May or may not work on a better, updated version in the future. I don’t know yet.