STOP USING LUA... Use ROBLOX TS instead!

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

ความคิดเห็น • 82

  • @fabuss254
    @fabuss254 2 หลายเดือนก่อน +29

    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 2 หลายเดือนก่อน +1

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

    • @cookietechrblx
      @cookietechrblx  2 หลายเดือนก่อน

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

    • @aeea3306
      @aeea3306 2 หลายเดือนก่อน

      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 2 หลายเดือนก่อน

      ​@@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 2 หลายเดือนก่อน

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

  • @rofishy
    @rofishy 2 หลายเดือนก่อน +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.

  • @mrchaostaco
    @mrchaostaco 2 หลายเดือนก่อน +51

    I think I’ll stick to lua for now.

  • @k2_nzYTR
    @k2_nzYTR 2 หลายเดือนก่อน +2

    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!

    • @6Zub
      @6Zub หลายเดือนก่อน

      i have the exact opposite.
      class ProceduralMovement {
      private properties: {
      basePart: BasePart;
      legs: number;
      legSegments: number;
      legHeight: number;
      bodyHeight: number;
      objects?: { [key: string]: { [key: string]: Part } };
      };
      constructor(properties: {
      basePart: BasePart;
      legs: number;
      legSegments: number;
      legHeight: number;
      bodyHeight: number;
      }) {
      this.properties = properties;
      }
      vs
      function ProceduralMovement:New(properties)
      local newInstance = setmetatable({}, self)
      newInstance.properties = properties;
      return newInstance
      end

  • @kondo-ii
    @kondo-ii 2 หลายเดือนก่อน +14

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

    • @cookietechrblx
      @cookietechrblx  2 หลายเดือนก่อน +1

      I think that might exist.

    • @MisterrVi
      @MisterrVi 2 หลายเดือนก่อน +6

      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 2 หลายเดือนก่อน +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 2 หลายเดือนก่อน

      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 2 หลายเดือนก่อน

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

  • @masteranimation2008
    @masteranimation2008 2 หลายเดือนก่อน +6

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

    • @ItsThatOneJack
      @ItsThatOneJack 2 หลายเดือนก่อน +1

      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.

  • @coolergate
    @coolergate 2 หลายเดือนก่อน +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.

  • @Tommy_Catz
    @Tommy_Catz 2 หลายเดือนก่อน +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  2 หลายเดือนก่อน

      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.

  • @AggelosAnimations-y3h
    @AggelosAnimations-y3h 2 หลายเดือนก่อน +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_ 2 หลายเดือนก่อน

      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 2 หลายเดือนก่อน

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

  • @decouple
    @decouple 2 หลายเดือนก่อน

    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 2 หลายเดือนก่อน

      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.

  • @JeLeff.
    @JeLeff. 2 หลายเดือนก่อน +14

    1:01 microsoft edge jumpscare

    • @dirhi
      @dirhi 2 หลายเดือนก่อน

      asdfsfdafdsadfs

    • @arctalgamez
      @arctalgamez 2 หลายเดือนก่อน

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

    • @fizzycola234
      @fizzycola234 2 หลายเดือนก่อน

      @@arctalgamez you bing chilling

  • @zxibs3645
    @zxibs3645 หลายเดือนก่อน

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

  • @execute214
    @execute214 2 หลายเดือนก่อน +2

    wish we had an ML language that can transpile to luau

  • @Smurfis
    @Smurfis 2 หลายเดือนก่อน

    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.

  • @MainLou999
    @MainLou999 29 วันที่ผ่านมา +1

    I don’t understand why is this better than Luau 😅😅.

  • @Clyferf
    @Clyferf 2 หลายเดือนก่อน

    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!

  • @Beeslemon4
    @Beeslemon4 4 วันที่ผ่านมา

    how do i fix this error?
    rojo : The term 'rojo' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
    try again.
    At line:1 char:1
    + rojo plugin install
    + ~~~~
    + CategoryInfo : ObjectNotFound: (rojo:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

  • @collectorXVIII
    @collectorXVIII 2 หลายเดือนก่อน +6

    yeah I think ill use continue lua

  • @betapacket
    @betapacket 2 หลายเดือนก่อน +4

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

    • @DexxterDax
      @DexxterDax 2 หลายเดือนก่อน +1

      It's not strict enough

    • @betapacket
      @betapacket 2 หลายเดือนก่อน

      @@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 2 หลายเดือนก่อน

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

  • @Roxaro
    @Roxaro หลายเดือนก่อน

    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 2 หลายเดือนก่อน

    How to make a givegamepass command in Roblox studio ?

  • @BarSeed
    @BarSeed 2 หลายเดือนก่อน +4

    Cool I'll try it!

  • @AntoineMichaux-kr5pr
    @AntoineMichaux-kr5pr 2 หลายเดือนก่อน

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

  • @Alt659
    @Alt659 2 หลายเดือนก่อน

    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 2 หลายเดือนก่อน

      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.

  • @AbdallahAlwahiedi
    @AbdallahAlwahiedi 2 หลายเดือนก่อน

    Show us how to make Gore realistic gore pleasee

    • @fizzycola234
      @fizzycola234 2 หลายเดือนก่อน

      spam random gradient cylinders

    • @ItsThatOneJack
      @ItsThatOneJack 2 หลายเดือนก่อน

      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 2 หลายเดือนก่อน

      @@ItsThatOneJack can you make a video about it please

  • @TrungTran-kg2jt
    @TrungTran-kg2jt 2 หลายเดือนก่อน

    ts make your game slow and memory leaks

  • @NaraSherko
    @NaraSherko 2 หลายเดือนก่อน

    Luas better and you can do this
    local part : BasePart

  • @jessicadillon6667
    @jessicadillon6667 2 หลายเดือนก่อน

    I dont even know what lua is

  • @cirel0114
    @cirel0114 2 หลายเดือนก่อน

    Give basic typescript tutorial

  • @mathiashansen2424
    @mathiashansen2424 2 หลายเดือนก่อน

    Why would you do that

    • @ItsThatOneJack
      @ItsThatOneJack 2 หลายเดือนก่อน +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.

  • @JX2JJOE
    @JX2JJOE 2 หลายเดือนก่อน +1

    no

  • @Ridi3d
    @Ridi3d 2 หลายเดือนก่อน +9

    nty id rather use luau

  • @DarzTheGuy
    @DarzTheGuy 2 หลายเดือนก่อน +1

    idek what lua is :[

    • @Bop13Music
      @Bop13Music 2 หลายเดือนก่อน +2

      Its the coding language roblox uses..

    • @DarzTheGuy
      @DarzTheGuy 2 หลายเดือนก่อน +1

      @@Bop13Music oohhh

    • @Bop13Music
      @Bop13Music 2 หลายเดือนก่อน +1

      @@DarzTheGuy yeah, lol

  • @mlp_srp
    @mlp_srp 2 หลายเดือนก่อน

    most exploits use luau btw

    • @costo.
      @costo. 2 หลายเดือนก่อน

      the exploits fat one

  • @OpankiOFFICIAL
    @OpankiOFFICIAL 2 หลายเดือนก่อน

    hmmm

  • @curropt-W
    @curropt-W 2 หลายเดือนก่อน +1

    ok

  • @BTM_notBTS
    @BTM_notBTS 2 หลายเดือนก่อน

    Nah im staying with luau

  • @gamingwithlilabe3711
    @gamingwithlilabe3711 2 หลายเดือนก่อน +1

    3 Hours, lol!

  • @guy2870
    @guy2870 2 หลายเดือนก่อน

    Bait

  • @expiredfoodthief
    @expiredfoodthief 2 หลายเดือนก่อน

    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.

  • @Bop13Music
    @Bop13Music 2 หลายเดือนก่อน +1

    Im early :D

  • @Robert-tp1gw
    @Robert-tp1gw 2 หลายเดือนก่อน +1

    First

  • @reminderIknows
    @reminderIknows 2 หลายเดือนก่อน +1

    now i want lua -> python/ts/js

  • @MaxBaxPamparapa
    @MaxBaxPamparapa 2 หลายเดือนก่อน

    no