Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sound = script.Sound
- game.Players.PlayerAdded:Connect(function(player)
- player.Chatted:Connect(function(message)
- if sound.IsPlaying == false then
- if message == "Hi" then
- sound.SoundId = "rbxassetid://1784385682"
- sound:Play()
- elseif message == "hi" then
- sound.SoundId = "rbxassetid://1784385682"
- sound:Play()
- end
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement