just said in #📜︱scripting-help-classic but ill say again here.
-- If you want everybody to hear, place in a normal script
---------------------------------------------------------
local Players = game:GetService('Players')
local Sound = -- ur sound here
Players.PlayerAdded:Connect(function(player)
player.Chatted:Connect(function(msg)
Sound:Play()
end)
end)
---------------------------------------------------------
-- If you want only the player to hear, place in local script
local Players = game:GetService('Players')
local LocalPlayer = Players.LocalPlayer
local Sound = -- ur sound here
LocalPlayer.Chatted:Connect(function(msg)
Sound:Play()
end)
---------------------------------------------------------