SmileyS

Polybattle sound script

Feb 9th, 2022
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. --[[
  2. AI Voice = https://murf.ai/ (web)
  3. Audio Editor = Audacity (app)
  4. Sound Composer and Scripter = TestAccount87000 (user)
  5. Devforum Helper = Volieb (user)
  6. --]]
  7.  
  8. local Crop = {
  9. Protect = {
  10. A = Vector2.new(0,1.427);
  11. B = Vector2.new(1.580,3.415);
  12. C = Vector2.new(3.568,5.301);
  13. D = Vector2.new(5.556,7.289);
  14. E = Vector2.new(7.595,9.124);
  15. F = Vector2.new(9.481,11.163);
  16. ['Escore the tank!'] = Vector2.new(58.974,60.350)
  17. };
  18. Elimate = {
  19. Opponent = Vector2.new(11.418,13.253);
  20. Vehicle = Vector2.new(13.406,15.241)
  21. };
  22. Losing = {
  23. ['Keep it up Soldier!'] = Vector2.new(15.546,17.177);
  24. ['Dont Give Up!'] = Vector2.new(17.381,18.707);
  25. ['Stay Strong Soldier!'] = Vector2.new(18.961,20.593)
  26. };
  27. EndGame = {
  28. Win = Vector2.new(20.949,22.733);
  29. Lost = Vector2.new(23.090,25.282)
  30. };
  31. Shot = {
  32. ['Nice Shot!'] = Vector2.new(25.588,26.913);
  33. Headshot = Vector2.new(27.168,28.238)
  34. };
  35. Capture = {
  36. A = Vector2.new(28.646,30.022);
  37. B = Vector2.new(30.328,32.010);
  38. C = Vector2.new(32.304,34.151);
  39. E = Vector2.new(36.292,37.821);
  40. F = Vector2.new(38.229,39.656);
  41. };
  42. Secure = {
  43. A = Vector2.new(39.911,42.916);
  44. B = Vector2.new(43.224,45.823);
  45. C = Vector2.new(46.384,49.035);
  46. E = Vector2.new(49.292,52.297);
  47. F = Vector2.new(52.756,55.508);
  48. };
  49. }
  50.  
  51. task.wait(2)
  52. for test1name, test1 in pairs(Crop) do
  53. for test2name, test2 in pairs(test1) do
  54. print('played '..test1name..':'..test2name)
  55. local selfSound = Instance.new('Sound',workspace)
  56. selfSound.SoundId = 'rbxassetid://8780076706'
  57. selfSound.TimePosition = test2.X
  58. selfSound.Looped = false
  59. selfSound:Play()
  60. selfSound.PlaybackSpeed = 0.85
  61. task.wait((test2.Y-test2.X)*1.15)-- 1.15 is for the speed
  62. selfSound:Stop()
  63. selfSound:Destroy()
  64. end
  65. end
Advertisement
Add Comment
Please, Sign In to add comment