Hello. I recently got the idea to do a ROPE STRECHER. I want to connect a brick to the strecher with a rope but how can I make a UI who make the rope longer ror smaller ? Thanks to all who respond.
The UI is going to be a button. The buttons however only allow for click detection and not when the click ends.
For this reason I had a quick search and found a post by ‘TheRepairer’ on redit.
The theory behind it seems viable so here it is:
‘In a local script, use the events of the mouse MouseButton1Down and MouseButton1Up. When the first event fires, check the part the player is aiming at (Mouse.Target), check if it’s the correct part (you could do this by checking if the part is called “Switch”), if it is, turn the light on and wait until the player releases their mouse.’
Then the rest is just extending the length of the rope or reeling back in which is very simple, just add or subtract from the rope length.