Skip to main content
Discovery icon for Retro Dev Discord server

Retro Dev

7,601 Online
44,248 Members
# retro-chat3 people

scripting GUI buttons efficiently

To efficiently manage multiple GUI buttons, loop through children to connect a single left-click event to every button and share the same function.

  • Loop through children to connect a single GUI left click event to every button, sharing the same function across all of them
  • Place buttons inside a folder within the toolorder frame to help organize and simplify scripting, but move setvalue close and textbutton outside the folder
  • The issue of replacing a number with 'fov' as a get object property variable was resolved by one member, which another member initially missed
Summarized from recent messages, might be inaccurate

More conversations

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App