Roblox released this neat Luau feature earlier this year that allows you to use string requires! Here’s an example of how you could convert your code to use string paths
#RobloxDev #RobloxStudio #Roblox
Dev Tip: Use boolean expressions in variables!
Instead of writing bulky if statement blocks, use these shorthands for cleaner code: X and Y or Z or if X then Y else Z.
What's the difference?
X and Y or Z: Compact but tricky! It evaluates X first. If X is true it returns Y, but…
Struggling with AutomaticCanvasSize for lists or grids?
It often sets the canvas height too short, clipping elements, or too large, leaving a huge gap.
I made a module that perfectly sizes ScrollingFrame canvas heights!
#RobloxDev #RobloxStudio #Roblox
Dev Tip: Safely remove items from a table! Normal loops break when using table.remove because the table size changes when removing an item. Loop backwards instead!
This method is commonly overlooked by devs.
#RobloxDev #RobloxStudio #Roblox
Dev Tip: avoid magic numbers! Using hard coded values like "health -= 13.4" reduce clarity and makes things harder to find.
Use constants instead and choose clear names like BLAST_RADIUS, PLAYER_RUN_SPEED, and WINNER_COIN_AWARD
#RobloxDev #RobloxStudio #Roblox
178 Followers 841 FollowingScripter | 2.8k peak CCU on my game | Experienced in making systems and fully functional games in @Roblox!
COMMS temporarily Closed 🔴 DISCORD: builderfella
116 Followers 32 FollowingLead game designer, programmer, UI & UX designer, graphic designer, level designer, character designer, and lore writer for Deadzone Eternal
Full-time dev
31K Followers 184 Following📝 Director of Creativity @ Twin Atlas
🎩https://t.co/66jEVtIEUP
🎨 3D artist, animator, designer
🐱 Cat mom
🐉Lover of all things fantasy
(pfp @evilartist_)
4K Followers 220 Following• Hey, my name is moe and I like to create things! ⚒️ • Big projects coming soon..☂️ 🎥 • Contact me through DMs here or on discord: moekordofani
220 Followers 8 FollowingHey! I'm a ROBLOX Graphic Designer! Follow me if you want to see some cool art! Feel free to DM me on discord ⬇️ I work for @do_bigR & @GrowaGardenRblx