Hello! I’m wondering how I can learn UI scripting. I already know how to work with objects, create combat systems, and other physics-related stuff. As for UI scripting, I only know the basics, like buttons and simple interactions.
What I really want to learn is how to make UI-based mini-games, like the wire system in Among Us, sliding bars, and similar interactive elements. To be honest, I have no idea how to approach this, which is why I’m asking for guidance.
In my experience there aren’t really tutorials for scripting specifically minigames within UI panels, since the way the code works should not be too different to coding anything in Roblox (except everything is clientsided).
If you’re not sure how to code something for UI, try coding it in 3D, and if you don’t know how to do that, you’ll need to look up a tutorial
You’re better off looking for tutorials that are for other game engines and then sort of translating them to Roblox. (You don’t need to know a lot about the game engine or language that the tutorial uses, the logic is the same)
Experimenting will also help you get far, look into the different events that GUI elements have and mess around with them.
I’d say for those kind of systems you may have to use some math (vectors, trigonometry…) and combine that with the player’s mouse position to actively update the UI element properties to do what you want.