Instances
BasicSound
A built-in sound instance that can play globally or emit spatially from a BasePart.
Properties
| Name | Type | Description |
|---|---|---|
Sound | Enum.BasicSound.SoundName | Built-in sound selection. Use values such as Enum.BasicSound.MonkeyParty rather than a string. |
Volume | number | Playback volume from 0 through 4. |
Looped | boolean | When true, the sound repeats continuously while Playing is true. |
Playing | boolean | Controls whether playback is active. |
RolloffMaxDistance | number | Maximum spatial hearing distance in studs. Spatial sounds begin fading immediately with distance and reach silence at this distance. |
Built-in sounds
| Name | Type | Description |
|---|---|---|
Enum.BasicSound.BubblePop | BubblePop | Original built-in BubblePop sound. |
Enum.BasicSound.MonkeyParty | Monkey Party | Built-in Monkey Party track. |
Enum.BasicSound.AquaFrenzy | Aqua Frenzy | Built-in Aqua Frenzy track. |
Enum.BasicSound.PartyMusic | Party Music | Built-in Party Music track. |
Enum.BasicSound.Chiptronical | Chiptronical | Built-in Chiptronical track. |
Enum.BasicSound.ZeroProject | Zero Project | Built-in Zero Project track. |
Enum.BasicSound.JingleBells | Jingle Bells | Built-in Jingle Bells track. |
Enum.BasicSound.SantaMagic | Santa Magic | Built-in Santa Magic track. |
Enum.BasicSound.SpookyGames | Spooky Games | Built-in Spooky Games track. |
Enum.BasicSound.MysticalHalloween | Mystical Halloween | Built-in Mystical Halloween track. |
Enum.BasicSound.HalloweenSpook | Halloween Spook | Built-in Halloween Spook track. |
Enum.BasicSound.HolidaySpirit | Holiday Spirit | Built-in Holiday Spirit track. |
Enum.BasicSound.MorningMood | Morning Mood | Additional BasicSound preset name. |
Enum.BasicSound.GymnopedieNo1 | Gymnopédie No. 1 | Additional BasicSound preset name. |
Enum.BasicSound.Lacrimosa | Lacrimosa | Additional BasicSound preset name. |
Enum.BasicSound.Hallelujah | Hallelujah | Additional BasicSound preset name. |
Enum.BasicSound.HallOfTheMountainKing | Hall of the Mountain King | Additional BasicSound preset name. |
Enum.BasicSound.TheEntertainer | The Entertainer | Additional BasicSound preset name. |
Enum.BasicSound.Invincible | Invincible | Additional BasicSound preset name. |
Enum.BasicSound.CurbYourEnthusiasm | Curb Your Enthusiasm | Additional BasicSound preset name. |
Enum.BasicSound.EntryOfTheGladiators | Entry of the Gladiators | Additional BasicSound preset name. |
Enum.BasicSound.DistractionDance | Distraction Dance | Additional BasicSound preset name. |
Enum.BasicSound.YouGotJebaited | You Got Jebaited | Additional BasicSound preset name. |
Sound uses Enum.BasicSound.SoundName values. For example: Enum.BasicSound.AquaFrenzy.BasicSound presets are built into Glorpia. No external audio folder or runtime sound file is required.
Methods
| Name | Type | Description |
|---|---|---|
Play() | method | Sets Playing to true. |
Pause() | method | Sets Playing to false. |
Stop() | method | Sets Playing to false and uses the same playback-state behavior as Pause(). |
Spatial and global playback
| Name | Type | Description |
|---|---|---|
Under a BasePart | spatial | The nearest BasePart ancestor is the 3D emitter. Horizontal direction follows the emitter's camera-relative screen position, transitions smoothly between ears, and keeps some signal in the opposite ear. Distance attenuation begins immediately. |
Workspace / no BasePart ancestor | global | Plays evenly in both channels. Camera direction, listener distance and RolloffMaxDistance do not spatialize the sound. |
A BasicSound may be directly parented to a Part or placed inside a Folder or Model beneath that Part. Glorpia walks upward to the nearest BasePart and uses its world position as the emitter.
Spatial sounds fade continuously with distance. RolloffMaxDistance is the distance where the sound becomes silent.
BasicSound does not preview in Studio Edit mode. Playback is active during Play and in the Glorpia App/runtime.
Example: spatial sound in a Part
Luau
local sound = Instance.new("BasicSound")
sound.Sound = Enum.BasicSound.MonkeyParty
sound.Volume = 1
sound.Looped = true
sound.RolloffMaxDistance = 100
sound.Parent = script.Parent
sound:Play()This is spatial when
script.Parent is a BasePart.Example: global Workspace sound
Luau
local music = Instance.new("BasicSound")
music.Sound = Enum.BasicSound.AquaFrenzy
music.Volume = 0.5
music.Looped = true
music.Parent = workspace
music:Play()Because the sound has no BasePart ancestor, every listener hears it as centred non-spatial audio.
Replication
BasicSound is authoritative runtime state. Changes made by a ServerScript or through supported Studio Server-view live editing replicate to clients, and clients play the replicated sound state.