✨To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/BrawlDev . You’ll also get 20% off an annual premium subscription.
Very useful tips. Comments are useful for other developers helping you, returning to a script after weeks of doing something else, quick understanding of what a code block does without digging into the code, or big or complicated programs. I especially liked the "parent" optimization. Although I haven't seen all of your videos, just looking at the titles, I would like to see a video dedicated to the folder structure, what game objects go in each folder, and the scripts to run in each folder. Also a video on valid/invalid characters for naming objects would be helpful.
Lets get it! I'm pushin this brain hard every day. So thank you! being highly adament about scripting and not being able to use your creativity to its full potential based on a scripting barrier :(
Absolutely adore these videos. TIL that there are different names for the way variables look, and one of said variable names should be used for classes!
Absolute lifesaver your scripting videos have always been a massive help thank you and i hope your channel gets way more attention. Also amazing video!
hey brawl dev! these videos have been very helpful in my journey to mastering roblox lua. i was wondering if you would ever do a video on the basics of OOP? though it is a complex subject i thought that no one else could explain OOP better than you.
@@CouldBeAnyone like instead of doing the check at the start of the function, u can do the check at the bottom where u return all the stuff, so it'd be: function calculate(width, height) return ((width
i need tips for motivation to continue studying... i'm stuck at episode 10, and can't proceed i just you know... "lost the will" to proceed my initial passion fuel is already depleted... any advice ?
Make sure you are applying what you learn as just watching the episodes will tire you out. Take your time and treat each episode like a new experience waiting to be mastered before moving on to the next. When you make progress and realize you can fully apply these concepts, that will bring you into a positive feedback loop of wanting to learn more. I believe in you! :)
hey can you make a script to make a script that works with any npc? if theres a sound ingame thats playing thats named “alarm” the script will have a 1 in 3 chance to make the npc walk towards the sound for a few seconds. i really need this thanks
also are comments in scripts really very important? i feel like they arent so important, as people can re-read the script and understand it without comments and do i have to add a comment to EVERY line in the script?
Well, if you ever tried making a game with multiple scripts, module scripts and local script and you come back to that exact game , you might not remember what each script does exactly on top of your head. That's why you should put at least a few comments within a script that explains what the script does. (Example: --this server script will give a player a leaderstats folder upon joining). And no, you don't have to put comments on every line. The only time you maybe wanna do that is when creating free models with scripts to explain what each line of the code does to a newbie
i dont think some of the code is working in my script because the console(output) it says that Touched is not a valid member of Script "Workspace.forKillPart"
make sure you're putting a colon instead of a dot. So for example: local part = Workspace:WaitForChild("forKillPart") part.Touched:Connect(function(otherPart) local humanoid = otherPart.Parent if humanoid then --YOUR CODE HERE-- end end)
✨To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/BrawlDev . You’ll also get 20% off an annual premium subscription.
🤑
.
How did you get them to sponsor you? I asked on my other acc and they said you need 50k views average
@@ufoulroo2035 They reached out to me through email.
I don't know when you first started getting sponsors, but congrats on getting one :)
Very useful tips. Comments are useful for other developers helping you, returning to a script after weeks of doing something else, quick understanding of what a code block does without digging into the code, or big or complicated programs. I especially liked the "parent" optimization.
Although I haven't seen all of your videos, just looking at the titles, I would like to see a video dedicated to the folder structure, what game objects go in each folder, and the scripts to run in each folder. Also a video on valid/invalid characters for naming objects would be helpful.
250 Likes on the video for Part 2! 👍
i liked
i disliked
@@ArchieRS
nice
Lets get it! I'm pushin this brain hard every day. So thank you! being highly adament about scripting and not being able to use your creativity to its full potential based on a scripting barrier :(
An episode on region3 would be awesome asf
NEVER GONNA GIVE YOU UP
Absolutely adore these videos. TIL that there are different names for the way variables look, and one of said variable names should be used for classes!
Absolute lifesaver your scripting videos have always been a massive help thank you and i hope your channel gets way more attention. Also amazing video!
hey brawl dev! these videos have been very helpful in my journey to mastering roblox lua. i was wondering if you would ever do a video on the basics of OOP? though it is a complex subject i thought that no one else could explain OOP better than you.
OOP will be covered in the future (and let's just say it will be a big one)! :)
Thank you so much!
Very helpful Video!!! Thank you
Great video as always brother, keep up the good work
8:30 I'm wondering why not do return ((width
I dont get what you are asking
@@CouldBeAnyone like instead of doing the check at the start of the function, u can do the check at the bottom where u return all the stuff, so it'd be:
function calculate(width, height)
return ((width
@@boatExploits I think the point is to make your code more readable, this one you gave seems hard to read
@@boatExploitsyou can use your method anyway you like but i'd recommend making it more readable if you are working with someone
@@CouldBeAnyone oh alr, thx
i need tips for motivation to continue studying... i'm stuck at episode 10, and can't proceed i just you know... "lost the will" to proceed my initial passion fuel is already depleted... any advice ?
Make sure you are applying what you learn as just watching the episodes will tire you out. Take your time and treat each episode like a new experience waiting to be mastered before moving on to the next. When you make progress and realize you can fully apply these concepts, that will bring you into a positive feedback loop of wanting to learn more. I believe in you! :)
hey can you make a script to make a script that works with any npc? if theres a sound ingame thats playing thats named “alarm” the script will have a 1 in 3 chance to make the npc walk towards the sound for a few seconds. i really need this thanks
Amazing
congrats on the sponsor
Fantastic video! I had better tips 🤫
Hey you stole my luau features forum i made in your discord server >:( (jk)
It was too good I couldn’t not use it! 😎
Chassis is not pronounced like "chey-sis". It's "cha-see". I could be wrong for the British accent, but this is the American accent way. =]
Scrip needs to take notes at 16:25
You and rustysillyband are the best
also are comments in scripts really very important? i feel like they arent so important, as people can re-read the script and understand it without comments
and do i have to add a comment to EVERY line in the script?
Well, if you ever tried making a game with multiple scripts, module scripts and local script and you come back to that exact game , you might not remember what each script does exactly on top of your head. That's why you should put at least a few comments within a script that explains what the script does. (Example: --this server script will give a player a leaderstats folder upon joining). And no, you don't have to put comments on every line. The only time you maybe wanna do that is when creating free models with scripts to explain what each line of the code does to a newbie
@@leonv3
Alright! Thank you so much!
Heyyyy sponsored video
I love you broo ❤❤
Nice
hii
Where's the tape 😡😡
i goon to collabs
Of course you do.
i bet you cant heart the reply under this comment
yes this one
thank you ❤
i dont think some of the code is working in my script because the console(output) it says that Touched is not a valid member of Script "Workspace.forKillPart"
make sure you're putting a colon instead of a dot. So for example:
local part = Workspace:WaitForChild("forKillPart")
part.Touched:Connect(function(otherPart)
local humanoid = otherPart.Parent
if humanoid then
--YOUR CODE HERE--
end
end)