So, I've got this script and everything done and when i test it i can hear the music. But when i tested it in game with a player only i could hear the music playing.
local MOUSE_ICON = 'rbxasset://textures/GunCursor.png'
local RELOADING_ICON = 'rbxasset://textures/GunWaitCursor.png'
local g = Instance.new("Hint",workspace)
local Tool = script.Parent
local Mouse = nil
local function UpdateIcon()
if Mouse then
Mouse.Icon = Tool.Enabled and MOUSE_ICON or RELOADING_ICON
end
end
local function OnEquipped(mouse)
script.Alarm:Play()
g.Text ="THE FINAL BOSS HAS BEEN SPAWNED!!!"
wait(5)
g:Remove()
script.Alarm:Stop()
script.Final:Play()
Mouse = mouse
UpdateIcon()
end
local function OnChanged(property)
if property == 'Enabled' then
UpdateIcon()
end
end
Tool.Equipped:connect(OnEquipped)
Tool.Changed:connect(OnChanged)
This script is held as a localscript, i was thinking its because of that but it seems like i have no other way of making it work. i need it so that when the tool is acquired the g.Text shows and the music can be heard by everyone, i also have a problem with the g.Text only showing for me too.

2 comments
Set SoundService.RespectFilteringEnabled to false, or use a RemoteEvent to make the server play the sound as well as display the hint message.
No, never set RespectFilteringEnabled to false. It's lazy and opens a door for exploiters to play any sound in the workspace at any time.