Guest User

Reality Breaking SCRIPT BY TAGEEM

a guest
Mar 5th, 2022
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.64 KB | None | 0 0
  1. local FillValueX = false;
  2. local FillValueY = false;
  3. local modchartStart = true;
  4. local modchartX = 2;
  5. local modchartY = 5;
  6.  
  7. local stupidAss = 1;
  8. local DumbAss = 1;
  9.  
  10. function onCreate()
  11. setProperty('camHUD.zoom', 5)
  12. doTweenZoom('beginfrlol', 'camHUD', 1, 10, 'cubeOut')
  13. setProperty('camHUD.angle', 2)
  14. local randomIntX = math.random(2, 6)
  15. local randomIntY = math.random(2, 10)
  16. end
  17.  
  18. function onUpdate(elasped)
  19. songPos = getSongPosition()
  20. local currentBeat = (songPos/100)/(curBpm/70)
  21. if modchartStart == true then
  22. noteTweenY('defaultPlayerStrumY0', 4, defaultPlayerStrumY0 + modchartY * math.cos((currentBeat+1)+300), 0.001)
  23. noteTweenY('defaultPlayerStrumY1', 5, defaultPlayerStrumY1 + modchartY * math.cos((currentBeat+2)+300), 0.002)
  24. noteTweenY('defaultPlayerStrumY2', 6, defaultPlayerStrumY2 + modchartY * math.cos((currentBeat+3)+300), 0.003)
  25. noteTweenY('defaultPlayerStrumY3', 7, defaultPlayerStrumY3 + modchartY * math.cos((currentBeat+4)+300), 0.004)
  26. noteTweenX('defaultPlayerStrumX0', 4, defaultPlayerStrumX0 + modchartX * math.sin((currentBeat+1)+300), 0.001)
  27. noteTweenX('defaultPlayerStrumX1', 5, defaultPlayerStrumX1 + modchartX * math.cos((currentBeat+2)+300), 0.002)
  28. noteTweenX('defaultPlayerStrumX2', 6, defaultPlayerStrumX2 + modchartX * math.sin((currentBeat+3)+300), 0.003)
  29. noteTweenX('defaultPlayerStrumX3', 7, defaultPlayerStrumX3 + modchartX * math.cos((currentBeat+4)+300), 0.004)
  30.  
  31. noteTweenY('defaultOpponentStrumY0', 0, defaultOpponentStrumY0 - modchartY * math.cos((currentBeat+1)+300), 0.001)
  32. noteTweenY('defaultOpponentStrumY1', 1, defaultOpponentStrumY1 - modchartY * math.cos((currentBeat+2)+300), 0.002)
  33. noteTweenY('defaultOpponentStrumY2', 2, defaultOpponentStrumY2 - modchartY * math.cos((currentBeat+3)+300), 0.003)
  34. noteTweenY('defaultOpponentStrumY3', 3, defaultOpponentStrumY3 - modchartY * math.cos((currentBeat+4)+300), 0.004)
  35. noteTweenX('defaultOpponentStrumX0', 0, defaultOpponentStrumX0 - modchartX * math.sin((currentBeat+1)+300), 0.001)
  36. noteTweenX('defaultOpponentStrumX1', 1, defaultOpponentStrumX1 - modchartX * math.cos((currentBeat+2)+300), 0.002)
  37. noteTweenX('defaultOpponentStrumX2', 2, defaultOpponentStrumX2 - modchartX * math.sin((currentBeat+3)+300), 0.003)
  38. noteTweenX('defaultOpponentStrumX3', 3, defaultOpponentStrumX3 - modchartX * math.cos((currentBeat+4)+300), 0.004)
  39.  
  40.  
  41. --noteTweenAngle('defaultOpponentStrumY0', 0, defaultOpponentStrumY0 + modchartY * math.cos((currentBeat+1)+300), 0.001)
  42. --noteTweenAngle('defaultOpponentStrumY1', 1, defaultOpponentStrumY1 + modchartY * math.cos((currentBeat+2)+300), 0.002)
  43. --noteTweenAngle('defaultOpponentStrumY2', 2, defaultOpponentStrumY2 + modchartY * math.cos((currentBeat+3)+300), 0.003)
  44. --noteTweenAngle('defaultOpponentStrumY3', 3, defaultOpponentStrumY3 + modchartY * math.cos((currentBeat+4)+300), 0.004)
  45. --noteTweenAngle('defaultOpponentStrumX0', 0, defaultOpponentStrumX0 + modchartX * math.sin((currentBeat+1)+300), 0.001)
  46. --noteTweenAngle('defaultOpponentStrumX1', 1, defaultOpponentStrumX1 + modchartX * math.cos((currentBeat+2)+300), 0.002)
  47. --noteTweenAngle('defaultOpponentStrumX2', 2, defaultOpponentStrumX2 + modchartX * math.sin((currentBeat+3)+300), 0.003)
  48. --noteTweenAngle('defaultOpponentStrumX3', 3, defaultOpponentStrumX3 + modchartX * math.cos((currentBeat+4)+300), 0.004)
  49. end
  50.  
  51. if FillValueX == true then
  52. modchartX = modchartX + 0.1
  53. end
  54.  
  55. if FillValueY == true then
  56. modchartY = modchartY + 0.1
  57. end
  58.  
  59. if modchartX >= 30 then
  60. FillValueX = false;
  61. end
  62.  
  63. if modchartY >= 40 then
  64. FillValueY = false;
  65. end
  66.  
  67. doTweenAngle('ooooWtf?', 'camHUD', -2 * 2 * math.sin((currentBeat+1)+300), 0.005)
  68. end
  69.  
  70. function onBeatHit()
  71. if curBeat % 2 == 0 then
  72. stupidAss = -DumbAss;
  73. else
  74. stupidAss = DumbAss;
  75. end
  76.  
  77. if curBeat >= 67 then
  78. cancelTween('beginfrlol')
  79. doTweenZoom('OhSHIT', 'camGame', 1.2, 2, 'cubeOut')
  80. end
  81.  
  82. if curBeat >= 122 then
  83. cancelTween('OhSHIT')
  84. doTweenZoom('OhSHIT2', 'camGame', 0.4, 2, 'quadOut')
  85. end
  86.  
  87. if curBeat >= 124 then
  88. cancelTween('OhSHIT2')
  89. cancelTween('beginfrlol')
  90. doTweenZoom('YourFucked', 'camGame', 2, 0.5, 'quadIn')
  91. end
  92.  
  93. if curBeat >= 126 then
  94. cancelTween('YourFucked')
  95. doTweenZoom('YourFucked2', 'camGame', 0.9, 0.5, 'quadOut')
  96. end
  97.  
  98. if curBeat == 128 then
  99. cancelTween('YourFucked2')
  100. FillValueX = true;
  101. FillValueY = true;
  102. end
  103.  
  104. if curBeat >= 512 then
  105. doTweenZoom('PHEWWW', 'camHUD', 10, 3, 'quadOut')
  106. end
  107. end
  108.  
  109.  
  110. function opponentNoteHit()
  111. triggerEvent('Screen Shake', '0.1, 0.01', '0.1, 0.01');
  112. health = getProperty('health')
  113. if health > 0.1 then
  114. setProperty('health', health - 0.03);
  115. end
  116. end
Add Comment
Please, Sign In to add comment