How to Create a Loading Screen in Roblox

  Рет қаралды 68,463

ByteBlox

ByteBlox

Күн бұрын

Пікірлер: 273
@byteblox100
@byteblox100 Жыл бұрын
Get all of my knowledge in one package:
linktr.ee/ByteBlox
@martinjelolorenzo8275
@martinjelolorenzo8275 Жыл бұрын
"give me your email so i can send you stuff" Something a Indian scammer would say.
@fardmonkegaming
@fardmonkegaming Жыл бұрын
don't trust you enough you're gonna send me uncensored gore
@QUBIQUBED
@QUBIQUBED Жыл бұрын
@@martinjelolorenzo8275 bro is not funny
@QUBIQUBED
@QUBIQUBED Жыл бұрын
Whydo you alwyays use "waitforchild" wouldn't you get like, a billion "infinite yield" errors?
@kumokity
@kumokity Жыл бұрын
​@@martinjelolorenzo8275Not funny + if you don't know scripting get out of here kid.
@boblox_studio_dev
@boblox_studio_dev Жыл бұрын
If anyone is wanting to make this a loading bar instead of a counter do this: 1. Make a loading bar container frame. 2. Insert a frame inside the container to be the actual bar. 3. Make the bar color whatever you want. 4. Set position = UDim2.new(0, 0, 0, 0) 5. Set Size = UDim2.new(0, 0, 1, 0) 6. After the preload async inside the for loop, set the size of the bar to UDim2.new(i / maxAssets, 0, 1, 0)
@saniks3174
@saniks3174 Жыл бұрын
This makes sense wow
@Ammiad
@Ammiad 11 ай бұрын
thanks! took me a bit to understand what this comment meant but it works! looks pretty okay too for anyone wondering: this is what i wrote for this: local loadBar = ui:WaitForChild("Frame"):WaitForChild("Frame"):WaitForChild("LoadingBar") loadBar.Position = UDim2.new(0,0,0,0) loadBar.Size = UDim2.new(0,0,1,0) (inside the for loop:) loadBar.Size = UDim2.new(i/maxAssets,0,1,0)
@DaJJanitor
@DaJJanitor 6 ай бұрын
and you can lerp it to make it feel smooth
@boblox_studio_dev
@boblox_studio_dev 6 ай бұрын
@@DaJJanitor tweenservice is more efficient than lerp
@DaJJanitor
@DaJJanitor 6 ай бұрын
@@boblox_studio_dev tweenservice also uses lerp on the backend
@NotTaskAgain
@NotTaskAgain Жыл бұрын
This is one of the first videos that actually EXPLAINS what each thing does, i.e "Putting a # in front of a table gets the number of items/assets in that table." I never realized what that was used for until now.
@bbnmm8720
@bbnmm8720 Жыл бұрын
you could just google up
@Omega-mr1jg
@Omega-mr1jg Жыл бұрын
Thats why you experiment
@NotTaskAgain
@NotTaskAgain Жыл бұрын
@@bbnmm8720 I'm aware of that I was just giving an example of how he explains what he does
@VelocitySoftwareGames
@VelocitySoftwareGames Жыл бұрын
no you cant@@bbnmm8720
@geriangoofy
@geriangoofy Жыл бұрын
i dont even know why im watching this im not wven making a game right now
@EpicPico0625
@EpicPico0625 Жыл бұрын
*KNOWLEDGE*
@KittenfanVR
@KittenfanVR Жыл бұрын
Same 💀
@iamlosingmysanityrapidly
@iamlosingmysanityrapidly Жыл бұрын
Wait people watch this when making a game? They don't just watch it occasionally??
@fabiankrajewski3147
@fabiankrajewski3147 Жыл бұрын
Even*
@geriangoofy
@geriangoofy Жыл бұрын
@@fabiankrajewski3147 you really didnt have to correct me i already knew i messed up
@KaidoDeveloper
@KaidoDeveloper Жыл бұрын
Honestly I just have to check up on your channel and there'll be something that I've been looking for, you're better than all of the talky big youtubers. Thanks!
@BubasGaming
@BubasGaming Жыл бұрын
I think that loading screens break the immersion of fast join, because on my pc, the game can load pretty fast but sometimes loading screens can make it longer than it is supposed to be.
@Wacky_
@Wacky_ Жыл бұрын
just make a skip button that hides the ui
@MeatMake
@MeatMake Жыл бұрын
Also, to circumvent the problem in the for loop 11:35, you can just make it do a task.wait() every 'x' amount of iterations to speed it up
@GariPlayz
@GariPlayz Жыл бұрын
all that would do is double the speed it iterates through the table, just remove it since preloadasync yields either way and its just a nuisance for players to wait for so long. this is no "circumventing" a problem
@synkka1221
@synkka1221 Жыл бұрын
This is a method that certainly works, but only for smaller games really. I've tried this method in the past with a larger game made up of around 6000 assets and loading each individual asset in the loop with content provider took FOREVER. The better way of doing a "working" loading screen is to pass the entire table of assets to the content provider's preload async function BEFORE the for loop and then just loop through each asset and add a task.wait() with a really small random wait time. I say "working" in quotes because it does load the assets but the actual progress bar is faked. It is a really efficient method that loads everything even in large games very quickly and the whole thing put together should only take a few seconds. Good video tho!
@AntiNuke_
@AntiNuke_ Жыл бұрын
I'm sorry, but I'm reading but not comprehending that. Can you elaborate on how to make a better system?
@aoqia
@aoqia Жыл бұрын
@@AntiNuke_ In the video, the creator passes to ContentProvider 1 asset ID per iteration of the loop. Doing this repetitively for lots of assets is SLOW. Since PreloadAsync takes in a table of asset IDs, you can just feed ContentProvider all the assets at once, and it will load them miles faster since it doesn't have to wait for each iteration of the for loop. That is just what I understand.
@synkka1221
@synkka1221 Жыл бұрын
@@AntiNuke_ i meant exactly what @aoqia said, he explained it better. and when I say to "add a task.wait() with a random wait time", that should be done in the loop to simply create a natural looking progress bar. What you would do is take the content provider line and place it before the loop and put something like task.wait(math.random(1, 20)/100) on the line where the content provider async originally was
@marcosbombi
@marcosbombi 8 ай бұрын
Can you explain it in simpler terms?
@athar_adv
@athar_adv 6 ай бұрын
​@@marcosbombiInstead of feeding it 1 piece of data at a time you feed it all of the data in your game at once which is wayy faster
@BelugaRoblox_YT
@BelugaRoblox_YT 3 ай бұрын
11:36 maybe we do something but make a text button called “Skip Assets” and make visible when the game is load if game:IsLoad() then skipsassets.Visible = true end And for the local script inside the skip asset button script.Parent.Activated:Connect(function() script.Parent.Parent:Destroy() end)
@Griffury
@Griffury Жыл бұрын
the way you explain code is way better then others foe some reason
@Sadjhj
@Sadjhj Жыл бұрын
I do want to try a loading screen in the future for different projects. Thanks for the video.
@CopperCogStudio
@CopperCogStudio Жыл бұрын
I don't encourage people to use this tutorial for 1 big reason: When you give content provider a table with lets say a model, in order to load that model it also needs to load the children parented to the model first, then its finished loading the model The problem with this is that in this tutorial he is passing a table containing all instances inside the game. Whats the problem you may ask? Well what if your game has a model, well since the assets table got all descendants of the game, that means it also got every part inside that model too, thats exactly the issue, it will ensure the parts inside the model load even if it already ensured the model loaded, which when doing already ensures parts inside of it loaded Now the more models you put inside a model means it will take extremely long to load because its just loading over and over again the same instances a lot of times, wasting time in the process.
@vulna9150
@vulna9150 Жыл бұрын
Can you suggest something that begginer scripters can do? They don't have much choice.
@EpicPico0625
@EpicPico0625 Жыл бұрын
Fun fact: you can just drag the gui into the local script and it will automatically be parented to the script. Also, you should ALWAYS use task.wait() since it will always be more accurate than wait() and overall faster
@byteblox100
@byteblox100 Жыл бұрын
What is the actual different task.wait gives? I’ve heard many people talk about it and tried it myself, but it just seems like a regular wait function
@flabbergasted1485
@flabbergasted1485 Жыл бұрын
task.wait runs on a 60hz polling rate, and wait is a 30hz polling rate. so its more accurate to real time.@@byteblox100
@bobbyboy123_
@bobbyboy123_ Жыл бұрын
@@byteblox100 ive read that task.wait() is an equivalent of RunService.Heartbeat:Wait()
@Monumentous
@Monumentous Жыл бұрын
@@byteblox100 The task library on roblox doesn't have any throttling or lag because it uses the engine schedular. delay and spawn also appear in the task library. Everything in the task library is functionally way better, and I think roblox should deprecate wait(). Also video idea..? edit: ok wait IS deprecated
@synkka1221
@synkka1221 Жыл бұрын
@@byteblox100 task.wait() is much faster / more performant than wait() and wait() is also deprecated
@a1534-d7k
@a1534-d7k Жыл бұрын
this channel is so helpful thanks for all the tutorials
@2b2useful
@2b2useful Жыл бұрын
Personally i wouldn't bother making loading screens, this is one of the last things you want to do. The default loading screen already works pretty good for a lot of games, especially if they are not stresming instances and the game level is static. The default loading screen has a maximum of 10 seconds to be shown to a player (tho i might be wrong on this one) and after that time you may see weird stuff, but it's usually a player's fault if the cleint haven't managed to load a game. And this video has some flaws. First, he forgot to mention the replicatedFirst's RemoveDefaultLoadingScreen function, which, you know, should have been used in the first place if you are making loading screens. Second, preloadAsync is intended to be used to load stuff such as images and sounds to prevent the sudden "appearance" of them and have them cached before controllably utilizing them. Third, to actually wait for a game to be loaded, using game:isLoaded is enough. Getting descendants of the "game" is a bad idea, since you mostly care about models under a workspace folder Fourth, it is also a bad practice to do {repeat wait() until game:IsLoaded()} in numerous ways: the wait() isn't the "fastest" yielding function if you want to be loading screens actually make sense, unnecessary usage of "if" statement, and on top of that, roblox has already provided an event without utilizing this weird loop and that is game.Loaded. Doing {if not game:IsLoaded() then game.Loaded:Wait() end} is better in every way Fifth, why would you clone a loading gui? That's [although small but] a waste of resources And to sum up i just hate it when a tiny game tells me to load something when in fact it's just a wait(x). Don't do that please. P.s. the only time i would think of using it is to wait for a server to load data from data store, especially data rrgarding ui dark/light mode or something similar. Solo devs just simply don't need custom loading screens, that doesn't make you game look cooler
@byteblox100
@byteblox100 Жыл бұрын
A lot of these are valid points. It would just take too long to fit into the video imo, so I opted in for the simple option. I didn’t actually know you could remove the default loading screen so that’s very helpful
@2b2useful
@2b2useful Жыл бұрын
​@@byteblox100that's okay, i just left it here for someone reading comments to learn something new. I don't know why i want to say it, but... "Every professional doctor has its own graveyard"
@FelipeGames08
@FelipeGames08 3 ай бұрын
_I am actually flabbergasted, dumbfounded, mind boggled, baffled, shocked, utterly blended. I feel my brain expanding by the second, I can see the future, everything, the secrets of the universe._ *You, thy amazing living organism. You sparkled hidden knowledge from The Holy, to those that may readst thy manuscript. Mere like you, maysth be given thy throne, whereast may rest, with thy bright life of thy Shining Divine. Take a seat;*
@Budloks
@Budloks Жыл бұрын
super usefull! but you should also make a tutorial how to make a progress bars becouse progress bars = cool
@UnexpectedPlay
@UnexpectedPlay 5 ай бұрын
kzbin.info/www/bejne/i5m4qWCeibWFisk
@hobis_wife
@hobis_wife 6 ай бұрын
u cant be complaining about the fredoka font when u use it in ur thumbnails all the time bro💀 but thanks for this video. appreciate it :)
@saada5369
@saada5369 11 ай бұрын
Thanks this actually worked without me having to know how to script, it works but I have 24900 parts so I’ll have to fix that too
@blorbaltude
@blorbaltude Жыл бұрын
finally, someone that actually agrees fredoka one is overused. it's like the comic sans of roblox in 2023/2024, theres so many better fonta like ubuntu and gotham sm.
@Reditect
@Reditect 8 ай бұрын
As per Roblox documentation, a big part of games on Roblox is being able to get into the fun fast. That means a fast loading screen. When I had a loading screen in my game, I saw retention drop and saw people IRL leave the game cause it took too long to load. It took about 4 seconds to load. I'll try this for sure, but I'm wondering if I can have a balance of loading in things and getting the player into fun quick. I can assure the player by having a custom loading screen, but that still didn't help when I tested things with play testers.
@levancianyt5077
@levancianyt5077 6 ай бұрын
I'm only watching this for pleasure, but honestly I'd prefer a loading bar over an asset counter. Furthermore, a tween to exit the User Interface would be a little but big detail. I love your videos!
@alex342gwsturk8
@alex342gwsturk8 Жыл бұрын
wait() IS A SLUR
@Lkrupa
@Lkrupa Жыл бұрын
guess i am putting a slur in my local scripts every time
@alex342gwsturk8
@alex342gwsturk8 Жыл бұрын
@@Lkrupa RAAH USE task.wait() INSTEAD!!!!!
@kamiinari.
@kamiinari. Жыл бұрын
wait() IS A MISOGYNISTIC SLUR wait() IS A MISOGYNISTIC SLUR wait() IS A MISOGYNISTIC SLUR
@Lkrupa
@Lkrupa Жыл бұрын
@@kamiinari. Seems like i put alotta slurs in
@kamiinari.
@kamiinari. Жыл бұрын
@@Lkrupa i sometimes accidentally wait() instead of task.wait() and then i get cancelled then doxxed
@moonburn87
@moonburn87 Жыл бұрын
you should use for i, assetToLoad in ipairs(assets) do spawn(function() contentProvider:PreloadAsync({assetToLoad}) UI:WaitForChild("Frame"):WaitForChild("TextLabel").Text = i.."/"..maxAssets end) end
@gameplayz5847
@gameplayz5847 Жыл бұрын
it would just instantly finish because you are creating a new thread for each instance (which i dont think is smart to do)
@moonburn87
@moonburn87 Жыл бұрын
@@gameplayz5847 its useful for really big games
@jamesjamesjamesjamesjames1
@jamesjamesjamesjamesjames1 Жыл бұрын
This would just create thousands of threads and will probably crash the game. And as @gameplayz5847 said it would finish instantly.
@moonburn87
@moonburn87 Жыл бұрын
@@jamesjamesjamesjamesjames1 It doesn't crash the game or finish instantly
@Starveldt
@Starveldt Жыл бұрын
​@@moonburn87 this is not a smart idea at all. spawn() is deprecated, ipairs is also unneeded due to luau's __iter function. alongside this, you can literally just do ContentProvider:PreloadAsync(assets) if it's an array (which is a table with only number indices). you're also better off using the second parameter which is just a callback for when an asset is finished preloading. i'd suggest looking into the ContentProvider documentation, pretty yikes code
@Random_MantixYT
@Random_MantixYT Ай бұрын
This was buggy for me. I am making a laser tag game, and it would load but then randomly stop at a random asset in the middle of loading, weird. I added and coded my own button that says skip if loading is stuck, and I also made it so the further it is in loading, the test will turn from red to green, and frame will be more transparent. It works well with that button cuz it almost always gets stuck for some reason.
@埊
@埊 Жыл бұрын
people who remember crosswoods: no, just dont.
@SuperJ-qb4wv
@SuperJ-qb4wv 8 ай бұрын
This is so cool. Could make the transition ease out instead of cutting abruptly?
@TheLazyBeanss
@TheLazyBeanss Жыл бұрын
Fun fact, to scale gui to 1,0,1,0 you can actually just write 1,1 instead of 1,0,1,0
@Steelxfaze
@Steelxfaze Жыл бұрын
ty
@pinkaroo69420
@pinkaroo69420 Жыл бұрын
nah just write 1 (its that simple)
@TheLazyBeanss
@TheLazyBeanss Жыл бұрын
@@pinkaroo69420 I was gonna say that but I almost never use the same number so I was kinda just using the 1s as placeholders for other numbers in my original comment. Does that make sense?
@novaesc844
@novaesc844 2 ай бұрын
2:17 bless you for that
@QuementRBLX
@QuementRBLX Жыл бұрын
What i find pretty funny is that IM CERTAIN ill never need this but it's cool to know
@maximusbrah
@maximusbrah Жыл бұрын
I don’t even be making roblox games i just like listening to you yap
@lnfinitehealth
@lnfinitehealth Жыл бұрын
Is there any reason to not just put the loading GUI into StarterGui and getting a reference of it after the game has loaded? Great video, covered a topic which I didn’t really understand yet . I’m just a bit curious since, I have always been using that method because it made sense to me.
@byteblox100
@byteblox100 Жыл бұрын
That’s also possible, I just wanted it to be inside ReplicatedFirst because then the game would load it first
@boblox_studio_dev
@boblox_studio_dev Жыл бұрын
Another reason is because you would have to manually disable the GUI every time you want to edit something in your game, along with enabling the GUI when you want to test your game.
@darkgaming4594
@darkgaming4594 6 ай бұрын
Thought this would have been a lot more complicated but I was wrong…. Amazing tutorial!
@PellerN64
@PellerN64 Жыл бұрын
you seem like no text to speech but roblox 🔥🔥🔥🔥 so swag
@de_fht
@de_fht 8 ай бұрын
The script : local contentProvider = game:GetService("ContentProvider") local ui = script:WaitForChild("ScreenGui"):Clone() repeat wait() until game:IsLoaded() local assets = game:GetDescendants() local maxAssets = #assets local plr = game.Players.LocalPlayer local plrGui = plr:WaitForChild("PlayerGui") ui.Parent = plrGui for i, assetToLoad in assets do contentProvider:PreloadAsync({assetToLoad}) ui:WaitForChild("Frame"):WaitForChild("TextLabel").Text = i.."/"..maxAssets end wait(1)
@HyghRblx
@HyghRblx 7 ай бұрын
forgot the ui:Destroy() at the end
@de_fht
@de_fht 7 ай бұрын
@@HyghRblx it was done on purpose to see if people copy or read a little
@BloxBuilder100
@BloxBuilder100 10 ай бұрын
If Your having problems with The loading screen taking to much time Then Change local assets = game:GetDecendants() to local assets = workspace:GetDecendants() that makes it only Wait for The things in The workspace to load
@zackrmgaming9349
@zackrmgaming9349 10 ай бұрын
any way to make it even faster? I got a trash laptop and I got 18k assets. tkes at least a minute, I kinda want it to be halved. Any way to divide the amount of time to wait by 2?
@HelloHiReal
@HelloHiReal 9 ай бұрын
@@zackrmgaming9349 delete preloadedasync line
@gabriel-te7hb
@gabriel-te7hb Ай бұрын
is there any way to make the screen have a fade out animation after everything loads?
@randombusdude
@randombusdude 9 ай бұрын
so thats why my past GUIs have never covered the full screen and left the space at the top...
@UnexpectedPlay
@UnexpectedPlay 5 ай бұрын
I'm working on a game with a bunch of levels and so by the time you get to level 2 all the other assets in the game have already loaded. and so i wanna know how i'd make it so the script only loads the assets in level , the player/sounds and animations
@hlflifeenjoyer6176
@hlflifeenjoyer6176 Жыл бұрын
finally i was looking for this
@Ash_Can0706
@Ash_Can0706 2 ай бұрын
Hey! Does anyone know whether or not it would be better to use task.wait() rather than just wait()? I've been told it's better, but is it something i should use in this system?
@tsaritsaarchon
@tsaritsaarchon Ай бұрын
i am Scripter For years and i am improving myself. and i learned "task.wait()" function last month. You must delete all your "wait()" function and replace to "task.wait()" because; ------------------------------------------------------------------------------------------------------------------------------------------------------- 1. Performance • "task.wait()" is more performance-friendly and optimized for modern game engine practices. *Roblox has specifically improved this function, making it more stable.* • "wait()" is an older function and less efficient. It can cause performance issues if used frequently. ------------------------------------------------------------------------------------------------------------------------------------------------------- 2. Timing Accuracy • "task.wait()" is generally more precise and consistent. It adheres more closely to the specified delay time. • "wait()" may experience timing deviations, especially in games with heavy loads or on slower devices. ------------------------------------------------------------------------------------------------------------------------------------------------------- 3. Recommended Usage • *Roblox recommends using "task.wait()" in new projects.* "wait()" is still supported for backward compatibility but should be avoided in modern development. ------------------------------------------------------------------------------------------------------------------------------------------------------- When Should You Use Them? If you’re writing new code, always prefer "task.wait()". While you might see "wait()" in older projects, replacing it with "task.wait()" will make your scripts more robust and future-proof.
@RiskyVR8
@RiskyVR8 7 ай бұрын
Thanks man that really helped!
@TheDomshere
@TheDomshere 5 ай бұрын
it didn't work and for some reason stopped my other scripts in the game from working
@loco12330
@loco12330 3 ай бұрын
why dont i have the startergui option in my explorer
@Exety_Studios
@Exety_Studios 5 ай бұрын
I wanted to make a loading screen like, hellmet, example: Software.drive(0/2) Media.videoPlayer(0/3) (player entered).exe loaded.system.exe(3/3) (updating the software)(0/10) loaded.
@desire-zs1rr
@desire-zs1rr 10 ай бұрын
You helped me so Much thank you..
@huskyYTreal
@huskyYTreal 10 ай бұрын
This was really helpful! I tried the game and it worked like a charm.
@WeekendGames-PC
@WeekendGames-PC 3 ай бұрын
i did it but when i load in i dont see the loading screen, i dont know if its the coding or my pc
@raininthesedan
@raininthesedan Жыл бұрын
Yo! Sick vid jus gonna say tho for future vids instead of string concat i suggest interpolation! Roblox added support for it. So ui:WaitForChild('Frame'):WaitForChild('TextLabel').Text = i..'/'..maxAssets Could just be ui:WaitForChild('Frame'):WaitForChild('TextLabel').Text = `{i}/{maxAssets}` Also wait() was deprecated by task.wait()! Jus wanted to tell u! Amazing vid overall nice teaching style :)
@the_red_gamer
@the_red_gamer Жыл бұрын
Loading screens just slow down the game loading time
@TheDevelopmentHive
@TheDevelopmentHive Жыл бұрын
it does, but id rather have a loading screen on lets say, ERLC and wait than everything be invisibile
@nightttroblox
@nightttroblox 2 ай бұрын
Wait how am I supposed to fill the whole screen because when I test on iPad, it doesn’t fill the whole screen.
@Rob-wm6ef
@Rob-wm6ef 7 ай бұрын
worked for me! thanks!
@catalyzd
@catalyzd 6 ай бұрын
how do I make it if the preloadasync has been loading for longer than 10 seconds, it allows the player to skip the loading?
@iamberlan
@iamberlan Жыл бұрын
Are you able to, I guess say, "multithread" load - like have multiple loading bars at once? I feel like preloadasync is only going to slow things down since its only loading one asset at a time.
@byteblox100
@byteblox100 Жыл бұрын
Yeah, you can use task.spawn() to create separate multithreaded functions and then you can just use preloadasync but filter out the items that you don’t want the loading screen to count (something like “if itemToLoad:IsA(“Part”) then continue end” will make the loading screen ignore all items that are parts)
@urfavmeshell
@urfavmeshell 8 ай бұрын
i did this but my code didnt work, i went thru a code checker too.. not sure why roblox isnt telling me i have any errors and i checked repasted etc. like 15 times. maybe next time i guess
@JacobHatesGaming
@JacobHatesGaming 8 ай бұрын
thx you just saved me lots of time
@BrickShortsYT
@BrickShortsYT 7 ай бұрын
how could i add music to this loading screen?
@randomhuman69420
@randomhuman69420 Жыл бұрын
bring back the challenge every video!
@reyanshkk684
@reyanshkk684 11 ай бұрын
My loading screen doesn’t appear
@thecannonman6182
@thecannonman6182 Жыл бұрын
clutch vid as always
@PAM_VR
@PAM_VR 9 ай бұрын
This is the script: local contentProvider = game:GetService("ContentProvider") local ui = script:WaitForChild("ScreenGui"):Clone() repeat wait() until game:IsLoaded() local assets = game:GetDescendants() local maxAssets = #assets local plr = game.Players.LocalPlayer local plrGui = plr:WaitForChild("PlayerGui") ui.Parent = plrGui for i, assetToLoad in assets do contentProvider:PreloadAsync({assetToLoad}) ui:WaitForChild("Frame"):WaitForChild("TextLabel").Text = i.."/"..maxAssets end wait(1) ui:Destroy()
@secondaryrainau
@secondaryrainau 4 ай бұрын
thanks :D
@Anthony-uz5lo
@Anthony-uz5lo 2 ай бұрын
God bless you! The script before didn't work until I discoveed this comment!
@BDCrbx
@BDCrbx 2 ай бұрын
thx bro helps me alot
@TripAnime5687
@TripAnime5687 2 ай бұрын
ty it helped me
@lLiekSo
@lLiekSo 5 ай бұрын
i liek this video, teaches me good stuff 👍
@Teaflake
@Teaflake 5 ай бұрын
for some reason in my big game it stops randomly just before loading e.g "4800/5000" is there anything i can do to stop this?
@Teaflake
@Teaflake 5 ай бұрын
nvm it was a script that i didnt need thanks for the video
@saada5369
@saada5369 11 ай бұрын
Hi, um the loading screen works but when I remove parts, the max parts get higher on the game, do you know anything about that
@byteblox100
@byteblox100 11 ай бұрын
That’s beyond me. Roblox does a lot of stuff in secret, so maybe when you remove an item it adds like 3 more for some reason
@StrayNoblek
@StrayNoblek Жыл бұрын
Unsure if its my PC loading fast. though my GUI doesn't show up
@ItzAustyn
@ItzAustyn 4 ай бұрын
tysm it worked..!
@nothingnessclone6748
@nothingnessclone6748 5 ай бұрын
it doesnt work for me why.
@rockyes3239
@rockyes3239 Жыл бұрын
I have subbed a few videos ago
@MonitorFrames
@MonitorFrames Жыл бұрын
Can you make a loading bar?
@byteblox100
@byteblox100 Жыл бұрын
Yeah, you can just increase its length whenever a new asset loads
@Myhomeworkatemydog123
@Myhomeworkatemydog123 12 күн бұрын
it just freezes randomly
@FlaminFish750
@FlaminFish750 3 ай бұрын
7470 obj and it takes 25 seconds to load 😭😭😭
@FlaminFish750
@FlaminFish750 3 ай бұрын
imagine putting "assets:Destroy()" 💀💀💀
@Laraignee-pv2se
@Laraignee-pv2se 2 ай бұрын
incredible tutorial
@Munchie-m5p
@Munchie-m5p 2 ай бұрын
lol it worked! amazing!
@L1s3rg1c
@L1s3rg1c Жыл бұрын
yo nice but can you make it so while its loading the player cant walk and has invincibility?
@byteblox100
@byteblox100 Жыл бұрын
Yeah just fire a remoteevent to the server whenever a player finishes loading all of their assets, and you can modify their speed and give them immunity (you can do that by giving the character an Instance called something like “SpawnShield”)
@pexoz5040
@pexoz5040 Жыл бұрын
give them a forcefield till the gui is gone and then destroy it
@stpguy123
@stpguy123 5 ай бұрын
What if I want it to direct me to a Main Menu after?
@PokeOrHarry
@PokeOrHarry 4 ай бұрын
You should just be able to put the Main menu UNDER(visually) the loading screen. Though if you are going to do this I suggest making it a bit fancy so adding a tween to make the ui swipe out of frame then destroy or make it slowly be transparent to 1.
@tactik3
@tactik3 Жыл бұрын
doesn't work in my game, the number just freezes after a couple seconds. It seems to work in a normal baseplate though which is a bit strange
@aleksandarharalanov
@aleksandarharalanov Жыл бұрын
sounds like a potato on batteries for a computer issue
@NotROYT
@NotROYT 2 ай бұрын
for me nothing pops up
@ChildTerminator
@ChildTerminator 6 ай бұрын
The number get stuck at 1066 for some reason. I believe I followed everything correctly. Could someone help me please?
@solevxii
@solevxii 10 ай бұрын
either my pc is too good for this loading screen or what but i dont even seen the gui at all, maybe its broken idk
@aleksi789
@aleksi789 8 ай бұрын
your script is broken then because it should have the waits
@softalmonds4842
@softalmonds4842 7 ай бұрын
Thanks bro
@NotOmegaZ3133
@NotOmegaZ3133 Жыл бұрын
Erm, it doesnt work for me. Mind helping me?
@frensyyo
@frensyyo 9 ай бұрын
thanks
@tekgewet
@tekgewet Жыл бұрын
time to remake crosswoods!!! :trollface:
@Adam-Jordan69
@Adam-Jordan69 10 ай бұрын
ur comment is stupid ngl because some games with " loader" are just like numbers and aint waiting for game to actully load like all they do is "1/30" and wym time to remake crosswoods i have even tried and if u are srs and gonna try to remake crosswoods using this loader you cant because your coding skills are trash enough for you to search up how to make a loader trust me its almost impossible to make crosswoods i have tried 2 TIMES
@jonesb2383
@jonesb2383 11 ай бұрын
How do I make it, so it can be activated by script? Becasue I am making smth that requires the entire map being reloaded, but I cant figure out how I can make the Loading Screen activate then
@martin_taavet
@martin_taavet 9 ай бұрын
Put thenloading screen script into modulescript, then just call it from there when you have to
@theperfecttroller
@theperfecttroller Жыл бұрын
i was worried he was gonna abbreviate content provider like he does tweenservice (ts) 😨
@exuxious
@exuxious 8 ай бұрын
I wanted to know if anyone can help me with this... the code works perfectly but I have a main menu gui and it just goes over the loading screen. how do I make it so the main menu gui only appears when it's finished loading?
@aleksi789
@aleksi789 8 ай бұрын
maybe change zindex or something
@user1asdawa
@user1asdawa 11 ай бұрын
mine just stops at 12523 why
@byteblox100
@byteblox100 11 ай бұрын
Assuming you copied the code correctly; it might be an issue with your pc. Sometimes an item doesn’t load fully because of the device and so the loading screen gets stuck
@user1asdawa
@user1asdawa 11 ай бұрын
it works now, somehow my assets got from 21k to 1.1k but alright ty@@byteblox100
@JustJ22534
@JustJ22534 8 ай бұрын
for me it only shows 0/0 - why
@ethanlolz
@ethanlolz 5 ай бұрын
same
@Naxyyll
@Naxyyll 5 ай бұрын
for some reason it didnt work
@Dark_Wither1
@Dark_Wither1 9 ай бұрын
But I did subscribe:)
@Highseepkuq
@Highseepkuq 11 ай бұрын
dosen`t work for me :/
@goober2407
@goober2407 10 ай бұрын
So the script is working for the most part, but its telling me that PreLoadAsync is not a valid member of ContentProvider. does ayone have any insightful info or fixes?
@aleksi789
@aleksi789 8 ай бұрын
you mispelled the function name
@Dark_Wither1
@Dark_Wither1 9 ай бұрын
It won’t work for me :(
@abbenz8812
@abbenz8812 9 ай бұрын
send me your code
@dampytofficial
@dampytofficial Жыл бұрын
No
@vatherium
@vatherium 2 ай бұрын
i think roblox removed ingoregulinset its not there anymore
@tsaritsaarchon
@tsaritsaarchon Ай бұрын
what it does? what is it for
@MeatMake
@MeatMake Жыл бұрын
Why is there 1252 assets in the baseplate though? lol
@TheDevelopmentHive
@TheDevelopmentHive Жыл бұрын
serverscriptservice and mainly roblox files that even developers cant really see
@Tundrawabit
@Tundrawabit 3 ай бұрын
local ui = script:WaitForChild("ScreenGui"):Clone()
@hypersecret6288
@hypersecret6288 7 ай бұрын
I dont know why im watching this, i dont even have a pc or laptop
@312erutaerC
@312erutaerC 9 ай бұрын
Thanks!