These Properties Are Common (but underrated)

Sdílet
Vložit
  • čas přidán 7. 12. 2023
  • 50% OFF COUPON WITH "DOUBLEBYTE" (ends in 3 days):
    linktr.ee/ByteBlox
    To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/ByteBlox
    You’ll also get 20% off an annual premium subscription!
    discord: / discord
    wondered how to make a main menu in roblox studio? or how to create a shop which has working GUI? ive made lots of 2024 roblox scripting tutorials about all the different bits of roblox to give you some up-to-date information about all of its properties and events.
    my goal is to simply give some insight on how to use the various features and instances roblox studio, and show you some fun stuff you can do with them. thanks for checking out this roblox scripting tutorial :)
  • Jak na to + styl

Komentáře • 100

  • @byteblox100
    @byteblox100  Před 7 měsíci +6

    Create a tool for our community Christmas combat game!❄(or dont your choice)
    discord.gg/ay5gc9XcAh

  • @wingest
    @wingest Před 7 měsíci +58

    are these the two game changing properties? lets find out.

    • @artemos-sx1pu
      @artemos-sx1pu Před 7 měsíci +17

      stares into your soul for 120 minutes

    • @CiaosonoMemosoo
      @CiaosonoMemosoo Před 7 měsíci +2

      *epic music plays *

    • @JuiceyDev
      @JuiceyDev Před 7 měsíci

      i mean it does change the game a little bit lol

    • @thefireph0enix
      @thefireph0enix Před 25 dny

      *proceeds to not find out and stare into your soul instead*

  • @deluxe_1337
    @deluxe_1337 Před 7 měsíci +24

    Attributes are a godsend. It's so much nicer than having to create and manage individual instances for values.

    • @Ouch-fu7sl
      @Ouch-fu7sl Před 7 měsíci

      Sometimes you still need theese value Instances regardless that tags and attributes much better and etc.

  • @tower9602
    @tower9602 Před 7 měsíci +13

    Here is why you actually when possible use attributes instead of values:
    Values are Instances and essentially contain everything what It's inherited. Functions, properties etc. Unlike attributes which contain only 1 value. Attributes will be way more efficient when it comes to storing values into them during runtime (essentially in ram).
    And a little note about tags:
    Tags are used to collect Instances of the same type (AKA: Collection Service). It's useful when you have a bunch of death parts and instead of putting death script into each part you can just tag them and later during initial setup collect them and copy scripts into.

    • @renegade462
      @renegade462 Před 7 měsíci

      I havent seen you a long time

    • @tower9602
      @tower9602 Před 7 měsíci

      @@renegade462 are you spying on me?

    • @renegade462
      @renegade462 Před 7 měsíci

      No i just didnt see you a long time on the gas server

    • @tower9602
      @tower9602 Před 7 měsíci

      @@renegade462 oh, idk mate just there is a lot of people talking to me still from that community lol

  • @Fodnex
    @Fodnex Před 7 měsíci +6

    Fun fact when i tried using roblox script AI i typed in "-- I ate a cat" and it added " and 2 dogs to make this work."

  • @byteblox100
    @byteblox100  Před 7 měsíci +5

    i made a newsletter btw, sign up for advice, assets, and to help me grow my evil capitalistic empire >:)
    byteblox.ck.page/c2af95d792

  • @BrawlDevRBLX
    @BrawlDevRBLX Před 7 měsíci

    Woah you've been blowing up recently. Keep up the great work! ;)

  • @kingswag7
    @kingswag7 Před 7 měsíci +1

    Keep making these types of videos I love these

  • @harryvpn1462
    @harryvpn1462 Před 5 měsíci

    3:11 It's much easier to visualize for other scripters since they'll just show up in the explorer while attributes are hidden at the bottom of a menu, I personally use a mix of both
    Also currently, you can't set an attribute to an instance, thats unique to instance object values
    And this is a way more niche use but you can tween object values but not attributes

  • @ConnorWhite-hz7st
    @ConnorWhite-hz7st Před 7 měsíci +1

    I can see multiple perspectives. First of all, having something physical to represent a variable is such a godsend because you don't have to look through each and every part in the workspace, replicatedstorage, serverstorage, replicatedfirst, etc. and scroll down to see the properties over and over again when you can just right click: get children, and see everything visibly in a cohesive area. Personally, I use variable instances, not only because I and the community are used to them, but also because I don't have to constantly remember on the back of my mind that a script has something when I can just check physically in the same exact tree parent/children structure that is used for the game.

    • @byteblox100
      @byteblox100  Před 7 měsíci +1

      That’s fair. I guess it all just boils down to code simplicity

  • @t00k1
    @t00k1 Před měsícem

    BRO TYSM ALL OF UR VIDEOS HELPED ME SO MUCH AND MADE ME DISCOVER SO MUCH THINGS. THANK YOU SO MUCH KEEP UP THE GOOD WORK

  • @RodyTheRoad
    @RodyTheRoad Před 7 měsíci +5

    I didn't touch tags and attributes until I started my first project from scratch (which is the one I'm currently working on).
    I first ended up using tags for my gameplay's tagging system (is that why they're called tags?), and attributes for my custom Proximity Prompt which was able to display everything I wanted, even the colors!! I still find it mind-blowing knowing that I used to add like a million string or bool values for the same effect

    • @jso1
      @jso1 Před 7 měsíci

      yes its very convenient. there could also be a way to prevent exploits by for example if you have multiple remote events, you can add a tag of what the name is to check what it controls instead of checking the name. this means that you dont have to name your remote events and it would be much harder for exploiters to exploit the event. at least thats my idea.

    • @uliveulearnandregret
      @uliveulearnandregret Před 7 měsíci

      in the eyes of Unreal Engine and C++ I think of tags like Booleans they are on when they are on the object, and off if they simply don't exist, and you can still code some cool functions and functionality based around them

    • @masteranimation2008
      @masteranimation2008 Před 7 měsíci

      Back in 2008, that's all we had for sharing values between scripts (if you didn't know about _G). Perfectly reasonable.

  • @MissinginAction
    @MissinginAction Před 7 měsíci +7

    this is what goo animal simulator uses for their item and player code, and its really nice. eg; if a player dies, in the attributes for the item that killed them (if any), there is an attribute that specifies if it will play an animation. this is how the cleaver and axe do custom animations for player ragdolls. their animation system is also really unique, using stored poses for each frame instead of traditional keyframe or cframe.

    • @MissinginAction
      @MissinginAction Před 7 měsíci +1

      the animation system also uses values for in/out, individual limb infection (if needed), etc.

  • @pomiw
    @pomiw Před 7 měsíci

    the reason why i use instance values is because they're just easy to copy and paste and move around. exploiting is basically dead at this point with byfron introduced, even then, it's just poor management if you allow your values to be easily messed up by exploits. i do understand that it does clog up the workspace, but i guess it's really just personal preference

  • @QUBIQUBED
    @QUBIQUBED Před 7 měsíci

    Wish I knew about Tags earlier, thanks!!

  • @dodoseal
    @dodoseal Před 3 měsíci

    7:10 You were checking if the part had the tag then returning if it did. This ended the script before it could register the click event.

  • @scriptshowcasechannel4515
    @scriptshowcasechannel4515 Před 7 měsíci

    Exploits can modify literally anything on the client, tags, attrubutes, delete parts, rename parts, ect.. apart from editting local scripts, accessing anything to do with the server like serverstorage, but any changes won't be visible to other players or the server unless it is a part that you have network ownership of (your own character, some part that you're standing on). I believe the only thing you can change with network ownership parts is their position, and with characters their position and deleting things.
    With roblox's anticheat, the only thing you need to do is bypass the injection detecting systems, then you can do normal non-anticheat exploit stuff.

    • @ben252
      @ben252 Před 7 měsíci

      Yeah like checking for stuff like Dex or RemoteSpy

  • @dareal738
    @dareal738 Před 7 měsíci +3

    Tags can be modified by the client, but it won't replicte to the server

  • @skyescrap
    @skyescrap Před 7 měsíci +1

    Hey, would you be able to make a tutorial on how to keep assets loaded at all times?

  • @Tamla1959
    @Tamla1959 Před 7 měsíci

    you forgot about collision groups, thats pretty game changing im sure :)

  • @Mex-ge9kj
    @Mex-ge9kj Před 6 měsíci

    I saw the sub button light up :)

  • @gmelhortablet
    @gmelhortablet Před 5 měsíci

    tags kinda remind me of html/css classes/ids and attributes is lil bit like variables

  • @haxking2352
    @haxking2352 Před 7 měsíci

    Would it be a good idea to store stuff like player states (blocking for example) in attributes and in module scripts at the same time? Module scripts are convenient for getting values and attributes are convenient for replication but idk if both at once is a good practice

  • @frinkifail7063
    @frinkifail7063 Před 7 měsíci +2

    aughhhh shiver me lua

  • @BIoxby
    @BIoxby Před 7 měsíci

    how have i never even looked at these?? all i did was gloss over them and thought they were useless

  • @randomb_oi8787
    @randomb_oi8787 Před 7 měsíci +1

    The only value object still use is the ObjectValue because I don't believe there is an attribute counterpart for it

    • @XaneMyers
      @XaneMyers Před 7 měsíci

      Me too. I think I'm using an IntValue to automatically replicate a countdown to a client (as that just requires giving them a reference to the instance then it has to use its Changed event), but I could replace that with attributes.
      Roblox needs to add attributes that reference instances. Once they're a thing, value objects will become the old way of storing information in instances.

  • @BunnlyGames
    @BunnlyGames Před 3 měsíci

    I forget these exist.

  • @pyrosfere
    @pyrosfere Před 7 měsíci +2

    I started using attributes instead of values some time ago after I was on a fps and using dex explorer I saw that I could change the values to exploit, but I couldn't mess with attributes, so I started using attributes for everything, mainly tools and kept the values only in server storage.
    great video btw

    • @dumpstring
      @dumpstring Před 7 měsíci

      sir, the attributes and their values are hidden by default in dex, you have to check some stuff to make it work.

    • @pyrosfere
      @pyrosfere Před 7 měsíci

      @@dumpstring when i mean "I couldn't mess with attributes", i meant that i knew the game had attributes but i couldn't see them, therefore i couldn't mess with them.

    • @dumpstring
      @dumpstring Před 7 měsíci

      Yeah, the attributes are hidden until you check the button in dex. @@pyrosfere

    • @CoolGermanGuy
      @CoolGermanGuy Před 7 měsíci

      technically you could still make some sort of loop or something to get every info about something@@pyrosfere

  • @enigma4370
    @enigma4370 Před 7 měsíci

    I’ve subconsciously stopped using values and replaced them with attributes 😂

  • @Sadjhj
    @Sadjhj Před 7 měsíci +1

    They didn’t light up but they did for other videos on my end

    • @byteblox100
      @byteblox100  Před 7 měsíci

      I noticed that as well. CZcams has something against me lmao

  • @4rthurlmao
    @4rthurlmao Před 7 měsíci

    cool

  • @Wolfpolie2006
    @Wolfpolie2006 Před 7 měsíci

    Wow

  • @Ralseee
    @Ralseee Před 4 měsíci +1

    values are better, way easier to use tbh

  • @moharexx3128
    @moharexx3128 Před 7 měsíci

    6:40 didnt work cuz return was used outside a function, thus ending the script before connecting a function to the click event

    • @byteblox100
      @byteblox100  Před 7 měsíci

      I actually never knew you could return a script, that’s good to kkow

  • @13physc
    @13physc Před 7 měsíci

  • @truarrogancex
    @truarrogancex Před 7 měsíci

    hi

  • @d4sty.
    @d4sty. Před 7 měsíci

    do you know if the attributes can be changed from local scripts?

    • @Tkdriverx
      @Tkdriverx Před 7 měsíci +3

      They can be changed, but are not replicated to the server.

    • @epixerty
      @epixerty Před 7 měsíci

      yeah, but only other local scripts will be able to see the changes, and if it's changed from the server it will be overwritten

  • @jaszczurka5069
    @jaszczurka5069 Před 7 měsíci +3

    exploiters can change attributes and tags but those things doesn't replicate to the server.

  • @EnesTheSus
    @EnesTheSus Před 7 měsíci

    yes sir
    sir gud vid
    yes yes yes
    YES

    • @scriptshowcasechannel4515
      @scriptshowcasechannel4515 Před 7 měsíci

      Bro is the online embodiment of skibidi toilet kids

    • @EnesTheSus
      @EnesTheSus Před 7 měsíci

      @@scriptshowcasechannel4515 ?
      what are u trying to mean
      and if ur trying to say me a skibidi toilet fan im not

  • @madnessmyth
    @madnessmyth Před 6 měsíci

    wahh it didn't go rainbow mode :((((( the like button

    • @madnessmyth
      @madnessmyth Před 6 měsíci

      i think its at the end of videos

  • @execute214
    @execute214 Před 7 měsíci

    what's the channel's discord server?

  • @ChimkenCucumber
    @ChimkenCucumber Před 7 měsíci

    hehehehe

  • @conkerious
    @conkerious Před 7 měsíci

    the like button didn't light up for me

  • @Vorthex3
    @Vorthex3 Před 7 měsíci +1

    Soft bodies in the future?

    • @epixerty
      @epixerty Před 7 měsíci

      wdym there are no soft bodies

    • @Fodnex
      @Fodnex Před 7 měsíci

      I think it will never be possible in roblox

    • @XaneMyers
      @XaneMyers Před 7 měsíci +1

      I think developers could fake soft-body shapes using rigged meshes with SmartBone. Usually, that module is used for hair and capes, but it's probably pretty versatile.

    • @Vorthex3
      @Vorthex3 Před 7 měsíci

      @@epixerty Put bones in a mesh and some scripts then ur gonna have soft body mesh

    • @epixerty
      @epixerty Před 7 měsíci

      @@Vorthex3 yeah i know but you can't make efficient softbodies because roblox doesn't have that feature

  • @namething-qy5rq
    @namething-qy5rq Před 7 měsíci

    I love watching on mobile (it doesnt work there)

    • @susguy446
      @susguy446 Před 7 měsíci +1

      It works if you use the mobile website

    • @namething-qy5rq
      @namething-qy5rq Před 7 měsíci

      @@susguy446 ok but who does

    • @susguy446
      @susguy446 Před 7 měsíci

      @@namething-qy5rq I use it

  • @samuraidog
    @samuraidog Před 7 měsíci

    how long have you been scripting

    • @byteblox100
      @byteblox100  Před 7 měsíci +1

      3 years I think

    • @samuraidog
      @samuraidog Před 7 měsíci

      @@byteblox100 then how on EARTH did you not immediately understand that the part:HasTag("Button") caused the script not to work

    • @byteblox100
      @byteblox100  Před 7 měsíci

      I learned tags like two days ago lmao

    • @samuraidog
      @samuraidog Před 6 měsíci

      @@byteblox100 return too?

    • @il1ekp1e4
      @il1ekp1e4 Před 6 měsíci

      learning tags isn't an excuse, that type of statement is widely used lmao

  • @kouchka09
    @kouchka09 Před 7 měsíci +1

    the like and subscribe button doesnt glow for me

    • @QUBIQUBED
      @QUBIQUBED Před 7 měsíci

      search up 'rainbow subscribe and liek button' or 'smash that like button' and you might find somethin

  • @cbob81514
    @cbob81514 Před 7 měsíci

    Dude do you know return does? Bruh.

    • @byteblox100
      @byteblox100  Před 7 měsíci +1

      Yeah it returns or smth

    • @QUBIQUBED
      @QUBIQUBED Před 7 měsíci

      @@byteblox100 I think return returns or somethin

    • @XaneMyers
      @XaneMyers Před 7 měsíci +1

      ​@@byteblox100The return keyword stops code execution, which kept Roblox from connecting that function to the click event in the video.
      Usually, *return* is useful when writing functions or OOP class methods. It not only provides an easy way to keep the function from running if an invalid argument is given to it, but also lets the function give back data to its caller.