RP Games - wait for houses to load

Hi! So basically, what I am trying to achieve is a system like in Brookhaven, or Metro Life or any other RP games where you can select a house and it will create the house for you and it waits for the house to load before letting you in.

READ UNTIL END

Now, please note I am not asking on house to create the system since, I have already created it.

The way I create the house chosen by the user is by cloning the house model from ReplicatedStorage and it does take some time for the cloning to complete.

What I am asking for help with is how can I make it where it waits for the cloning of the house to complete before letting you inside of your plot?

If you need any specifications or clarifications, do not hesitate to ask. I am sorry if this post is unclear but do keep in mind this is my first post.

Cloning is instant (or atleast the server tries it’s best to do it as fast as possible).

What causes a wait is the replicated model getting streamed to the client (if not already streamed in). In many cases, the client has to download data for some assets.

You can probably preload the assets that just got cloned. When the ‘PreloadAsync()’ call finishes, you can assume the house is loaded in for that client.
Docs: ContentProvider | Documentation - Roblox Creator Hub

Would you mind giving me a code snippet? Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.