Scripting Everyday Until I'm Good Day 5

Поділитися
Вставка
  • Опубліковано 21 вер 2024
  • If any experienced scripters are looking for something to do, I have ran into a few problems recently and am sort of out of options. So lmk! :)

КОМЕНТАРІ • 74

  • @rielzedrielzed
    @rielzedrielzed 4 місяці тому +5

    You can folder the things u did that day to keep track of everything and to stay organized, nearly how to organize games is smth rlly essential

    • @rielzedrielzed
      @rielzedrielzed 4 місяці тому +3

      Also for the pig head try using weld constraints, there are plugins that weld a model for u. Just make sure to set a primary part when using those and un-anchoring the model

    • @bentley2400
      @bentley2400  4 місяці тому +1

      @@rielzedrielzed I'm pretty sure I tried weld-constraints, but ill try again just incase I did it wrong. And ill definitely test out those plugins!

    • @rielzedrielzed
      @rielzedrielzed 4 місяці тому

      @@bentley2400 i think its how u change the position of the pigs head, instead of pig.Head.Position or CFrame try pig.PrimaryPart.Position or CFrame and set a primary part to the model

    • @rielzedrielzed
      @rielzedrielzed 4 місяці тому +1

      Also if u have any questions or looking for feedback there are multiple roblox scripting servers like for example "Roblox Scripting Assistance" and "School of Developers"

  • @ElCamaronda
    @ElCamaronda 4 місяці тому +2

    i love ur videos haha, u shoud try to script cameras, like camera system, 2d camera, is kinda fun good luck

    • @bentley2400
      @bentley2400  4 місяці тому +1

      Thanks! And that’s a good idea 👍

  • @iamswan2107
    @iamswan2107 4 місяці тому +2

    Hey! So to explain the script you're wondering about, every frame (heartbeat) it will send a ray from the player (presser) towards the ground (upvector x -1000 makes the upvector negative, which make it look downards instead of up). the part variable will store the first part it encounters and that is within the whitelist you gave it,, and if that part exist and is indeed within the whitelist parts, it will play

    • @bentley2400
      @bentley2400  4 місяці тому +1

      Ohh okay that makes a lot of sense. Thank you so much for the help I really appreciate it! 🙏

  • @Cenbius
    @Cenbius 4 місяці тому +1

    you are the most underrated youtuber i still know to this day

  • @roexception1962
    @roexception1962 4 місяці тому +1

    Good progress! I suggest making something that uses data stores, as they are used in practically every game.
    Keep up the good work!

    • @bentley2400
      @bentley2400  4 місяці тому

      That’s a good idea, and thanks for the support! 🙏

  • @madibear4565
    @madibear4565 4 місяці тому +1

    you should make a banana peel on the floor and every time a player steps on it, the player breaks their back

  • @The_liter
    @The_liter 4 місяці тому +1

    You should try to make a teleporter

  • @chiazk
    @chiazk 4 місяці тому +1

    also for the script that you dont understand it basically casts a raycast (check raycast documentation for more info) from the position from your humr to 1000 studs below (v3(0,-1000,0) and it will only detect whitelisted instances (ehich is {DifferentAreas} and if the ray hits something (if part then) it will play musick

    • @bentley2400
      @bentley2400  4 місяці тому

      Ohh wait that actually makes sense, and I’ll definitely read that document. Thanks for the help!

  • @Sturgeon22
    @Sturgeon22 4 місяці тому +1

    make a platform that has 10 parts with the size 4,1,4 in a row from left to right and up and down.Then make 4-6 random parts turn red every second or half a second and whenever you stand on a red part your character dies.Also a little extra challenge : whenever you die the minigame stops and all of the parts will go back to its original color and whenever you stand on the platform the minigame starts.

    • @bentley2400
      @bentley2400  4 місяці тому +1

      Sounds like quite the challenge, fun though! I’ll hopefully get to this at some point

    • @Sturgeon22
      @Sturgeon22 4 місяці тому +1

      @@bentley2400 I think you can do this with your current skillset

  • @venixalswashere
    @venixalswashere 4 місяці тому +2

    make something to do with gambling, but not too complicated, maybe like a coin flip or a dice roll

  • @CreatorProductionsOriginal
    @CreatorProductionsOriginal 4 місяці тому +2

    You could use the fact you don’t know about Ray casting to make something using it to learn it
    Like, make an ball that turns red when you’re close, you could just use the distance from the player to it, or you could use raycast so, you could get close to it if you were behind a wall
    My idea/suggestion is to make an eye ball that looks at you if it can see (raycast) you

    • @bentley2400
      @bentley2400  4 місяці тому

      Absolutely! I really really like that eyeball idea. Do you have any specific raycasting tutorials/forums you recommend?

    • @CreatorProductionsOriginal
      @CreatorProductionsOriginal 4 місяці тому +1

      @@bentley2400 GnomeCode’s video on it. I think it’s still up to date

  • @luxcadev
    @luxcadev 4 місяці тому +1

    a pretty good way to study this kind of code that u dont understand yet, is to copy and paste it into chat gpt and ask it to explain the code to you in a simple way, or you can ask for it to edit the code and add comments to every single line of the code explaning what is that especific line doing!

    • @bentley2400
      @bentley2400  4 місяці тому

      That's a great idea. Thanks for the help! :)

  • @definetelyvoid
    @definetelyvoid 4 місяці тому +1

    Youre the goat, make it when you say "What Are The Chances?" an Dice appears

    • @bentley2400
      @bentley2400  4 місяці тому

      I actually really like that idea! I'll definitely be doing this

  • @error-si2mb
    @error-si2mb 4 місяці тому +1

    You should try learn about module script, they'll really help you in organizing your explorer

    • @bentley2400
      @bentley2400  4 місяці тому

      I've been meaning to do this, thanks for the reminder!

  • @chiazk
    @chiazk 4 місяці тому +1

    for optimization i suggest like only load the track once right after player added instead of inside chatted you can just use play inside

    • @bentley2400
      @bentley2400  4 місяці тому

      Ohh good idea. I didn’t think about that. Thanks! 🙏

  • @zxkver
    @zxkver 4 місяці тому +1

    Epic gaming

  • @cosmicvib6938
    @cosmicvib6938 4 місяці тому +1

    best until series

  • @user-by8wu8ph8t
    @user-by8wu8ph8t 4 місяці тому +1

    For the pig try use the primary part instead of the head

    • @bentley2400
      @bentley2400  4 місяці тому

      Well I don’t really think it has a primary part, it’s just a bunch of different parts. But it was just a free model so I guess it’s to be expected

    • @user-by8wu8ph8t
      @user-by8wu8ph8t 4 місяці тому +1

      @@bentley2400 oh you can make a part the primary part

    • @bentley2400
      @bentley2400  4 місяці тому

      @@user-by8wu8ph8t oh okay, thanks for the help! I'll try this out

    • @user-by8wu8ph8t
      @user-by8wu8ph8t 4 місяці тому

      @@bentley2400 np!

  • @chiazk
    @chiazk 4 місяці тому +1

    uhh challenge for you: make a simple gun tool with raycast and remote events (theres a million tutorials on this lol) you also need to learn getmouse to do this (you dont have to do it tmrw when ur good enough then you can try this)

    • @bentley2400
      @bentley2400  4 місяці тому

      Thanks for the challenge🙏

  • @JustDev_Roblox
    @JustDev_Roblox 4 місяці тому +1

    Video idea:
    If you press e you will become more purple and have more speed every time you press e and when you press q it will just reset

  • @daneriri
    @daneriri 4 місяці тому +1

    it might be difficult but try and make a running script with double pressing w

  • @exlon
    @exlon 4 місяці тому +1

    0:42 you can actually use sound.Ended:Wait() instead of task.wait()

    • @bentley2400
      @bentley2400  4 місяці тому

      Okay, what’s the benefit to using that instead? Just genuinely curious.

    • @exlon
      @exlon 4 місяці тому +1

      @@bentley2400 sound ended will end EXACTLY when sound ends. Basically, for example, if sound was loading for 1 second task.wait will wait same time, but sound.ended waits until sound ended fully AND that loading time

    • @bentley2400
      @bentley2400  4 місяці тому

      @@exlon Oh what thats so helpful. Thanks so much for the help!

  • @spirit_top5
    @spirit_top5 4 місяці тому +1

    Make a tool dumbell that if you activate you will get bigger and bigger!

    • @bentley2400
      @bentley2400  4 місяці тому

      Thats a really good idea! Thanks :)

    • @bentley2400
      @bentley2400  4 місяці тому

      Just added this in my new video but totally forgot to credit you for the idea. Sorry 🤦‍♂️ I’ll put your channel link in the disc tho

  • @daneriri
    @daneriri 4 місяці тому +1

    the 2nd script feels bad doing a ray every tick

    • @bentley2400
      @bentley2400  4 місяці тому

      What do you mean?

    • @iamswan2107
      @iamswan2107 4 місяці тому +1

      @@bentley2400 He's kinda right, casting a ray every frame can cost your computer a lot of ressources, However, used like that, considering you're casting a single ray per frame, it's all good

    • @bentley2400
      @bentley2400  4 місяці тому

      @@iamswan2107 ohh okay. Sorry I didn't understand what he was trying to say. Is there any way you'd recommend optimizing it?

    • @iamswan2107
      @iamswan2107 4 місяці тому +1

      @@bentley2400 It's fine as it is, as I said, as long as you're not casting many rays, it should be fine (roblox builtin events are no better in term of optimization, for this specific case anyways)

  • @the_formid6728
    @the_formid6728 4 місяці тому +2

    yo yo yo whats going on here, Is this what I think? dude you are going to be famous.. mannn, you are genious... look what will I say you, can I join you.. or more basically can we all do it together why are we not making a discord server and teach each other... sorry for my grammer.

    • @bentley2400
      @bentley2400  4 місяці тому +1

      Thanks for the support :) and the discord server is a good idea! I might make one in the future.

    • @the_formid6728
      @the_formid6728 4 місяці тому

      @@bentley2400 it will be perfect I believe you.

  • @chiazk
    @chiazk 4 місяці тому +1

    wow so many people commented today

    • @bentley2400
      @bentley2400  4 місяці тому

      I know right! I’m so grateful for all the suggestions and ideas

  • @quaranfree6584
    @quaranfree6584 4 місяці тому +1

    How long have you been learning?

    • @bentley2400
      @bentley2400  4 місяці тому +2

      I’ve been messing around in studio for around 5 years, but this series is the first time I’m taking it seriously.

    • @the_formid6728
      @the_formid6728 4 місяці тому +1

      @@bentley2400 man... really, 5 years omg, how old are you, how it feels to working on studio about 5 years and getting nothing like me and after all life is still have problems for you... nvm.

    • @bentley2400
      @bentley2400  4 місяці тому +2

      @@the_formid6728 I can't tell if this is an insult or not 😭 When I said messing around in studio I really meant messing around. I was never really learning anything, so that's why I made no progress in that 5 years.

    • @the_formid6728
      @the_formid6728 4 місяці тому +1

      ​@@bentley2400that was not a insult. I am in studio like 4-5 years and learned something also I have been some projects some of them little some of them big but I hadn't earned a good price so I feel unsuccessful.
      Imagine working for 4 years, wasting your time and getting nothing.
      But it's all my fault, I wasn't have discipline... damn.

    • @bentley2400
      @bentley2400  4 місяці тому +1

      @@the_formid6728 Dont worry bro, just keep trying and you'll improve!