Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Could someone make this short chat voice script play sounds locally?

Asked by 5 years ago

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)

0
hmmm, i'm not sure if roblox has local sounds..... try doing some research starmaq 1290 — 5y
1
If it is not a local script, make it a local script. DeceptiveCaster 3761 — 5y
0
^ starmaq 1290 — 5y

Answer this question