I personally love using Roblox TS, but I understand why most people won't move to TS. - This is exquisite if you have strong experience in luau and want to make your code way less prone to bugs. I've been using it for all my project since last year. - But it is also a whole new language and devs have to use an external editor which remove all of the team create features that comes with roblox's script editor. There's also the fact that most games are being worked on in luau, which mean that, if you want a job in a roblox based dev team, you're way more likely to code in Luau than Rbxts.
@@aeea3306 Roblox can change things overtime so if they add good features to make developing your game easier or writing code better ways then most people will use that feature. And I'm pretty sure that can effect RbxTS poplarity.
Very good tutorial - I’ve been looking for ways to finally start learning other languages besides Luau that can help me start getting more exposure to the outside coding world, and I think this is a very good bridge to that.
Lua was built of C.... A lot of the core functionality the Roblox engines are in C++ Making a transpiler from C or C++ into Lua, or even harder, LuaU would be a nightmare. I do see it as a possibility years into the future though
@@MisterrVi Yeah, but we could basically have turn the full circle, C -> Lua -> C (maybe running on some fictional architecture or even directly assembled to Lua code). I think LuaU would suit that job since it already has some basic typing system. For example: int add(int x, int y); function(x: number, y: number): number The disadvantage is that C has integer sizes like int32_t or int8_t and Lua or LuaU does not. Some keywords like "asm" or the intrinsics would be useless (since it's C to Lua). Also, using some fictional MISC virtual CPU would take its toll on performance and runtime integration. But it's a fun idea.
I use TS for some small projects, but the key thing with it also it SHORTENS the length of your code and reduces the amount of bugs, by shortening code as if your writing a script, if you were to write it with TS, it is much faster and saves time which is why I love TS!
Cool video! The average Roblox scripter might still resort to Lua since they feel like learning a whole new language is either overwhelming for them or that it will take a bit of time to fully learn it, but I can guarantee that once you learn it you'll never want to go back 😅 I have some tutorials on my channel for anyone who wants to go deeper into Roblox-TS, although I haven't finished all the episodes yet.
If anything it would be a downside to using typescript as all roblox-ts does is compile type script to lua code. This would also make debugging a pain as any error message you would see in the console would be for the parsed lua code, not the typescript code. For example, If i have a typo on line 5 in typescript, lua could say i have an error on line 32, Which can slow down the development progress.
Yes, it compiles typescript to lua, but it follows the laws of typescript meaning that you get the protection of typescript (Remember typescript typically compiles to javascript), personally I have not found debugging with roblox-typescript difficult but like mentioned in the video it can be challenging sometimes.
Well, TypeScript is known for its static typing paradigm, which makes it more stable and allows it to catch typing errors at compile time and prevent typing-based bugs and errors. Also, Javascript is a very well known language, many more people know how to use it than to use Lua, and some of Lua's features are unintuitive to users of other programming languages, so it makes sense that people will want a method to program Roblox games with Javascript, and maintain the static typing of Typescript, so just using Typescript makes sense.
i would try a other programming language if there was any available on roblox but i started with lua and it's been almost 5 years idk if i can spend more time to learn another programming language
I would recommend it. Learning a new language isn't too hard as the core concepts are still there, the syntax is just a bit different. I started with luau and it made learning other languages easier. I prefer statically typed languages now as it results in less bugs and I like intellesense when it's there.
I've always thought roblox was a bad platform to learn programming on because of how different lua, and especially luau is from other languages and how isolated its use is (pretty much just roblox). I like the idea of allowing young devs on roblox use a more widely used language, with static typing being a big bonus. But typescript just being an interpreter without in language debugging kinda sucks, brand new programmers will still have to first learn lua, which could be considered either a good or bad thing depending on their goals
LuaU is pretty similar to Lua, the only main differences are performance optimisations and the lack of JIT compilation to maintain compatibility, other than that there are only small syntactical changes that aren't too hard to adjust to using. Also, Lua has many advantages to other languages in many fields, it is a perfect language to embed in software, or use in embedded systems, it is the language of choice of many games and programs that offer extensibility through plugins, or user created content such as on Roblox.
I see this coming in handy, lua is not my most known coding language out there, however I really I am an expert in luau! I wanted to code in roblox and this is one of my chances, beautiful tutorial however I understand what's the reason for not using this learning a new language is very stupid and well roblox, has one of the easiest coding language's out there!
This over complicates the process requiring you to know how to configure the json be slightly established in VSCode and learn git functionality. This should be noted in this video, you will also require to know LUAU more extensively than in a ROBLOX editor especially in terms of classes and instances as VSCode is no longer going to refer you the correct code. This is also not very productive on low end machines to note also.
@@DexxterDax fun fact: even the typescript compiler itself compiles TypeScript code that even has a type error to JavaScript by default, it just emits errors. So you're basically saying: I know that I'm blocking my update that might work perfectly fine, but Roblox TypeScript will delay it anyways. Luau with types and --!strict is essentially what (not Roblox TypeScript) TypeScript (the one used in NodeJS and Web environments) on default settings is.
@@betapacket Luau's typing is far more limiting compared to typescript's which is the primary core feature to why using ts instead of luau. You can't extends generics, you can't filter types procedurally, Class aren't native in luau which makes OOP a pain, Retrieving return type or parameter type of a function isn't possible, keyof isn't supported (atm), there's only one type which is table while ts requires you to be more explicit on the way you structure your data. Couple that to all the features that comes with ts like interface, native promise support, classes, decorators, which in a sense gives much more than just turning on "--!strict" at line 1 of your script.
what’s the point of it I ain’t wasting my time doing all of this when I can just learn and script the normal my opinion if you already learned everything don’t do this if your starting i recommend I’m not gonna do it since I didn’t learn everything for nothing but yea (no argument guys)
The point of it is that Typescript offers static typing, a form of giving types to values that restrict what type of value they can hold, and static typing specifically is when it needs to know the allowed types when the code is compiled into a format that can be run, that way you don't accidentally use strings instead of numbers or something. It's a good trait for some languages and for others it doesn't make too much sense, for Roblox it makes quite a lot of sense to use static typed languages. And yes, I agree that beginners should start out with Lua itself and learn the in and outs of LuaU, then they can use other IDEs, Rojo, and other languages.
I would say it is reasonably simple to make, just find some good textures for materials such as flesh, skin, muscles, bones and blood and then go over some basic human/animal anatomy and then build! Just place the materials in places that are correct or very close to correct and try to replicate shapes, then that's it! Remember randomness is good, but don't overdo it, humans aren't very good at randomness and too much of it will end up making patterns. If a part looks imperfect then that can be good, this is gore, someone may have been disfigured so their body will look pretty unnatural and weird.
Because Typescript offers static typing, a form of giving types to values that restrict what type of value they can hold, and static typing specifically is when it needs to know the allowed types when the code is compiled into a format that can be run, that way you don't accidentally use strings instead of numbers or something. It's a good trait for some languages and for others it doesn't make too much sense, for Roblox it makes quite a lot of sense to use static typed languages.
I personally love using Roblox TS, but I understand why most people won't move to TS.
- This is exquisite if you have strong experience in luau and want to make your code way less prone to bugs. I've been using it for all my project since last year.
- But it is also a whole new language and devs have to use an external editor which remove all of the team create features that comes with roblox's script editor. There's also the fact that most games are being worked on in luau, which mean that, if you want a job in a roblox based dev team, you're way more likely to code in Luau than Rbxts.
@@fabuss254 nah luas a classic been using it for a long time got many memories with damn bugs and glitches
Agreed - People don't seem to be very open mind though.
Yeah seems like it's gonna take a few years or maybe even a decade for this to become something you can focus on
@@aeea3306 Roblox can change things overtime so if they add good features to make developing your game easier or writing code better ways then most people will use that feature. And I'm pretty sure that can effect RbxTS poplarity.
i think imma stay on lua since i have never used typescript before and vs code can be quite annoying sometimes
I think I’ll stick to lua for now.
Same😅
me too
Very good tutorial - I’ve been looking for ways to finally start learning other languages besides Luau that can help me start getting more exposure to the outside coding world, and I think this is a very good bridge to that.
If only C or C++ was available to be translated to Roblox Luau... I would use.
I think that might exist.
Lua was built of C....
A lot of the core functionality the Roblox engines are in C++
Making a transpiler from C or C++ into Lua, or even harder, LuaU would be a nightmare. I do see it as a possibility years into the future though
@@MisterrVi Yeah, but we could basically have turn the full circle, C -> Lua -> C (maybe running on some fictional architecture or even directly assembled to Lua code). I think LuaU would suit that job since it already has some basic typing system. For example:
int add(int x, int y);
function(x: number, y: number): number
The disadvantage is that C has integer sizes like int32_t or int8_t and Lua or LuaU does not. Some keywords like "asm" or the intrinsics would be useless (since it's C to Lua).
Also, using some fictional MISC virtual CPU would take its toll on performance and runtime integration. But it's a fun idea.
I believe there are some group of people making tools for it, so far I have seen Roblox-PY and Roblox-CS (C#). Soon we might get C/C++ as well!
i dont know about luau but you can (somehow) transpile c/c++ to lua, it's been done with gameguardian at least once
wish we had an ML language that can transpile to luau
I use TS for some small projects, but the key thing with it also it SHORTENS the length of your code and reduces the amount of bugs, by shortening code as if your writing a script, if you were to write it with TS, it is much faster and saves time which is why I love TS!
Cool video! The average Roblox scripter might still resort to Lua since they feel like learning a whole new language is either overwhelming for them or that it will take a bit of time to fully learn it, but I can guarantee that once you learn it you'll never want to go back 😅
I have some tutorials on my channel for anyone who wants to go deeper into Roblox-TS, although I haven't finished all the episodes yet.
1:01 microsoft edge jumpscare
asdfsfdafdsadfs
If you are googling on Google then what do you do on Microsoft edge….?
@@arctalgamez you bing chilling
If anything it would be a downside to using typescript as all roblox-ts does is compile type script to lua code. This would also make debugging a pain as any error message you would see in the console would be for the parsed lua code, not the typescript code. For example, If i have a typo on line 5 in typescript, lua could say i have an error on line 32, Which can slow down the development progress.
Yes, it compiles typescript to lua, but it follows the laws of typescript meaning that you get the protection of typescript (Remember typescript typically compiles to javascript), personally I have not found debugging with roblox-typescript difficult but like mentioned in the video it can be challenging sometimes.
Just learn Luau types... I don't understand why JavaScript stans always want to add JavaScript to everything. It sucks.
Well, TypeScript is known for its static typing paradigm, which makes it more stable and allows it to catch typing errors at compile time and prevent typing-based bugs and errors.
Also, Javascript is a very well known language, many more people know how to use it than to use Lua, and some of Lua's features are unintuitive to users of other programming languages, so it makes sense that people will want a method to program Roblox games with Javascript, and maintain the static typing of Typescript, so just using Typescript makes sense.
yeah I think ill use continue lua
imo the external editor plugins you get with vscode, types, react jsx to lua??? thats just a no brainer
i would try a other programming language if there was any available on roblox but i started with lua and it's been almost 5 years idk if i can spend more time to learn another programming language
I would recommend it. Learning a new language isn't too hard as the core concepts are still there, the syntax is just a bit different. I started with luau and it made learning other languages easier. I prefer statically typed languages now as it results in less bugs and I like intellesense when it's there.
python would probably be a better option, a bit similar to lua but python makes more sense for me
I've always thought roblox was a bad platform to learn programming on because of how different lua, and especially luau is from other languages and how isolated its use is (pretty much just roblox). I like the idea of allowing young devs on roblox use a more widely used language, with static typing being a big bonus. But typescript just being an interpreter without in language debugging kinda sucks, brand new programmers will still have to first learn lua, which could be considered either a good or bad thing depending on their goals
LuaU is pretty similar to Lua, the only main differences are performance optimisations and the lack of JIT compilation to maintain compatibility, other than that there are only small syntactical changes that aren't too hard to adjust to using.
Also, Lua has many advantages to other languages in many fields, it is a perfect language to embed in software, or use in embedded systems, it is the language of choice of many games and programs that offer extensibility through plugins, or user created content such as on Roblox.
Cool I'll try it!
I see this coming in handy, lua is not my most known coding language out there, however I really I am an expert in luau! I wanted to code in roblox and this is one of my chances, beautiful tutorial however I understand what's the reason for not using this learning a new language is very stupid and well roblox, has one of the easiest coding language's out there!
This over complicates the process requiring you to know how to configure the json be slightly established in VSCode and learn git functionality.
This should be noted in this video, you will also require to know LUAU more extensively than in a ROBLOX editor especially in terms of classes and instances as VSCode is no longer going to refer you the correct code.
This is also not very productive on low end machines to note also.
Have you heard of Luau types and --!strict?
It's not strict enough
@@DexxterDax fun fact: even the typescript compiler itself compiles TypeScript code that even has a type error to JavaScript by default, it just emits errors.
So you're basically saying: I know that I'm blocking my update that might work perfectly fine, but Roblox TypeScript will delay it anyways.
Luau with types and --!strict is essentially what (not Roblox TypeScript) TypeScript (the one used in NodeJS and Web environments) on default settings is.
@@betapacket Luau's typing is far more limiting compared to typescript's which is the primary core feature to why using ts instead of luau.
You can't extends generics, you can't filter types procedurally, Class aren't native in luau which makes OOP a pain, Retrieving return type or parameter type of a function isn't possible, keyof isn't supported (atm), there's only one type which is table while ts requires you to be more explicit on the way you structure your data.
Couple that to all the features that comes with ts like interface, native promise support, classes, decorators, which in a sense gives much more than just turning on "--!strict" at line 1 of your script.
meh at start I was excited to learning it but then I didn't like compiled results, and how unpopular its
How to make a givegamepass command in Roblox studio ?
How to maka a transfere data in another game (command) in Roblox studio
ts make your game slow and memory leaks
Give basic typescript tutorial
Luas better and you can do this
local part : BasePart
I dont even know what lua is
what’s the point of it I ain’t wasting my time doing all of this when I can just learn and script the normal my opinion if you already learned everything don’t do this if your starting i recommend I’m not gonna do it since I didn’t learn everything for nothing but yea (no argument guys)
The point of it is that Typescript offers static typing, a form of giving types to values that restrict what type of value they can hold, and static typing specifically is when it needs to know the allowed types when the code is compiled into a format that can be run, that way you don't accidentally use strings instead of numbers or something. It's a good trait for some languages and for others it doesn't make too much sense, for Roblox it makes quite a lot of sense to use static typed languages.
And yes, I agree that beginners should start out with Lua itself and learn the in and outs of LuaU, then they can use other IDEs, Rojo, and other languages.
no
nty id rather use luau
Show us how to make Gore realistic gore pleasee
spam random gradient cylinders
I would say it is reasonably simple to make, just find some good textures for materials such as flesh, skin, muscles, bones and blood and then go over some basic human/animal anatomy and then build! Just place the materials in places that are correct or very close to correct and try to replicate shapes, then that's it! Remember randomness is good, but don't overdo it, humans aren't very good at randomness and too much of it will end up making patterns. If a part looks imperfect then that can be good, this is gore, someone may have been disfigured so their body will look pretty unnatural and weird.
@@ItsThatOneJack can you make a video about it please
Why would you do that
Because Typescript offers static typing, a form of giving types to values that restrict what type of value they can hold, and static typing specifically is when it needs to know the allowed types when the code is compiled into a format that can be run, that way you don't accidentally use strings instead of numbers or something. It's a good trait for some languages and for others it doesn't make too much sense, for Roblox it makes quite a lot of sense to use static typed languages.
hmmm
most exploits use luau btw
the exploits fat one
Nah im staying with luau
idek what lua is :[
Its the coding language roblox uses..
@@Bop13Music oohhh
@@DarzTheGuy yeah, lol
Bait
ok
3 Hours, lol!
I don't want to be rude but I don't like watching a copycat of Yappatron Machine 2000 aka Parlo the King of the Kingdom of Yappatronia.
Im early :D
First
now i want lua -> python/ts/js
oh god
no