UpDownLeftRight

FNF: Psych engine Floating character script v.2

Dec 16th, 2021
1,133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. function onUpdate()
  2.  
  3. if curStep >= 0 then
  4.  
  5. songPos = getSongPosition()
  6.  
  7. local currentBeat = (songPos/1000)*(bpm/80)
  8.  
  9. doTweenY(dadTweenY, 'dad', 200-20*math.sin((currentBeat*0.50)*math.pi),0.001)
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment