just open-sourced attrify
a behavior system for roblox that lets you add game mechanics with just tags and attributes instead of writing scripts for everything
jump pads, coins, combat, doors, obbies... 50 behaviors you can just tag onto parts and configure
https://t.co/w6OThKicet
Your AI Agent can now learn how to start a rojo project, write typed luau systems, debug, and audit your code for exploits
• luau-best-practices - Clean patterns & security
• luau-type-expert - Type-safe Luau code
• rojo-pro - Project setup & workflows
Works with Claude Code & Cursor:
npx skills add dig1t/skills
#RobloxDev
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 if X is false, it returns Z. Watch out! If Y is false, Z may sneak in unexpectedly!
if X then Y else Z: Clearer and safer. Explicitly assigns Y if X is true and Z if false.
#RobloxDev #RobloxStudio #Roblox
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