This Makes Roblox Programming Look Hard (Its VERY Easy!) | Roblox Studio

preview_player
Показать описание
Generic Types in Roblox Studio!

Please like and subscribe for more tutorials! 💟

0:00 - Intro
0:22 - Typechecking Explained
0:51 - Generic Types
3:38 - Define Multiple Generics
6:24 - Why Define A Type Table
7:42 - Defining Tables As Type "T"
8:35: Use Cases
9:33 - Outro

If you get any enjoyment or use out of my videos, I would really appreciate if you like, comment, and subscribe! 👍 You help me make more videos and to keep teaching people the secrets of roblox studio and how to make the best possible games! 💝 I do sometimes make more complicated tutorials focused for more advanced developers, so keep in kind the information I am giving out. 📄

#roblox #robloxstudio #robloxscript #robloxscripting #robloxadvancedscripting #robloxdev #robloxdevelopment #robloxdeveloper #robloxprogramming #scripting #programming #gamedev #gamedevelopment #gamedeveloper #robloxtutorial #robloxscriptingtutorial, #robloxadvancedscripting, #programming, #robloxdev, #robloxstudiotutorial, #lua #coding, #robloxshorts, roblox typechecking, roblox studio typechecking tutorial, typechecking programming, generic functions roblox studio, generic types roblox studio, generics roblox studio, this makes programming look hard but its easy, Roblox Typechecking, Roblox Generics, Luau Generics, Roblox Programming, Roblox Development, Type Safety in Roblox, Roblox Tutorials, Roblox Code, Roblox Type Annotations, Roblox Data Structures, Roblox Generic Functions, Roblox Generics Tutorial, Roblox Scripting Tips, Roblox Studio Tips, Advanced Roblox Scripting, Roblox Game Development, Roblox Scripting Basics, Learn Roblox Scripting, Roblox Studio Basics, Roblox Coding, Roblox Dev, Roblox Type Safety Tutorial, Luau Scripting, Roblox Coding Tips, Roblox Programming Tips, Roblox Luau, Roblox API, Roblox Scripts, Roblox Studio Scripting, Roblox Tutorials for Beginners, Roblox Advanced Scripting Techniques, Roblox Game Scripting

ROBLOX,character,character shop,scripting,coding,programming,program,pc,comptuter program,lua,how to make,how,how to make a character shop,studio,roblox studio,roblox scripting,How to script,roblox,studio coding,SCRIPTING ROBLOX,stewiepfing,How to make a,Pets,egg system,simulator,roblox simulator, power ups, how to make power ups nstudio power ups scripting pet simulator x, pet, pet sim, pet sim x? LEADERSTATS, leaderstats, door, LEADERSTATS DOOR, how to make a leaderstats door, WorldBoost
ROBLOX,character,character shop,scripting,coding,programming,program,pc,comptuter program,lua,how to make,how,how to make a character shop,studio,roblox studio,roblox scripting,How to script,roblox,studio coding,SCRIPTING ROBLOX,stewiepfing,How to make a,Pets,egg system,simulator,roblox simulator,Dash,how to script a dash,power,power ups, hightlight, stroke, roblox studio highlight feature pet simulator x, Pet simulator x game, How to make a simulator, how to make a game, how to make a roblox game, printing and debugging, roblox beginners scripting, scripting, roblox programming, roblox studio, printing roblox scripting, printing, roblox, learn how to script, learn how to script roblox, pet simulator x, game developer, day in the life of a game developer, day in the life of a roblox scripter, day in the life of a programmer

kreekcraft, flamingo, sml, big games, pet simulator x, buildintogames, hazem, pls donate, polaris prog, polarisprog, roblox studio, rtc, twitter x, x, denisdaily, ibella, how to make a pet following system, arm wrestle simulator, 1coal, lanaslife, booshot, mrbooshot, skibidi toilet, skibidi, yeet a pet, recommend this youtube, fyp, tiktok, gravycatman, robuilder, alvin blox, scripting tutorials, How To Make A Tycoon In Roblox, how to make a simulator in roblox, tazd, roblox twitter, roblox twitter community, egg hatching system roblox studio, Roblox Studio - Arm Wrestle Simulator | UNCOPYLOCKED, pet simulator x uncopylocked, thedevking, how to make a hoverboard, how to make a hoverboard in roblox studio, b ricey, module scripts, How to script a Tool Gamepass | Roblox Studio Tutorial, How To Make A Teleport Gui In Roblox Studio 2023, How To Make A Notification System In Roblox Studio 2023, How To Make A Combat System In Roblox Studio 2023, HOW TO MAKE A GAME LIKE ARSENAL IN ROBLOX STUDIO PART 1!, HOW TO MAKE A GAME LIKE FRIDAY NIGHT FUNKIN IN ROBLOX STUDIO PART 1 !, How to make a game like among us in Roblox Studio. Part 1, How to make an ACTUAL Loading Screen in Roblox Studio, How to make an FPS game in ROBLOX STUDIO part 6!, How To Make A Survival Game In Roblox Studio - Part 1, I tried remaking DOORS in 1 HOUR..., I tried remaking pet simulator x in 1 hour, making a game in one hour, How to make a Shop Gui in ROBLOX Studio, ROBLOX Studio Story Game Part 1 Tutorial, I Made Minecraft's Terrain Generation in Roblox, blender, kreekcraft 10 mil
Рекомендации по теме
Комментарии
Автор

This is not something I would waste much time studying but knowing the basics of generics is enough for most developers

bilocarrega
Автор

I just spent 2 hours last week wrapping my head around this and you create this NOW?!?

kylehickmen
Автор

I used to code in C# so a lot of this made sense to me, but I didnt even know lua could do that. Epic!

Dr_mafario
Автор

Looks like something that would come straight from math exams

retrohowl
Автор

Thank you man, it feels feels like you help bridge the gaps of intermediate to advanced. Alot of the questions I find myself asking I can't find good answers for until I look at your channel

d.d
Автор

this showed me what types are in like 2 minutes thanks

mad_jelly
Автор

Did a good job at explaining everything except the part of where this would be used.

egzinis
Автор

Great video! This is something I didn't quite understand about scripting yet, but it makes a lot more sense now. You should do a video about metatables sometime, they can be really powerful and I see a lot of people struggling with them.

berendberend
Автор

This cooked my mind, so I am going to ask chatgpt to explain it to me in weeb term

Ryuma_Lover
Автор

This video made me wonder: What if I type define a table called Car and use the Lua OOP concept that is in roblox's devfourms and combine to type define an object called Car to code efficiently.

DevLkhy
Автор

type annotation and generics are powerful

daewud
Автор

this is cool lol
also can make a tutorial on how to make it so the bezier curve still going even when it reached to the end point
I’m trying to make an attack that basically shoot paintballs up then fall down into players

booiiiip
Автор

i wanna ask where did you get those informations, i never knew all off those that your channel covered

HaloleHalo
Автор

Could you send some examples of use for this because i dont know why id use this

hike
Автор

i feel so lucky right now, ive been learning type-checking and i couldnt find out how to designate a variable as a table. i kept googling it but i was getting a bunch of irrelevant stuff lol

taylozen
Автор

i told chat gpt 3.5 that : can you write a script using lua and using generics to print of input type is int value or bool value or string value
and replay that :

Certainly! In Lua, we can create a function that uses generics to handle different input types and print messages based on the type of the input. While Lua does not have a formal generics system like some other languages, we can achieve similar functionality by checking the type of the input.

Here's a Lua script that demonstrates this:
function printType(value)
local valueType = type(value)

if valueType == "number" then
if math.floor(value) == value then
print("The input is an int value: " .. value)
else
print("The input is a number (not an int): " .. value)
end
elseif valueType == "boolean" then
print("The input is a bool value: " .. tostring(value))
elseif valueType == "string" then
print("The input is a string value: " .. value)
else
print("The input is of an unhandled type: " .. valueType)
end
end

-- Test cases
printType(42) -- int value
printType(42.5) -- number (not int)
printType(true) -- bool value
printType("Hello, world") -- string value
printType(nil) -- unhandled type
printType({}) -- unhandled type


can any one explain that?

onlyfreefiregg
Автор

whats the difference between what you did and just " : any"

wverbrug
Автор

what's the point of doing that, it just wastes time

askshells