Super-Nostalgia-Zone/Client/Music.client.lua

5 lines
208 B
Lua

local TeleportService = game:GetService("TeleportService")
local gameMusic = workspace:WaitForChild("GameMusic",10)
if gameMusic and TeleportService:GetTeleportSetting("AllowMusic") then
gameMusic:Play()
end