Alright so I want to make something like a minigame that pops up when you click on a part something like cable connect
I tried to do a bit of research on how to start it but didn’t got much so far so I’ll be happy to get any tip of how to start it, it will be something like this
You will have to use a GUI and clone it to the players screen when the player clicks the part
I’m not exactly sure what you want the actual mini game to do
The way to do this is to get mouse position and get the cable start position. Then get the midpoint and use the pythagorean theorem to find the length between them. Next, make a frame at the midpoint, set the length, then use some simple trigonometry to find the angle at which to bend the frame. Next, detect when the mouse collides with the correct cable end position and add 1 to a variable that stores the number of cables connected. Next detect when all cables are detected and close the window. Good Luck! (If you don’t understand feel free to ask)
So as @domboss37 you would clone the GUI into the players PlayerGui, but you also might want to make other GUI invisible while the player is playing the mini game.