ChatSound = script.ChatSound

game.Players.PlayerAdded:Connect(function(player)

player.Chatted:Connect(function(message)

if ChatSound.IsPlaying == false then

if message == "Identify" then --Keep adding elseif if you want to add more sounds id

ChatSound.SoundId = "rbxassetid://2636268479"

ChatSound:Play()

elseif message == "Lel" then

ChatSound.SoundId = "rbxassetid://2636268479"

ChatSound:Play()

end

end

end)

end)

3 comments

0

hmmm, i'm not sure if roblox has local sounds..... try doing some research

1

If it is not a local script, make it a local script.

0

^