Advertisement
Dbloxia

Hi Song on "Hi"

Jun 22nd, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. sound = script.Sound
  2. game.Players.PlayerAdded:Connect(function(player)
  3. player.Chatted:Connect(function(message)
  4. if sound.IsPlaying == false then
  5. if message == "Hi" then
  6. sound.SoundId = "rbxassetid://1784385682"
  7. sound:Play()
  8. elseif message == "hi" then
  9. sound.SoundId = "rbxassetid://1784385682"
  10. sound:Play()
  11. end
  12. end
  13. end)
  14. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement