Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How many (API:Class/ContentProvider/Preload) script can I put in the ReplicatedFirst?

Asked by
ImfaoXD 158
8 years ago

Can I include this scripts as many as I want in ReplicatedFirst? With different names on the script?

Like this: https://gyazo.com/31e6f0d293172616e3e7633e77e2fd21

local ContentProvider = Game:GetService("ContentProvider")

local function LoadAssets(AssetList)
    -- Takes an asset list and preloads it. Will not wait for them to load. 

    for _, AssetId in pairs(AssetList) do
        ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId)
    end
end

LoadAssets({2253543, 2434541, 5133543, 2423433, 41143243, 2453865, 21433365, 2154549})
0
There is no limitation of the number of objects that can be placed in ReplicatedFirst BlackJPI 2658 — 8y
0
Oh okay, good to know. Thanks good friend :) ImfaoXD 158 — 8y

Answer this question