This commit is contained in:
lx
2026-07-06 14:01:11 -04:00
commit c4f97d729d
16468 changed files with 935321 additions and 0 deletions
@@ -0,0 +1,20 @@
--[[
A simple sound component
Props:
SoundName : string - The name of the sound
]]
local RobloxGui = game:GetService("CoreGui").RobloxGui
local Modules = RobloxGui.Modules
local Roact = require(Modules.Common.Roact)
local GlobalSettings = require(Modules.Shell.GlobalSettings)
return function(props)
local soundName = props.SoundName
local soundsUrl = GlobalSettings.Sounds[soundName]
return Roact.createElement('Sound',
{
SoundId = soundsUrl
})
end