Would like some support with making a little minigame

I have some basic scripting knowledge for some foreshadowing.

I am trying to create a little color matching minigame where you connect the lines to match the colors to unlock a door. You’ve probably done one yourself in another game, I just need some information on how I would do this, what I would need, and if there is a tutorial or if someone could explain how to make it.

Thanks!

EDIT FOR SOME INFORMATION
this would be done via a GUI

1 Like

Like connecting them via UI or via clicking a part… need some more information.

Oh yes, sorry I will edit the post. But via a GUI i’m not sure if thats harder though.
They would basically tap this little code reader and then a GUI will pop up that they will need to match the colors in.

I couldn’t find a tutorial that really matches this description. Only thing I can think of relating to this is an Among Us task.

Yeah, you could think of it like the among us electrical box.

Like the among us task with the electric box where you connect the wires. You can do a click detector that checks if u clicked on end of the connectors. If you have clicked on a connector a frame resembling a wire could appear where on end is on the connector and the other one is on ur mouse position. After that check if you click on another connector that matches the color.

Is this what you are looking for ? or more a script example?

Possibly more of a script example, I understand what you mean but I’m not completely sure what the script should or would look like.

You would have to mess around with the size of the wire and rotation. I wouldn’t image how to make one yet.