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 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
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"
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
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
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.
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
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!
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 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 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 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)
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 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.
@@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.
@@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.
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
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
@@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!
@@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
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"
i love ur videos haha, u shoud try to script cameras, like camera system, 2d camera, is kinda fun good luck
Thanks! And that’s a good idea 👍
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
Ohh okay that makes a lot of sense. Thank you so much for the help I really appreciate it! 🙏
you are the most underrated youtuber i still know to this day
Thank you man!
Good progress! I suggest making something that uses data stores, as they are used in practically every game.
Keep up the good work!
That’s a good idea, and thanks for the support! 🙏
you should make a banana peel on the floor and every time a player steps on it, the player breaks their back
Fun idea!
You should try to make a teleporter
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
Ohh wait that actually makes sense, and I’ll definitely read that document. Thanks for the help!
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.
Sounds like quite the challenge, fun though! I’ll hopefully get to this at some point
@@bentley2400 I think you can do this with your current skillset
make something to do with gambling, but not too complicated, maybe like a coin flip or a dice roll
Good idea!
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
Absolutely! I really really like that eyeball idea. Do you have any specific raycasting tutorials/forums you recommend?
@@bentley2400 GnomeCode’s video on it. I think it’s still up to date
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!
That's a great idea. Thanks for the help! :)
Youre the goat, make it when you say "What Are The Chances?" an Dice appears
I actually really like that idea! I'll definitely be doing this
You should try learn about module script, they'll really help you in organizing your explorer
I've been meaning to do this, thanks for the reminder!
for optimization i suggest like only load the track once right after player added instead of inside chatted you can just use play inside
Ohh good idea. I didn’t think about that. Thanks! 🙏
Epic gaming
Real
best until series
Thank you 🙏
For the pig try use the primary part instead of the head
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
@@bentley2400 oh you can make a part the primary part
@@user-by8wu8ph8t oh okay, thanks for the help! I'll try this out
@@bentley2400 np!
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)
Thanks for the challenge🙏
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
Fun idea!
it might be difficult but try and make a running script with double pressing w
0:42 you can actually use sound.Ended:Wait() instead of task.wait()
Okay, what’s the benefit to using that instead? Just genuinely curious.
@@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
@@exlon Oh what thats so helpful. Thanks so much for the help!
Make a tool dumbell that if you activate you will get bigger and bigger!
Thats a really good idea! Thanks :)
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
the 2nd script feels bad doing a ray every tick
What do you mean?
@@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
@@iamswan2107 ohh okay. Sorry I didn't understand what he was trying to say. Is there any way you'd recommend optimizing it?
@@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)
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.
Thanks for the support :) and the discord server is a good idea! I might make one in the future.
@@bentley2400 it will be perfect I believe you.
wow so many people commented today
I know right! I’m so grateful for all the suggestions and ideas
How long have you been learning?
I’ve been messing around in studio for around 5 years, but this series is the first time I’m taking it seriously.
@@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.
@@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.
@@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.
@@the_formid6728 Dont worry bro, just keep trying and you'll improve!