Functions - Roblox Beginners Scripting Tutorial #6 (2024)

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

Комментарии • 1,2 тыс.

  • @Cool82525
    @Cool82525 4 месяца назад +172

    this is the #6 episode and it feels like im genuinely learning instead of not actually learning anything

    • @JesseMinecraftXD
      @JesseMinecraftXD 4 месяца назад +5

      bro same

    • @Morktin
      @Morktin 4 месяца назад +2

      How are you doing so far?

    • @LeafWoT
      @LeafWoT 3 месяца назад +2

      Sameeee

    • @ValoSweat
      @ValoSweat 3 месяца назад +11

      @@Morktin pretty good my tactic is to watch the whole video but not copy the things he is doing but make them in my own way so i can experiment with them

    • @blaze27272
      @blaze27272 2 месяца назад +4

      print("i argee with this message")

  • @perfecttaxevasion9696
    @perfecttaxevasion9696 3 месяца назад +94

    local function MaterialInsecurity()
    Base.Material = "Mud"
    wait(5)
    Base.Material = "Neon"
    wait(5)
    Base.Material = "Plastic"
    print("BasePlate: I just like to try new materials! I am not insecure!")
    end
    MaterialInsecurity()
    loving these lessons

    • @Robloxion52
      @Robloxion52 2 месяца назад

      doesnt even work for me lol

    • @7A07Dave
      @7A07Dave Месяц назад

      after end, make 2 lines of space, then you can use the "MaterialIncecurity()" function

    • @perfecttaxevasion9696
      @perfecttaxevasion9696 Месяц назад

      @@7A07Dave K

    • @MasoRex415
      @MasoRex415 Месяц назад

      @@felixdecat8632 You don't need the game as the code work for only this game and not the other ones, you don't have 2 workspace folder and If you have you would just use folder:Workspace

    • @shinyspear-y5b
      @shinyspear-y5b Месяц назад

      @@felixdecat8632 oh thanks😃

  • @meetfambam2
    @meetfambam2 6 месяцев назад +242

    most underated roblox youtuber in the game rn

  • @Ggwinziscool
    @Ggwinziscool 4 месяца назад +31

    thank you! i make 2 scripts using a transparency and another using print
    local function Script()
    print("Welcome to my lively game!")
    print("Do you like it?!??!?!")
    print("Thank you!")
    end
    Script()
    and the other
    local MyPart = game.Workspace.PropertiesPart
    local function PartConfiguration()
    MyPart.Transparency = 0.5
    end
    PartConfiguration()

  • @JohnSminks
    @JohnSminks 5 месяцев назад +45

    Dude, this is so cool! I’ve always had an interest in making a roblox game, but I always thought of it as too complex for me, but I love how you break it down super simply and go slow and steady and don’t leave out anything

  • @Dusty_talesXD
    @Dusty_talesXD Месяц назад +3

    This series has been so helpful!!! I'm currently in middle school and am learning to script, because it has been my dream to learn to code and create a game. The two classes that I am in for computer science and coding haven't been helpful, but this series has taught me SO MUCH!! Keep working hard!!

  • @Knx-h1b
    @Knx-h1b Месяц назад +2

    bro i remember trying to learn code like a year ago by another youtuber, i was so stuck on functions that i had to rewatch the video twice and i still didnt understand, you made me understand in under 3 minutes. I instantly subscribed and liked this video. thank you :)
    anyways, here is the code
    local function randomcolor()
    workspace.Part.BrickColor = BrickColor.Random()
    wait(5)
    workspace.Part.BrickColor = BrickColor.Random()
    wait(5)
    workspace.Part.BrickColor = BrickColor.Random()
    wait(5)
    workspace.Part.BrickColor = BrickColor.Random()
    wait(5)
    end
    randomcolor()
    once again tysm :)

    • @camera2178
      @camera2178 5 дней назад

      Bro do NOT use wait()
      wait() is outdated and unreliable. When you type in wait(), Roblox literally warns you wait() is *deprecated* meaning it'll cause issues
      There's a new wait() that's called task.wait()
      It works much better and won't cause issues in scripts

  • @ItzRealImro
    @ItzRealImro 2 месяца назад +4

    W brawl dev!
    Anyways here is what i have been working on :D
    local function printThisHelps()
    task.wait(5)
    print("This")
    print("Helps")
    end
    game.Workspace.Baseplate.Material = "Carpet"
    local script = "enjoyable"
    print(script)
    local function printAgree()
    print("Agree")
    end
    task.wait(10)
    game.Workspace.Baseplate.Transparency = 0.5
    -- idk why i like writting these but combineing one of these scripts help
    print("true")
    -- copy and paste if u would like!

  • @evssie
    @evssie 4 месяца назад +5

    you explain everything so well!! the best scripting tutorial ive ever seen and you actually say WHY you are typing stuff. i have a big game project in mind and i want it to be "life changing" for roblox players. something thats replayable, where you'll always find something new to do. obviously i wont learn EVERYTHING i need for it from this tutorial but i belive most of my knowlage will come from here so tysm!!

  • @kankshithajb634
    @kankshithajb634 15 часов назад

    I genuinely think brawl dev is underrated fr. just to tell u brawl dev, NEVER GIVE UP ON UR CHANNEL JUST CUZ UR UNDERRATED... YOU'LL DEFINITELY BE A FAMOUS GUY SOMEDAY!!

  • @Star.knight
    @Star.knight 4 месяца назад +23

    3:13 learning English and scripting.

  • @XqlWasTaken
    @XqlWasTaken 4 месяца назад +22

    thanks so much for the lesson after i complete your series im gonna upload one where people give me ideas to add to a game to practice!: --Variables--
    local box = game.workspace.Crate
    --Functions--
    local function changetransparency()
    wait(0.5)
    box.transparency = 0.2
    wait(0.5)
    box.transparency = 0.4
    wait(0.5)
    box.transparency = 0.6
    wait(0.5)
    box.transparency = 0.8
    wait(0.5)
    box.transparency = 1
    end
    changetransparency()
    changetransparency()
    changetransparency()
    print("done")

    • @SandRandom
      @SandRandom 2 месяца назад +1

      why did you added "wait(0.5)"?

    • @avishyyakobov
      @avishyyakobov 2 месяца назад

      @@SandRandom "wait" basically tells roblox to wait X time between lines

    • @SandRandom
      @SandRandom 2 месяца назад +1

      @@avishyyakobov Thanks!

    • @avishyyakobov
      @avishyyakobov 2 месяца назад +2

      @@SandRandom i recommend you to use task.wait(x) thats more exact time

    • @SandRandom
      @SandRandom 2 месяца назад +2

      @@avishyyakobov I did that it worked, tysm!

  • @tonks5076
    @tonks5076 6 месяцев назад +6

    Please keep doing these videos, you're an amazing content creator! :)

  • @TurtleinMinecraft
    @TurtleinMinecraft 25 дней назад

    Out of all the youtube scripting tutorials out there, by FAR, this is the best and most clear one out there. I am begging you to make an advanced scripting tutorial!!

  • @MIDNITERBS
    @MIDNITERBS 5 дней назад +1

    This Series has been Alot of help even tho im late to watching all of them I really enjoy this type of content
    local WaterBlock = game.Workspace.WaterBlock
    local function MaterialInsucurity()
    WaterBlock.Material = "Mud"
    WaterBlock.Material = "Neon"
    WaterBlock.Material = "Brick"
    end

  • @ErkhembilegOtgonbayar
    @ErkhembilegOtgonbayar 4 месяца назад +6

    Bro this guy is an legend he made me understand everything but his not famous so let's make him famous

  • @Yuma_roblox
    @Yuma_roblox Месяц назад +1

    i got this far in a scripting guide... you are the only one that actually helped me, tysm! im subscribing

  • @H1tM7
    @H1tM7 5 месяцев назад +5

    Thx i had given up so many times
    but thanks to u i can do it

  • @NHBlueBry
    @NHBlueBry 16 дней назад

    These lessons are literally so perfect, thank you so much.
    -----------------------------------------------------------------------------------------------------
    local partA = game.Workspace.PartA
    local function printABC()
    print("A")
    print("B")
    print("C")
    end
    local function mysteryBlock()
    partA.Material = "Marble"
    Wait(2)
    partA.Material = "Neon"
    Wait(2)
    partA.Material = "Pavement"
    Wait(2)
    end
    printABC()
    printABC()
    mysteryBlock()
    mysteryBlock()

  • @Cateatschips
    @Cateatschips 5 месяцев назад +8

    spent 20 mins wondering why my color function wasnt working and it was because I forgot to call it 😭

    • @pixelgames554
      @pixelgames554 4 месяца назад

      ☠️☠️☠️☠️☠️☠️☠️☠️☠️💀💀💀💀💀💀💀💀💀💀💀

    • @PHANTOMX775
      @PHANTOMX775 3 месяца назад

      Same except for I forgot to capitalize the T in transparency😭🙏

  • @NeonEsclate298
    @NeonEsclate298 3 месяца назад

    this is really really helping me a lot, this is 6th tutorial im watching in a row cuz its so good and easy to understand, like I don't feel like forcing myself into grasping the concepts that you are teaching rather a genuine interest to know how things work.

  • @Kyreex
    @Kyreex 4 месяца назад +4

    local part = game.Workspace.Part
    local function PrintCommand()
    wait(2)
    part.Transparency = 0.523
    wait(4)
    part.Transparency = 1
    wait(0.5)
    part.BrickColor = BrickColor.Random()
    wait(4)
    part.Material = "SmoothPlastic"

    end
    PrintCommand()
    PrintCommand()
    love this tutorial man keep it up like that

    • @TrulyEnzo
      @TrulyEnzo 3 месяца назад +2

      Idk how far youve made it into this playlist but use task.wait() instead of wait() its more accurate and wait() is deprecated (meaning its been replaced and is no longer optimized for effiency and theres a better version basically)

    • @Kyreex
      @Kyreex 3 месяца назад

      @@TrulyEnzo ya i started using it but tbf wait() is just easier to type

    • @camera2178
      @camera2178 5 дней назад

      @Kyreex u should get into the habit of typing task.wait() because task.wait() will let scripts run faster and more efficiently while wait() will cause problems

    • @Kyreex
      @Kyreex 4 дня назад

      @camera2178 I forgor everything about scripting I'm learning now again but thanks for letting me know

  • @DanTe3_
    @DanTe3_ 16 дней назад

    This is mind blowing! i just finished this one as well as the other ones, and i learned so much things in such a short time! this is really incrediible!

  • @JesseMinecraftXD
    @JesseMinecraftXD 4 месяца назад +13

    It's not much but I'm proud :>
    local boxT = game.Workspace.Part
    local function BoxFlicker()
    boxT.Transparency = (0.2)
    print(0.2)
    wait(1)
    boxT.Transparency = (0.4)
    print(0.4)
    wait(1)
    boxT.Transparency = (0.6)
    print(0.6)
    wait(1)
    boxT.Transparency = (0.8)
    print(0.8)
    wait(1)
    boxT.Transparency = (0)
    print(0)
    end
    BoxFlicker()
    For people who are curious: The "Wait()" is really easy to use. Just put time in seconds in the brackets.)

    • @calps-p9p
      @calps-p9p 4 месяца назад

      I think you can use a for loop for that :)

    • @JesseMinecraftXD
      @JesseMinecraftXD 4 месяца назад

      @@calps-p9p Yea probably but that's pretty complex considering where we're at in the tutorial. I'll take an educated guess at what to do though:
      local boxT = game.Workspace.Part
      local function BoxFlicker()
      for i in range (5)
      boxT.Transparency =+ (0.2)
      wait (1)
      end
      end
      BoxFlicker()

    • @abdulrahmanabdulaziz777
      @abdulrahmanabdulaziz777 4 месяца назад

      I have heard that doing task.wait instead of wait is better ( correct me if I'm wrong )

    • @Morktin
      @Morktin 4 месяца назад

      I hope you learned about in pairs

    • @TrulyEnzo
      @TrulyEnzo 3 месяца назад

      task.wait() is the same thing just way more accurate. wait() is deprecated. In the future (ik youre probably a beginner so it doesnt matter much rn) use task.wait() instead of wait()

  • @ParadoxFlameOfficial
    @ParadoxFlameOfficial 5 месяцев назад +3

    local function ChangeTransparency()
    game.Workspace.Part.Transparency = 0.1
    wait(2)
    game.Workspace.Part.Transparency = 0.2
    wait(2)
    game.Workspace.Part.Transparency = 0.3
    wait(2)
    game.Workspace.Part.Transparency = 0.4
    wait(2)
    game.Workspace.Part.Transparency = 0.5
    wait(2)
    game.Workspace.Part.Transparency = 0.6
    wait(2)
    game.Workspace.Part.Transparency = 0.7
    wait(2)
    game.Workspace.Part.Transparency = 0.8
    wait(2)
    game.Workspace.Part.Transparency = 0.9
    wait(2)
    game.Workspace.Part.Transparency = 1
    wait(2)
    game.Workspace.Part.Transparency = 0
    end
    ChangeTransparency()
    local function ChangeAnchored()
    game.Workspace.Part.Anchored = false
    wait(3)
    game.Workspace.Part.Anchored = true
    wait(3)
    game.Workspace.Part.Anchored = false
    wait(2)
    game.Workspace.Part.Anchored = true
    end
    ChangeAnchored()
    local function ChangeMaterial()
    game.Workspace.Part.Material = "Grass"
    wait(2)
    game.Workspace.Part.Material = "glass"
    end
    ChangeMaterial()
    I did this. Can u tell is there some wrong i did or not?

  • @SaIad_Cat
    @SaIad_Cat 3 месяца назад +2

    I have been struggling with scripting and mostly functions for 3 years now, i finally understand thanks to you :)

    • @darblox1366
      @darblox1366 Месяц назад

      3 YEARS???

    • @gravy9278
      @gravy9278 19 дней назад

      @darblox1366 same, but also bc it gets way to confusing so i gave up, but ive wanted to learn scirpting for a good 3-4 years now lol, just getting stuck on the same parts caused me to repetitively give up 😭

  • @choikyon
    @choikyon Месяц назад

    im learning this on my phone using the notes app since i dont have a pc right now and these videos are great. its nice to see the applications of each thing you teach since i cant try it in studio myself :)

  • @TimmyOnRoblox
    @TimmyOnRoblox 11 дней назад

    This was kinda toughnfor me to understand at first but watching it again it makes sense hope u be someone big oneday
    ❤❤

  • @DEOgorebox
    @DEOgorebox Месяц назад

    I came here because there are few Russian-language guides, and here there are many and even fresh ones, I learned more from English-language ones, thank you for what you do

  • @InspiredByME-x1t
    @InspiredByME-x1t Месяц назад +1

    Lowkey enjoying the tutorials 😍
    local myPart = game.Workspace.Part
    local function MaterialChange()
    myPart.Material = Enum.Material.Salt
    wait(.3)
    myPart.Material = Enum.Material.Neon
    wait(.3)
    myPart.Material = Enum.Material.Brick
    wait(.3)
    end
    MaterialChange()
    MaterialChange()
    MaterialChange()

    • @martinarxi6005
      @martinarxi6005 Месяц назад

      wait u can write "wait(.3)" instead of writing "wait(0.3)"??

    • @FilistionYT
      @FilistionYT Месяц назад

      @@martinarxi6005 ya

    • @7in616
      @7in616 Месяц назад

      You can also write the material thingy as
      myPart.Material = "Salt"
      wait(0.3)
      myPart.Material = "Neon"
      wait(0.3)
      myPart.Material = "Brick"
      wait(0.3)

  • @Southyemenlol
    @Southyemenlol 4 дня назад

    I've been addicting, to ur series its the best! u've helped me in many things and so much I thank u for helping me!

  • @ShadowX_z
    @ShadowX_z 17 дней назад

    i learnt how to do functions and understood the concept completely but i once again failed to make a reload animation i will do better next time also this guy is a great teacher!
    my script-
    local function printABC()
    print("a")
    print("b")
    print("c")
    end
    printABC()
    printABC()
    printABC()
    local gunMove = game.Workspace.gun["gun model"].top
    local function reload()
    wait(5)
    gunMove.Position = 6.001, 3.528, -19.646
    wait(0.5)
    gunMove.Position = 6.001, 3.528, -19.133
    wait(0.5)
    gunMove.Position = 6.001, 3.528, -19.646
    end
    reload()

  • @SandRandom
    @SandRandom 2 месяца назад +1

    I found today's scripting episode challenging, but I still understood it. That's because your explanations are so clear and helpful. 🗿
    and here, what I did today (It is long) :
    local myBaseplate = game.Workspace.Baseplate
    local function changeTransparency()
    myBaseplate.Transparency = 1
    task.wait(0.5)
    myBaseplate.Transparency = 0.5
    task.wait(0.5)
    myBaseplate.Transparency = 0
    task.wait(0.5)
    myBaseplate.Transparency = 0.5
    task.wait(0.5)
    myBaseplate.Transparency = 1
    end
    changeTransparency()
    changeTransparency()
    changeTransparency()
    changeTransparency()
    changeTransparency()
    changeTransparency()
    changeTransparency()
    changeTransparency()
    changeTransparency()
    local Ez = game.Workspace["Functions part"]
    local function functionChanges()
    Ez.CanCollide = false
    task.wait(0.25)
    Ez.CanCollide = true
    task.wait(0.25)
    Ez.CanCollide = false
    end
    functionChanges()
    functionChanges()
    functionChanges()
    functionChanges()
    functionChanges()
    functionChanges()
    functionChanges()
    functionChanges()
    functionChanges()
    local function pls()
    Ez.Material = "Wood"
    task.wait(0.5)
    Ez.Material = "Rock"
    task.wait(0.5)
    Ez.Material = "Neon"
    task.wait(0.5)
    Ez.Material = "Rock"
    task.wait(0.5)
    Ez.Material = "Wood"
    end
    pls()
    pls()
    pls()
    pls()
    pls()
    pls()
    pls()
    pls()
    pls()
    local function bro()
    Ez.BrickColor = BrickColor.new("Dark orange")
    task.wait(0.75)
    Ez.BrickColor = BrickColor.new("Burnt Sienna")
    task.wait(0.75)
    Ez.BrickColor = BrickColor.new("Dark taupe")
    task.wait(0.75)
    Ez.BrickColor = BrickColor.new("Burnt Sienna")
    task.wait(0.75)
    Ez.BrickColor = BrickColor.new("Dark orange")
    end
    bro()
    bro()
    bro()
    bro()
    bro()
    bro()
    bro()
    bro()
    bro()

  • @waltertrollge4418
    @waltertrollge4418 6 дней назад

    This is what i coded, thank you so much!!
    local part = game.Workspace.Part
    local function Material()
    print("The Material will change to Neon in 3s.")
    Wait(3)
    part.Material = "Neon"
    print("The Material will change to Glass in 3s.")
    wait(3)
    part.Material = "Glass"
    print("The Material will change back to Marble in 3s.")
    Wait(3)
    part.Material = "Marble"
    wait(1)
    print("There you go!")
    end
    Material()

  • @jaymuscat3537
    @jaymuscat3537 9 дней назад

    local function printfart()
    print("Omg im about to fart")
    print("pfft.")
    end
    printfart()
    printfart()
    i love these tutorials, im also learning C in uni but since its so boring i decided to learn something new!

  • @SimplyTutuco
    @SimplyTutuco 3 месяца назад +3

    I'm loving this!
    (Some extra things at the end of my comment!)
    Here's what I did for the LO:
    local function changeMaterial()
    game.Workspace.GroundPart.Material = "Cardboard"
    game.Workspace.GroundPart.BrickColor = BrickColor.new("Burnt Sienna")
    end
    changeMaterial()
    local function changeReflectance()
    game.Workspace.CrackedLavaPart.Material = "SmoothPlastic"
    game.Workspace.CrackedLavaPart.Reflectance = 1
    end
    changeReflectance()
    -------------------------------------------------
    *A few things that might help*
    Here are some keybinds:
    *Ctrl + C* = Copy
    *Ctrl + V* = Paste copied or cut text
    *Ctrl + X* = Cut
    *Ctrl + A* = Select everything
    You can make intervals between code by putting *wait(s)*
    like:
    wait(5)
    that makes it so it waits 5 seconds for the next action.

    • @ItzRealImro
      @ItzRealImro 2 месяца назад

      another thing too! you can use task.wait

  • @ExtreMw
    @ExtreMw Месяц назад +1

    i love these lessons it turned out so great
    local baseplate = game.Workspace.Baseplate
    local function baseplatestory()

    baseplate.Transparency = 1
    wait(2)
    print("WHAT HAPPENED TO THE BASEPLATE????")

    end
    baseplatestory()

  • @RabbitLifee
    @RabbitLifee 5 дней назад

    Awesome Video! Here's the code I made to make the baseplate have a flickering effect:
    (Trans is short for transparency btw)
    local baseplate = game.Workspace.Baseplate
    local TransTime = 0.25
    local TransChangeTime = 1
    local function changeTransparency()
    baseplate.Transparency = 1
    wait(TransTime)
    baseplate.Transparency = 0.5
    wait(TransTime)
    baseplate.Transparency = 0
    wait(TransTime)
    baseplate.Transparency = 0.5
    wait(TransTime)
    baseplate.Transparency = 1
    end
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)
    changeTransparency()
    wait(TransChangeTime)

  • @THE.REAL.MAXY14
    @THE.REAL.MAXY14 2 месяца назад +1

    bro normally this stuff goes in one ear and leaves through the other but all 6 vids so far and i can still recall everything

  • @GNicwow
    @GNicwow 2 месяца назад

    this series is awesome, i have had a lot of trouble with functions and this man explained it so well to all of us!

  • @Sharkthemonke-q1m
    @Sharkthemonke-q1m Месяц назад +1

    I REALLY WANT TO SAY THANK YOU SO SO MUCH FOR TEACHING I JUST MADE MY OWN SCRIPT I MADE A DOUBLE JUMP SCRIPT AND IT WORKS I WANT TO SAY THANK YOU ONCE AGAIN!!!!!

  • @MagicStar350
    @MagicStar350 4 месяца назад

    Omg, why are these videos so underrated?? you explain so good and I was able to understand most of the functions meaning. I am also looking forward to watch the whole playlist! keep going!!

  • @RNC-o6u
    @RNC-o6u 2 месяца назад +1

    This tutorial made it make sense, I was so happy when I figured it out, this is what I got:
    local Thing = game.Workspace.Thing
    local function Material()
    Thing.BrickColor = BrickColor.Random()
    wait(5)
    Thing.BrickColor = BrickColor.Random()
    wait(5)
    Thing.BrickColor = BrickColor.Random()
    wait(5)
    Thing.BrickColor = BrickColor.Random()
    end
    Material()

  • @DemonicPlayz158
    @DemonicPlayz158 3 месяца назад +1

    Good video,
    My learning objective for today:
    local CCB = game.workspace.CCB
    local function CCBF()
    CCB.Transparency = 0
    wait(1)
    CCB.Transparency = 0.5
    wait(1)
    CCB.Transparency = 0
    wait(1)
    CCB.Anchored = false


    end
    CCBF()
    CCBF()
    CCBF()
    (CCB was abbreviated for my block name.)
    (CCBF the F meant function)

  • @PotatoHydra
    @PotatoHydra 22 дня назад

    I used to always struggle with functions - You rlly helped me to understand it. Thank You!
    local function PrintOMG()
    print("O")
    print("M")
    print("G")
    end
    PrintOMG()
    PrintOMG()
    PrintOMG()

  • @HanditikRoblox
    @HanditikRoblox 7 дней назад +1

    local baseplate = game.Workspace.Baseplate
    baseplate.Transparency = 0.25
    baseplate.Material = "Brick"
    baseplate.CastShadow = false
    task.wait(5) --task.wait will wait 5 seconds to change the material of the baseplate or tranparecny
    baseplate.Material = "Wood"
    --you can do task.wait as much as you want

  • @faintvolley
    @faintvolley 3 месяца назад +1

    I've been following your tutorials for the past couple of hours now, and I definitely am improving. I know a lot more than I did 3 hours ago, so I thank you from the bottom of my heart for that.
    local baseplate = game.Workspace.Baseplate
    local function transparencychanging()
    wait(.5)
    baseplate.Transparency = 1
    wait(.5)
    baseplate.Transparency = 0.5
    wait(.5)
    baseplate.Transparency = 0.1
    end
    transparencychanging()
    transparencychanging()
    transparencychanging()

    • @SimplyTutuco
      @SimplyTutuco 3 месяца назад

      This is just a little tip, if you are still finishing the guide.
      Try not to rush things and do like 1 video per day, in maximum 2. Unless you don't have time to do one everyday. That's just a tip and if you think it's better doing this, it's okay :D

    • @faintvolley
      @faintvolley 3 месяца назад

      @@SimplyTutuco Thank you for the tip. I have slowed down on my speed of watching these videos and now I watch about a video a day, but I haven't watched any in the past week.

  • @Failedtoname
    @Failedtoname 24 дня назад

    As a Scratch user, when you said that functions are just custom commands that contain several commands you can execute just by calling that function, I immediately recognised it.
    It's like the _Custom Block_ feature: in Scratch, you can also put several blocks under that same custom block, and you can just use it anytime to execute that big bunch of code.
    It has another use though, it's used for running scripts instantly, but that's too off-script.

  • @goldscalingtrophies
    @goldscalingtrophies 4 месяца назад

    really love this series it's actually the only thing that i could understand lol. your way of teaching is so easy to grasp and i thank you for that :]
    i guess this is where i show what i did:
    script: [ functions ]
    -----------------------------------------------------------------------------
    local wedgew = game.Workspace.wedge
    local function changeMaterial()
    wedgew.Material = "Neon"
    end
    changeMaterial()
    local function changeBrickColor()
    repeat
    wait(.5)
    wedgew.BrickColor = BrickColor.Random()
    wait(.5)
    wedgew.BrickColor = BrickColor.Random()
    until false
    end
    changeBrickColor()
    --------------------------------------------------------------------------------
    script: [ functions2 ]
    ---------------------------------------------------------------------------
    local function printProblem()
    print("Troubleshooting")
    print("if you can see this it's right")
    end
    printProblem()
    ----------------------------------------------------------------------------
    i had to separate the print code from the change-appearance-of-a-part codes and only then it would work. i also got a "stack overflow" message when i put the print code in [ functions ] for the first time. i have no idea if it's supposed to work that way or not but i figured how to make it work in the end!!
    note: changeBrickColor function changes the color of the block every 0.5 seconds forever

  • @DeveloperDaRBLX
    @DeveloperDaRBLX Месяц назад

    what i did was like
    local pert = game.Workspace.Part
    pert.Transparency = 0
    wait (3)
    pert.Transparency = 0.5
    wait (3)
    pert.Transparency = 1
    wait (0)
    pert.CanCollide = false
    i was actually happy it works, this was my first proud script ever thank you brawldev!

  • @Evelyn_the1
    @Evelyn_the1 2 месяца назад

    i love your videos its really made me smarter and i learn stuff for the first time and im sooo happy i annoyed my parents and friends about it so much hahaha but like i really like it and ty again so much i will now contine your playlist btw this is what i made
    local Base = game.Workspace:FindFirstChild("BasePlate")
    if not Base then
    print("Error: Base is not defined.")
    return
    end
    function MaterialInsecurity()
    Base.Material = "Neon"
    task.wait(10)
    Base.Material = "Wood"
    task.wait(10)
    Base.Material = "Brick"
    wait(10)
    print("BasePlate: I just like to try new materials! )
    end
    MaterialInsecurity()

  • @teaskis
    @teaskis 3 месяца назад +1

    This really helps! Thanks a bunch!
    local Partona = game.Workspace.Part
    local function mudaMaterial()
    Partona.Material = "Neon"
    task.wait(1)
    Partona.BrickColor = BrickColor.new("Dark red")
    Partona.Anchored = true
    task.wait(1)
    Partona.BrickColor = BrickColor.new("Bright blue")
    end
    while Partona do
    mudaMaterial()
    end
    (basically changing colors)

    • @rusydanroslen6606
      @rusydanroslen6606 7 дней назад

      @teaksis thank you so much for sharing this code, last time i tried but it didn't work, then i saw your comment.
      local colorfulBlocks = games.Workspace.Part1
      local colorfulBlocks2 = games.Workspace.Part2
      local colorfulBlocks3 = games.Workspace.Part3
      local function myMaterials()
      colorfulBlocks.Material = "Neon"
      colorfulBlocks.Material = "Foil"
      colorfulBlocks.Material = "Snow"
      end
      myMaterials()

  • @Cruzifux
    @Cruzifux День назад

    Thats what I did:
    local MaterialOfThePart =game.Workspace["Part for Function 3.0"]
    local function MaterialPart ()
    MaterialOfThePart.Material = "Neon"
    MaterialOfThePart.Material = "Brick"
    MaterialOfThePart.Material = "Neon"
    end
    MaterialPart()
    MaterialPart()
    Its crazy That im actually learning to Develop games And I am just 1Hour in Learning Its so good!

  • @atraxalan
    @atraxalan 2 месяца назад

    i did : local function printRTX4090()
    print("R")
    print("T")
    print("X")
    print("4")
    print("0")
    print("9")
    print("0")
    end
    btw ur tutorials on scripting are AWESOME. im learning rn of these tutorials

  • @AnonUser57
    @AnonUser57 4 месяца назад

    Functions used to scare me because of how complex they seemed
    Your tutorial explained them great! Not only are they no longer complex and do I understand them completely. Functions are now favourite thing to use in scripts!
    Thanks for that! Your series is awesome, keep it up!

    • @Nexdevv
      @Nexdevv 4 месяца назад

      same

  • @taofages8344
    @taofages8344 Месяц назад

    I just created a Part and wanted to test my script
    local TheBaseplate = workspace.Part
    local function changecolor()
    TheBaseplate.Material = "Brick"
    wait(5)
    TheBaseplate.Material = "Carpet"
    wait(5)
    TheBaseplate.Material = "Concrete"
    wait(5)
    TheBaseplate.Transparency = 0.2

    end
    changecolor()
    And it worked!! Im so happy to learn with this tuto

  • @WNQMouse
    @WNQMouse Месяц назад

    local function printABC()
    print("A")
    print("B")
    print("C")
    end
    printABC()
    local FunctionsPart = game.Workspace.FunctionsPart
    FunctionsPart.Anchored = true
    local function Howdy()
    task.wait (4)
    FunctionsPart.Anchored = false
    print("Yippee!")
    end
    Howdy()
    THANK YOU THIS IS SO FUN!

  • @HarryGamesreal
    @HarryGamesreal Месяц назад

    i learnt how to do basic scripts like transparency, collision anchorage by generally just stealing so many scripts over time i started to understand the basics and when i needed a collision script to uncollide a block after 10 seconds i was able to and i was very proud, that was actually earlier today and im amazing at doing all that now but i was confused what a function was so i saw this and it was really really helpful and i understood it so easy somehow
    also this is what i made: (feel free to use if u want lol)
    local Part = script.Parent
    local function changeCollision ()
    Part.CanCollide= true
    wait(10)
    Part.CanCollide = false
    wait(10)
    Part.CanCollide= true
    end
    changeCollision()

  • @DaStranded64
    @DaStranded64 Месяц назад

    finally, someone who explains something nicely

  • @notoriousyolkhound4600
    @notoriousyolkhound4600 Месяц назад +1

    Dude I actually feel like im learning stuff for once

  • @spacestudios-s7h
    @spacestudios-s7h Месяц назад

    im really bad at being paitent but this is somehow calming and also keeping me from getting less paitent it also warms my heart up more the time i watch this its helping me alot

  • @aRandomFloridian
    @aRandomFloridian 2 месяца назад +1

    i made the baseplate change color :D i was having trouble but then it showed me that i needed to type
    local baseplateColor= game.Workspace.Baseplate

    baseplateColor.Color = Color3.fromRGB(255, 0, 0)
    i didnt know what to do after the second equal sign but then the game showed me :D

  • @DandysWorldAbstraction
    @DandysWorldAbstraction 4 месяца назад +2

    What if you want to use funxtions, like lets say in a click detector? So when you click the part, it calls the function? Do you just put the script inside click detector instead?

  • @arizツ
    @arizツ 2 месяца назад

    thank you so much. I am learning to code for my 9 yrs old kid. Not easy for an asian woman. Thanks so much for very comprehensive instructions. Keep up.

  • @aidandoesanimations
    @aidandoesanimations 2 месяца назад

    i love these tutorials, and heres the code:
    Block = game.Workspace.Block
    local function MaterialChange()
    Block.Material = "CrackedLava"
    task.wait (1)
    Block.Material = "DiamondPlate"
    task.wait (1)
    Block.Material = "Marble"
    end
    MaterialChange()

  • @MR-VOXELATOR117
    @MR-VOXELATOR117 2 месяца назад +1

    i understood so much thanks! you just earned a sub :>

  • @MoonZD
    @MoonZD 5 месяцев назад +2

    This series is great. I'm gonna watch everything and take alot of notes and then i will make it to the advanced series. After that I'll make an amazing game.

    • @Ismalellel
      @Ismalellel 5 месяцев назад +1

      i hope you can creat a great game, i want too!

    • @eliteanimal1623
      @eliteanimal1623 5 месяцев назад +1

      oh yeah i should be taking notes

  • @not_qin
    @not_qin 2 дня назад

    heloo. I started to love your episodes since it's the first time I saw your videos. By the way, here's a script I made thanks to your video:
    local function ChangeMaterial()
    Part.Material = "Neon"
    wait(2)
    Part.Material = "Fabric"
    wait(2)
    Part.Material = "Grass"
    end
    ChangeMaterial()

  • @HydrolydeYT
    @HydrolydeYT 12 дней назад

    local function pli()
    local Baseplate = game.Workspace.Baseplate

    Baseplate.Material = "Brick"
    end
    pli()
    Tysm for making this tutorial! It's helping a lot

  • @antoninja2007
    @antoninja2007 Месяц назад

    why do you have low views your quality and teaching is amazing keep it up!!!

  • @zephyr_playz2535
    @zephyr_playz2535 5 месяцев назад

    Dude thank you man this is an absolute lifesaver. When I checked the Roblox coding tutorial on the official page I was just like: "What..."

  • @Breadbreaker129
    @Breadbreaker129 2 месяца назад

    this took a while to understand but thank you a lot! your explaining made it great to understand!!
    local Bob = game.Workspace.Baseplate
    local function mrbob()
    Bob.Material = "Brick"
    wait(0.5)
    Bob.Material = "Glass"
    wait(0.5)
    Bob.Material = "Marble"
    wait(0.5)
    end
    mrbob()
    mrbob()
    mrbob()

  • @shisaria7968
    @shisaria7968 14 дней назад

    I learned it, and everytime I experiment with all of these tutorials my head hurts.

  • @Wizard_of_the_zaa
    @Wizard_of_the_zaa 5 месяцев назад +1

    So far im really getting into coding because of you! do you think you could make a tower defense tutorial ( after i watch this playlist and perfect it im gonna try to make a game)

    • @RubickO7
      @RubickO7 4 месяца назад

      My tip is, to not try to make hard games. Try making easy games. With easy i mean a small project.

  • @plushmix2898
    @plushmix2898 2 месяца назад +1

    The more I learn it seems like old me was over reacting to how hard this is but to me its pretty easy!ALSO If you are on a Mac computer (like me) and control C control V is not working instead try Command C Command V on the keyboard it should work better

  • @Destorna
    @Destorna 2 месяца назад +1

    3:19 bro were you havin a stroke or something 💀 (also thanks your the only one who actually taught me something instead of doing the work for me)

  • @Cyber-In-The-Shadow
    @Cyber-In-The-Shadow 4 месяца назад

    U helped me alot thx bro!
    keep your content up you earned a new sub

  • @AVENGERSaa
    @AVENGERSaa 12 дней назад

    bro thanks your the best:
    local baseplate = game.Workspace.Baseplate
    local function print()
    baseplate.Material=Enum.Material.Rock
    baseplate.Transparency=0.5
    baseplate.Color=Color3.fromRGB(255,0,0)
    end
    print()

  • @jreak
    @jreak 2 дня назад

    Thank you man. Last time i have a bad understanding of functions because of the ends (but i dont code on roblox tho)

  • @idiotmflmao
    @idiotmflmao Месяц назад

    this might be better than school bro 😭🙏(cool video btw)

  • @Geok134Pro
    @Geok134Pro Месяц назад +2

    Me before the video: I am bored of copy and pasting.
    Me after the video: Scripting is so so easy.

  • @TheMoonlighty
    @TheMoonlighty 4 месяца назад

    really cool,i know a little, but it's really helpful and actually i'm proud of myself!!
    Thanks!! you explain very well and in details,i understand almost everything!

  • @FrozensAlt-y5l
    @FrozensAlt-y5l Месяц назад

    local function NormalSalutes()
    print("BasePlate: Hey! Looks like we got a new person around here.")
    Wait(5)
    print("BasePlate: I hope you are learning Luau!")
    Wait(5)
    print("BasePlate: Well, good luck with that, eh!")
    end
    NormalSalutes()
    Im loving these courses, these are so fun!

  • @sarahjackson6644
    @sarahjackson6644 6 дней назад

    Brawldev thank you so much! You explain things so well.😊

  • @thrayambak810
    @thrayambak810 2 месяца назад +1

    Ngl amazing content keep it up man

  • @Cameron-q9l
    @Cameron-q9l 12 дней назад

    local material = game.Workspace.Baseplate
    local function changeMaterial()
    material.Material = "Brick"
    wait(2)
    material.Material = "Concrete"
    end
    changeMaterial()
    changeMaterial()
    added a little something to spice it up :)

  • @kaitlynngreen3070
    @kaitlynngreen3070 2 месяца назад

    local function story()
    print("hey!")
    print("sup"
    print("nothing much just learning how to script from BrawlDev!")
    print("Nice")
    end
    story()
    story()

  • @Lpk_Roblox
    @Lpk_Roblox 3 месяца назад +1

    dis is his guide i followed it an added some of my own comments struggled on this one but got it :)
    local myBaseplate = game.Workspace.Baseplate
    local function changeTransparency() --This is how u make the function but dont forget to call the function
    myBaseplate.Transparency = 1 --this is how u call the function u put this under the function yea
    myBaseplate.Transparency = 0.5
    myBaseplate.Transparency = 0
    myBaseplate.Transparency = 0.5
    myBaseplate.Transparency = 1 --all of this myBaseplate.Transparency = 1 equals to this ↓↓↓↓↓↓
    end
    changeTransparency()
    changeTransparency() --

  • @ramfell
    @ramfell 21 день назад

    local myPart = game.Workspace.Terrain.Part
    local function changeTransparency()
    myPart.Transparency = 0.5
    end
    local function changeMaterial()
    myPart.Material = Enum.Material.Brick
    end
    changeTransparency()
    changeMaterial()
    cool tuts btw

  • @Speed_clipsForever
    @Speed_clipsForever Месяц назад

    wow I couldn't understand at start but after the "ABC" examples I now fully understand, thanks

  • @epicanimeedits132
    @epicanimeedits132 2 месяца назад

    your the only guy that make me understand this topics 😊

  • @vmc-mal
    @vmc-mal 5 месяцев назад +2

    Great stuff! also here's my learning objective.
    --Reference
    local baseplate = game.Workspace.Baseplate
    --Functions
    local function discoMaterial()
    baseplate.Transparency = .8
    end
    local function printDegenerate()
    print("Some1: Makimaaaaaaaaa")
    print("Chad1: Stfu")
    end
    --Calling of Functions
    printDegenerate()
    discoMaterial()

    • @Stolodolo
      @Stolodolo 4 месяца назад

      u called out the second function first and then the last function last. Which function is being executed first?

    • @vmc-mal
      @vmc-mal 4 месяца назад +1

      @@Stolodolo In-game it won't be visible as they execute way too fast for us to see the changes but since I called the printDegenerate() function first then it would be the first function to be executed.

    • @Stolodolo
      @Stolodolo 4 месяца назад

      @@vmc-mal oh so in a way it’s to slow it down and make it more visible?

  • @frayt111
    @frayt111 19 дней назад

    baseplate = game.Workspace.Baseplate
    local function cat()

    baseplate.Transparency = 0.25
    baseplate.Material = "Wood"
    baseplate.Anchored = true
    end
    cat()
    heh. i feel so smug with all this knowledge that has been bestowed onto me....

  • @Yummyyummydonuts9-xi5vh
    @Yummyyummydonuts9-xi5vh Месяц назад

    This video helped so much. I now actually understand how functions work.

  • @Jaoxs
    @Jaoxs 3 месяца назад +1

    I tried to make something a bit different so this was my code
    local part = game.Workspace.P
    local function changeMaterial ()
    part.Material = "Sand"
    wait(5)
    part.Material = "Pebble"
    wait(5)
    part.Material = "Limestone"
    wait(5)

    repeat

    until continue
    end
    changeMaterial()
    But I got a problem that the game stop working and then the code got exhausted 😅

  • @NathanAllen-yy1nt
    @NathanAllen-yy1nt 4 месяца назад

    I'm ngl bro, you make the hard stuff hella easy to understand. Tysm

  • @DarkSpectre883
    @DarkSpectre883 12 дней назад

    This is the best scripting tutorial on RUclips 🔥

  • @Lenyex184
    @Lenyex184 9 дней назад

    I Made more Functions and a wait between the two funticons and than you have blinking Parts haha nice
    (i subed thank for the viedios
    )

  • @SourRblx-vg1gl
    @SourRblx-vg1gl 29 дней назад

    Hey! this is an amazing video, but I have a question, what is the difference between a function and a variable, they both seem to be defining stuff so I really don't see a difference.

  • @Mizek_YT
    @Mizek_YT 23 дня назад

    Bro, you got a huge W from me for those tutorials🙃