Advertisement
theflashplayer123

audio part

Mar 25th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. warn("Sound Part made by theflashplayer123 (NARWHAL sound)")
  2. local tool = Instance.new("Tool")
  3. local part = Instance.new("Part",tool)
  4. part.Material = "Wood planks"
  5. part.BrickColor = BrickColor.new("CGA brown")
  6. tool.Parent = game.StarterPack
  7. tool.Equipped:connect(function(equip)
  8. if equip then
  9. local sound = Instance.new("Sound",workspace)
  10. sound:Play()
  11. sound.Volume = 10
  12. sound.Looped = false
  13. sound.SoundId = "rbxassetid://130872377"
  14. sound.TimePosition = 2 or 5
  15. if not equip then
  16. sound:Stop()
  17. end
  18. end
  19. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement