STOP USING LUA... Use ROBLOX TS instead!

Поділитися
Вставка
  • Опубліковано 9 вер 2024

КОМЕНТАРІ • 78

  • @fabuss254
    @fabuss254 Місяць тому +25

    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.

    • @collectorXVIII
      @collectorXVIII Місяць тому

      @@fabuss254 nah luas a classic been using it for a long time got many memories with damn bugs and glitches

    • @cookietechrblx
      @cookietechrblx  Місяць тому

      Agreed - People don't seem to be very open mind though.

    • @aeea3306
      @aeea3306 Місяць тому

      Yeah seems like it's gonna take a few years or maybe even a decade for this to become something you can focus on

    • @YieldingBULLDOGS_LegitGuy
      @YieldingBULLDOGS_LegitGuy Місяць тому

      ​@@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.

    • @justskills5037
      @justskills5037 28 днів тому

      i think imma stay on lua since i have never used typescript before and vs code can be quite annoying sometimes

  • @mrchaostaco
    @mrchaostaco Місяць тому +49

    I think I’ll stick to lua for now.

  • @kondo-ii
    @kondo-ii Місяць тому +13

    If only C or C++ was available to be translated to Roblox Luau... I would use.

    • @cookietechrblx
      @cookietechrblx  Місяць тому +1

      I think that might exist.

    • @MisterrVi
      @MisterrVi Місяць тому +5

      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

    • @kondo-ii
      @kondo-ii Місяць тому +3

      @@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.

    • @coolergate
      @coolergate Місяць тому

      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!

    • @gamersunite9026
      @gamersunite9026 28 днів тому

      i dont know about luau but you can (somehow) transpile c/c++ to lua, it's been done with gameguardian at least once

  • @rofishy
    @rofishy Місяць тому +6

    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.

  • @execute214
    @execute214 24 дні тому +2

    wish we had an ML language that can transpile to luau

  • @k2_nzYTR
    @k2_nzYTR 24 дні тому +1

    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!

  • @coolergate
    @coolergate Місяць тому +2

    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.

  • @JeLeff.
    @JeLeff. Місяць тому +14

    1:01 microsoft edge jumpscare

    • @dirhi
      @dirhi Місяць тому

      asdfsfdafdsadfs

    • @arctalgamez
      @arctalgamez Місяць тому

      If you are googling on Google then what do you do on Microsoft edge….?

    • @vex_scr
      @vex_scr 27 днів тому

      @@arctalgamez you bing chilling

  • @masteranimation2008
    @masteranimation2008 29 днів тому +3

    Just learn Luau types... I don't understand why JavaScript stans always want to add JavaScript to everything. It sucks.

    • @ItsThatOneJack
      @ItsThatOneJack 27 днів тому

      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.

  • @Tommy_Catz
    @Tommy_Catz Місяць тому +2

    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.

    • @cookietechrblx
      @cookietechrblx  Місяць тому

      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.

  • @collectorXVIII
    @collectorXVIII Місяць тому +5

    yeah I think ill use continue lua

  • @AggelosAnimations-y3h
    @AggelosAnimations-y3h Місяць тому +2

    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

    • @Jaysinxe_
      @Jaysinxe_ 29 днів тому

      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.

    • @zai_ry11
      @zai_ry11 24 дні тому

      python would probably be a better option, a bit similar to lua but python makes more sense for me

  • @zxibs3645
    @zxibs3645 День тому

    imo the external editor plugins you get with vscode, types, react jsx to lua??? thats just a no brainer

  • @BarSeed
    @BarSeed Місяць тому +4

    Cool I'll try it!

  • @decouple
    @decouple 27 днів тому

    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

    • @ItsThatOneJack
      @ItsThatOneJack 27 днів тому

      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.

  • @Clyferf
    @Clyferf 29 днів тому

    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!

  • @betapacket
    @betapacket Місяць тому +4

    Have you heard of Luau types and --!strict?

    • @DexxterDax
      @DexxterDax Місяць тому +1

      It's not strict enough

    • @betapacket
      @betapacket Місяць тому

      @@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.

    • @fabuss254
      @fabuss254 Місяць тому

      @@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.

  • @Smurfis
    @Smurfis Місяць тому

    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.

  • @Roxaro
    @Roxaro 6 днів тому

    meh at start I was excited to learning it but then I didn't like compiled results, and how unpopular its

  • @AntoineMichaux-kr5pr
    @AntoineMichaux-kr5pr 26 днів тому

    How to make a givegamepass command in Roblox studio ?

  • @AntoineMichaux-kr5pr
    @AntoineMichaux-kr5pr 26 днів тому

    How to maka a transfere data in another game (command) in Roblox studio

  • @TrungTran-kg2jt
    @TrungTran-kg2jt 26 днів тому

    ts make your game slow and memory leaks

  • @cirel0114
    @cirel0114 Місяць тому

    Give basic typescript tutorial

  • @Alt659
    @Alt659 Місяць тому

    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)

    • @ItsThatOneJack
      @ItsThatOneJack 27 днів тому

      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.

  • @JX2JJOE
    @JX2JJOE 18 днів тому +1

    no

  • @jessicadillon6667
    @jessicadillon6667 29 днів тому

    I dont even know what lua is

  • @NaraSherko
    @NaraSherko Місяць тому

    Luas better and you can do this
    local part : BasePart

  • @mathiashansen2424
    @mathiashansen2424 29 днів тому

    Why would you do that

    • @ItsThatOneJack
      @ItsThatOneJack 27 днів тому +1

      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.

  • @AbdallahAlwahiedi
    @AbdallahAlwahiedi Місяць тому

    Show us how to make Gore realistic gore pleasee

    • @vex_scr
      @vex_scr 27 днів тому

      spam random gradient cylinders

    • @ItsThatOneJack
      @ItsThatOneJack 27 днів тому

      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.

    • @AbdallahAlwahiedi
      @AbdallahAlwahiedi 25 днів тому

      @@ItsThatOneJack can you make a video about it please

  • @OpankiOFFICIAL
    @OpankiOFFICIAL Місяць тому

    hmmm

  • @Ridi3d
    @Ridi3d Місяць тому +9

    nty id rather use luau

  • @guy2870
    @guy2870 28 днів тому

    Bait

  • @mlp_srp
    @mlp_srp 23 дні тому

    most exploits use luau btw

    • @costo.
      @costo. 22 дні тому

      the exploits fat one

  • @BTM_notBTS
    @BTM_notBTS Місяць тому

    Nah im staying with luau

  • @curropt-W
    @curropt-W Місяць тому +1

    ok

  • @gamingwithlilabe3711
    @gamingwithlilabe3711 Місяць тому +1

    3 Hours, lol!

  • @DarzTheGuy
    @DarzTheGuy Місяць тому +1

    idek what lua is :[

    • @Bop13Music
      @Bop13Music Місяць тому +2

      Its the coding language roblox uses..

    • @DarzTheGuy
      @DarzTheGuy Місяць тому +1

      @@Bop13Music oohhh

    • @Bop13Music
      @Bop13Music Місяць тому +1

      @@DarzTheGuy yeah, lol

  • @Bop13Music
    @Bop13Music Місяць тому +1

    Im early :D

  • @expiredfoodthief
    @expiredfoodthief 28 днів тому

    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.

  • @reminderIknows
    @reminderIknows Місяць тому +1

    now i want lua -> python/ts/js

  • @Robert-tp1gw
    @Robert-tp1gw Місяць тому +1

    First

  • @MaxBaxPamparapa
    @MaxBaxPamparapa 24 дні тому

    no