Preload
This item only works when running on the client. ClientRequiresSchema
Preloaded sounds are built once, kept in SoundService.PreloadedSounds for the whole session, and loaded by
ContentProvider. Fetch clones them instead of building them, so they play without a delay.
Sounds tagged VluxySF_Preload in Studio are preloaded by Startup.InitClient. Use Selected to preload more at
runtime.
Functions
Get
print(VluxySF.Preload.Get())
Selected
This is a yielding function. When called, it will pause the Lua thread that called the function until a result is ready to be returned, without interrupting other scripts. YieldsPreload.Selected(...: string--
The sound names.
) → ()Preloads more sounds by name. Yields until they are loaded. A name that is already preloaded prints a warning.
VluxySF.Preload.Selected("Footstep", "Jump")