Dont Use These (Roblox Even Says So!) | Roblox Studio

  Рет қаралды 8,321

Stewiepfing

Stewiepfing

Күн бұрын

Dont use deprecated things!!!
Please like and subscribe for more tutorials! 💟
If you get any enjoyment or use out of my videos, I would really appreciate if you like, comment, and subscribe! 👍 You help me make more videos and to keep teaching people the secrets of roblox studio and how to make the best possible games! 💝 I do sometimes make more complicated tutorials focused for more advanced developers, so keep in kind the information I am giving out. 📄
#roblox #robloxstudio #robloxscript #robloxscripting #robloxadvancedscripting #robloxdev #robloxdevelopment #robloxdeveloper #robloxprogramming #scripting #programming #gamedev #gamedevelopment #gamedeveloper #robloxtutorial #robloxscriptingtutorial, #robloxadvancedscripting, #programming, #robloxdev, #robloxstudiotutorial, #lua #coding, #robloxshorts, dont use this roblox studio, deprecated functions roblox studio, scripting only using deprecated functions roblox studio, deprecated body movers roblox studio, wait() is deprecated roblox studio, wait() or task.wait() roblox studio, roblox news, roblox ceo, dont use these in roblox studio
ROBLOX,character,character shop,scripting,coding,programming,program,pc,comptuter program,lua,how to make,how,how to make a character shop,studio,roblox studio,roblox scripting,How to script,roblox,studio coding,SCRIPTING ROBLOX,stewiepfing,How to make a,Pets,egg system,simulator,roblox simulator, power ups, how to make power ups roblox studio power ups scripting pet simulator x, pet, pet sim, pet sim x? LEADERSTATS, leaderstats, door, LEADERSTATS DOOR, how to make a leaderstats door, WorldBoost
ROBLOX,character,character shop,scripting,coding,programming,program,pc,comptuter program,lua,how to make,how,how to make a character shop,studio,roblox studio,roblox scripting,How to script,roblox,studio coding,SCRIPTING ROBLOX,stewiepfing,How to make a,Pets,egg system,simulator,roblox simulator,Dash,how to script a dash,power,power ups, hightlight, stroke, roblox studio highlight feature pet simulator x, Pet simulator x game, How to make a simulator, how to make a game, how to make a roblox game, printing and debugging, roblox beginners scripting, scripting, roblox programming, roblox studio, printing roblox scripting, printing, roblox, learn how to script, learn how to script roblox, pet simulator x, game developer, day in the life of a game developer, day in the life of a roblox scripter, day in the life of a programmer
kreekcraft, flamingo, sml, big games, pet simulator x, buildintogames, hazem, pls donate, polaris prog, polarisprog, roblox studio, rtc, twitter x, x, denisdaily, ibella, how to make a pet following system, arm wrestle simulator, 1coal, lanaslife, booshot, mrbooshot, skibidi toilet, skibidi, yeet a pet, recommend this youtube, fyp, tiktok, gravycatman, robuilder, alvin blox, scripting tutorials, How To Make A Tycoon In Roblox, how to make a simulator in roblox, tazd, roblox twitter, roblox twitter community, egg hatching system roblox studio, Roblox Studio - Arm Wrestle Simulator | UNCOPYLOCKED, pet simulator x uncopylocked, thedevking, how to make a hoverboard, how to make a hoverboard in roblox studio, b ricey, module scripts, How to script a Tool Gamepass | Roblox Studio Tutorial, How To Make A Teleport Gui In Roblox Studio 2023, How To Make A Notification System In Roblox Studio 2023, How To Make A Combat System In Roblox Studio 2023, HOW TO MAKE A GAME LIKE ARSENAL IN ROBLOX STUDIO PART 1!, HOW TO MAKE A GAME LIKE FRIDAY NIGHT FUNKIN IN ROBLOX STUDIO PART 1 !, How to make a game like among us in Roblox Studio. Part 1, How to make an ACTUAL Loading Screen in Roblox Studio, How to make an FPS game in ROBLOX STUDIO part 6!, How To Make A Survival Game In Roblox Studio - Part 1, I tried remaking DOORS in 1 HOUR..., I tried remaking pet simulator x in 1 hour, making a game in one hour, How to make a Shop Gui in ROBLOX Studio, ROBLOX Studio Story Game Part 1 Tutorial, I Made Minecraft's Terrain Generation in Roblox, blender, kreekcraft 10 mil

Пікірлер: 74
@stewiepfing539
@stewiepfing539 4 ай бұрын
wait() is locked to minimum of 30hz (e.g. at 60fps it would wait 2 frames). It is also subject to throttling (if you have too many threads waiting). task.wait() has no throttling and resumptions are considered each RunService Heartbeat. Always use task.wait() over wait()
@Monkeymario.
@Monkeymario. 3 ай бұрын
3:43 if code assist is annoying you then disable it
@Monkeymario.
@Monkeymario. 3 ай бұрын
saying random.new is better than math.random triggers me math.random is more random but random.new has more features but is psudo random not random well technically math.random is kinda psudo random but it still is more random
@johndevv1522
@johndevv1522 4 ай бұрын
3:37 You can disable code assists auto trigger by going to File > Studio Settings > Script Editor > Code Assist and then disabling auto trigger. Just a heads up
@EpicPico0625
@EpicPico0625 2 ай бұрын
Code assist might be annoying at times, but when it catches on what you're doing then it comes in clutch for time savings. Thats why i like it
@dxlorean2938
@dxlorean2938 Ай бұрын
and then it unfolds all your functions
@acudex
@acudex 4 ай бұрын
if you ever want to make a dash or anything that moves the player without changing in speed wether you are airborn or not use a bodyvelocity even if it is deprecated its just way better than a linearvelocity in every way
@polalagi
@polalagi 4 ай бұрын
actually a linearvelocity is better (assuming that you're trying to move the player to the direction that the player is facing in), because with bodyvelocity to do it you would have to use CFrame.LookVector*speed, while in linearvelocitys using the line constraint mode you can just set it to the speed (and you don't have to update it every second)
@acudex
@acudex 4 ай бұрын
@@polalagi well how come that when you jump with a linear velocity you fly off into the void because it doesnt account for friction meaning whatever you are trying to do with it has to be only on the ground or air so friction doesnt mess up your speed
@polalagi
@polalagi 4 ай бұрын
@@acudex not really sure what you're talking about but about the flying off, you need an attachment for the linearvelocity to work. personally I've never had any issues with linearvelocity since it moves objects (at least from my experience) exactly like bodyvelocity
@sawwysaww
@sawwysaww 4 ай бұрын
can u change the maxforce on bodyvalocity?
@polalagi
@polalagi 4 ай бұрын
@@sawwysaww you can, it has a maxforce property
@Madooxs
@Madooxs 4 ай бұрын
collectgarbage was exploitable but it would be a great debugging tool.
@skyblox-eo5se
@skyblox-eo5se 4 ай бұрын
Hello . Honetly, you should compare task.wait() and wait() by seeing which one have a more accurate yeild time instead of just comparing the speed . This is because when we want to yeild . we would want it to wait for a certain amount of seconds as precise as possible . Hope you understand. Nice vid tho , I never knew that spawn() is depricated
@Plixy1
@Plixy1 4 ай бұрын
he did it in a old video i think
@berendberend702
@berendberend702 4 ай бұрын
pretty sure task.wait() is more accurate too as it runs at 60hz while wait() runs at 30hz
@until3am
@until3am 4 ай бұрын
It's same as spawn, you can use task.spawn()
@Syntex_Error
@Syntex_Error 4 ай бұрын
Hey nice video, pretty good for beginners (:
@АнненковОлександр
@АнненковОлександр 4 ай бұрын
It is very helpful!
@jonathankrzeszewski9010
@jonathankrzeszewski9010 4 ай бұрын
all though using deprecated functions is bad and using new ones is good. i still have a place in my heart for getfenv and setfenv. i find it easy to make frameworks with it and replicate functions across all my modules, or replace wait with task.wait, etc
@mrtomato_oficial
@mrtomato_oficial 4 ай бұрын
wait() is for accurate waiting, but task.wait() is more for a game task.
@ZylithDev
@ZylithDev 4 ай бұрын
wait() is less accurate
@PiterparkerYT
@PiterparkerYT 4 ай бұрын
@@ZylithDev wait() is more accurate but less optimized
@furantsu1
@furantsu1 4 ай бұрын
task.wait() is more accurate. wait() runs at 30hz, yielding 2 frames but task.wait runs at 60hz, yielding only 1 frame. wait() also throttles but task.wait() doesn’t. Basically, task.wait() updates 2x more than wait() and is more optimized.
@boi875_RBLX
@boi875_RBLX 4 ай бұрын
@@PiterparkerYT no
@lumalumii
@lumalumii 4 ай бұрын
​@@PiterparkerYT no it's not, print wait() and task.wait() on the output and youll see the difference.
@allstar4065
@allstar4065 4 ай бұрын
Nah, I'm still using legacy body movers. Roblox would be out of their mind to let them go broken.
@Cardo2004
@Cardo2004 4 ай бұрын
Programming is a forever evolving field, if you choose to stay behind you’ll be left behind. Deprecated just means it will no longer receive updates, so if a future update breaks it, it will remain broken. So it’s in your best interest to implement the better option.
@allstar4065
@allstar4065 4 ай бұрын
@@Cardo2004 I don't think it's the better option though. I think using body movers like Body Velocity and Body Gyro are better because of the ease of use, and the fact no attachments are needed. It's a simpler process to cancel forces along an axis and makes much more intuitive sense. I know many devs who still use this system, so if roblox decided to do something that broke that feature, they would make a lot of people mad. Me included.
@Cardo2004
@Cardo2004 4 ай бұрын
@@allstar4065 And this is why Roblox gives their devs plenty of time to adjust to the changes.
@AisarRedux
@AisarRedux 4 ай бұрын
@@allstar4065 i used to think the same but now i just use linearvelocity and alignposition and alignorientation much better for me
@bartekgaw1
@bartekgaw1 4 ай бұрын
you could just display on print how long it took the script to print the said message
@mafnor2268
@mafnor2268 4 ай бұрын
The code assist is so annoying lmao
@roninexplode
@roninexplode 4 ай бұрын
whats the difference between math.random and random.new
@vera2193
@vera2193 4 ай бұрын
I looked it up, math.random is actually faster but can only handle up to 32 bit signed numbers, whereas random.new can handle 64 bit. so, math.random has a smaller limit but generates the number faster. basically, I think random.new is pretty useless if you aren't in need of REALLY large numbers. atleast, that's what google says.
@kirillchshukin6602
@kirillchshukin6602 4 ай бұрын
in Math.random(1,10) it will get an random number from 1-10 in Random.new():NextRange(1,100) it will get an Random number out of this range ig it was like that correct me lol ig so "Random.new():NextRange(1,100)" it mostly Used in RNG Games and like hatching pet system yk check forum u will see the diffrence np
@nathancs716
@nathancs716 4 ай бұрын
math.random will only get you whole numbers random.new is a class with methods that get you anything from whole to decimal numbers
@polalagi
@polalagi 4 ай бұрын
math.random isn't deprecated and is (probably) never going to be - it's not an old function for a removed feature like collectgarbage() or wait() which was replaced with task.wait(), math.random is just a way to generate a random integer between number 1 and number 2 without needing to give it a random seed. also wait() isn't deprecated, it's just a less accurate way of waiting than task.wait() (I tested it and task.wait was 90% of the time more accurate than wait), so you should be fine using wait() and math.random()
@polalagi
@polalagi 4 ай бұрын
also iirc the accuracy difference between wait() and task.wait() is around ~0.03s
@stewiepfing539
@stewiepfing539 4 ай бұрын
I literally said this in the video
@polalagi
@polalagi 4 ай бұрын
mb I didn't watch the full video since I had to go
@abidbmtt
@abidbmtt 4 ай бұрын
wait() is officially deprecated for a long time now, i dont know what you are talking about
@polalagi
@polalagi 4 ай бұрын
@@abidbmtt it doesn't really display a warning in the script editor about it being deprecated (like a line over it in the recommendation/autocompletion tab or whatever you want to call it) so in my opinion it isn't deprecated yet
@sawwysaww
@sawwysaww 4 ай бұрын
why is is now task.wait instead of just wait
@dxlorean2938
@dxlorean2938 Ай бұрын
its alot faster
@sawwysaww
@sawwysaww Ай бұрын
@@dxlorean2938 true theres no tiny rng with task.wait so its better
@BlingTheSlim
@BlingTheSlim 4 ай бұрын
doesn't that mean that you could use wait() for making something like cannons? ive heard from the comments taht its more accurate so wouldnt it work for hitboxes better depending on the type of game ur making?
@fitmotheyap
@fitmotheyap 4 ай бұрын
It also happens less often, but there is also the fact you don't need microseconds of accuracy
@lumalumii
@lumalumii 4 ай бұрын
People are spreading misinformation, wait() is less accurate than task.wait().
@Abdalla_Zeko1
@Abdalla_Zeko1 4 ай бұрын
How I bee understand code like you ?
@GuiDuckz
@GuiDuckz 4 ай бұрын
i think u need to work on ur english before u can start learning how to code
@LegoPieces_
@LegoPieces_ 4 ай бұрын
​@@GuiDuckzI dont know English that good but I can still code
@shoppingcart69420
@shoppingcart69420 4 ай бұрын
@@GuiDuckz Not everyone has english as their first language, be respectful
@GuiDuckz
@GuiDuckz 4 ай бұрын
@@shoppingcart69420 i wasnt disrespectful at all. If all coding languages are in english, working on his english might help
@banjoller
@banjoller 4 ай бұрын
@@GuiDuckz especially for lua
@crackedatfortnite666
@crackedatfortnite666 3 ай бұрын
What nuh uh math.random is better in most cases
@stewiepfing539
@stewiepfing539 3 ай бұрын
Explain
@crackedatfortnite666
@crackedatfortnite666 3 ай бұрын
It's faster
@stewiepfing539
@stewiepfing539 3 ай бұрын
@@crackedatfortnite666 proof?
The Best Roblox Studio Features (and Why You Should Use Them)
19:31
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 52 МЛН
Amazing Parenting Hacks! 👶✨ #ParentingTips #LifeHacks
00:18
Snack Chat
Рет қаралды 20 МЛН
Bedrock. Why?!
22:37
FundyLIVE
Рет қаралды 223 М.
DON'T Make a Roblox Game Without Watching This First.
27:20
SmartyRBX
Рет қаралды 559 М.
Remaking My Favorite Flipbook 30 YEARS LATER
15:44
Andymation
Рет қаралды 47 МЛН
Can You Build a Working iPhone From AliExpress...?
19:06
Phone Repair Guru
Рет қаралды 1,9 МЛН
I Made The Ultimate Cheating Device
9:39
ChromaLock
Рет қаралды 902 М.
Minecraft Kids Content Is Absolutely Terrifying
29:01
CalebIsSalty
Рет қаралды 1,2 МЛН
My Password Is...
20:34
iShoya
Рет қаралды 55 М.
What Roblox Doesn't Tell You | Roblox Studio
9:38
Stewiepfing
Рет қаралды 28 М.
The Basics of Perlin Noise | Roblox Studio Tutorial
27:05
Can 14 Random ROBLOX Developers Make a Game in 7 DAYS?
15:56
BrawlDev
Рет қаралды 132 М.