FluffySheep291

animation code

Sep 3rd, 2025
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.15 KB | None | 0 0
  1. cube = CreateSprite("cube_angry")
  2. cube.Move(0, 0)
  3. cube.SetPivot(0.5, 0)
  4.  
  5. function AnimateRob()
  6.     cube.Scale(1, 1 + math.sin(Time.time) * 0.03)
  7. end
Advertisement
Add Comment
Please, Sign In to add comment