Introduction to ADVANCED Roblox Studio Scripting: Roblox Studio ADVANCED Scripting tutorial

preview_player
Показать описание
In this Roblox advanced scripting tutorial, I will be showing you the best ways to structure your Roblox studio scripts (in all server scripts, local scripts and Roblox module scripts) to create the best Roblox studio scripts in 2023. There are many ways to code in Roblox studio, however the 2 methods of using Object orientated programming (OOP) in Roblox studio scripts and Functional programming (FP) in your scripts can make your scripts tidier and more efficient when creating games in Roblox studio. This video doesn't have specific examples of making a Roblox studio game, but instead builds the foundations by reversing tables in Roblox and squaring numbers in Roblox studio.

The Roblox scripts that I used in this Roblox studio scripting tutorial:

- The Roblox module script for the For Loop:

- The Roblox module script for the stack class for the OOP example:

- The Roblox server script that ran the program:

The playlist containing all of the Roblox studio advanced scripting tutorials:

This series is not really for beginner scripters. If you want a Roblox studio beginners tutorial, let me know in the comments. Thanks for watching.

Roblox studio scripting tutorial timestamps:
00:00 Intro to the Advanced Scripting Tutorial
00:16 Programming Paradigms in Roblox Studio
00:39 Functional Programming
01:15 Functional Programming: Square Numbers Problem
04:21 Object Orientated Programming (OOP)
04:50 OOP: Reverse A List
10:44 Combining OOP and FP
13:04 The next scripting video
13:20 Outro

Hopefully you all enjoyed and learnt something from: Roblox Studio ADVANCED Scripting tutorial: The BEST ways to STRUCTURE your Roblox scripts in 2023
Рекомендации по теме
Комментарии
Автор

very useful and very indepth, i knew OOP but i didnt know there was a functional Programming technique. im grateful you decided to teach us this. something throwing me off is the edits in your voice its like i can understand what youre saying but it disrupts my train of thought everytime you cut your sentence

koolaidman-jf
Автор

Thank you for posting these videos, you've earned yet another subscriber! Keep going!

miskoblox
Автор

Awesome video man, your content is amazing!

Jaypiasco
Автор

Video is pretty good, only issue is that the functional programming example introduces obfuscation and over complicating of code that should be otherwise easily readable. To be fair I am also a fan of my code looking fancy, but when working with teams this easily creates more problems than it solves. Ik you were just making an example but most new programmers could interpret that as the best and most efficient way of using functional programming. ❤❤

pat
Автор

Finally some quality programming. Gonna call it Ash Framework like Laravel

LERA
Автор

I was thinking about learning oop. This is useful👍

vladvlad
Автор

Good Video but the functional example is not quiet right if you want to use pure functions
Per definition pure functions a deterministic and side effect free.
Your For-loop Function has the side effect that it modifies the data passed in. For a real pure function, you have to return the new data.
And the main benefit of pure functions is not that the code is easier to understand but easier to test, because the function will produce the same result every time regardless of program state or outside factors

aetherdust
Автор

When should developper use the functional Programming with for loop, for example ? Everytimes or sometimes ?
Btw, great video !

gunipotys
Автор

Yo, how do I make datastore in which I can store data in 2+ EXPERIENCES (not only places), in which I can use group or smt idk

MisterTheRobot
Автор

Great video. But on your Stack script you didn't work all too much in it. I had to download your Stack pastebin to get my paradigmns to work to work without throwing an error. it's great that you do this and I am trying to figure out the best way to use this in something I am trying to create. Basically I have a beginning which is after click to preview sends GUI screen black then tweens about 17 different lines in a Table that is in a mod script. tween fade in and fade out change line repeat. Then on the last one the tween is to move towards you. Now I have that made and will figure out how to use your ingenious method. now that is just the intro. have not quite figured out how to pull out of it which would take from your other video on save and loading would be like the last line sweeping toward you and as the screen fades up you drop where you were from the previous session. But i will definately play around with your oop methods since i want to trigger a lot of events throughout the game and the way yours blocks a mass event call from a hacker is like yes events are called but in order to trigger them you have too zigzag to them to fire everytime add a debouncer and i can see where attacks can be seen then blocked and player booted from the game.

speedyg
Автор

pastebin is down, can't have the codes from ur link

vis