Advertisement
Katchau01

EoC_Phase2_anim.lua

Aug 21st, 2020 (edited)
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. SetGlobal("SetSprite", 1)
  2. eyeofcthulhuphase2 = CreateSprite("Eye_of_Cthulhu_Phase2")
  3. eyeofcthulhuphase2.MoveTo(315,350)
  4. eyeofcthulhuphase2.SetAnimation({"Eye_of_Cthulhu_Phase2", "Eye_of_Cthulhu_Phase2_2", "Eye_of_Cthulhu_Phase2_3"}, 1/7)
  5. eyeofcthulhuphase2.color32 = {255, 0, 0}
  6.  
  7. function Animateeyeofcthulhuphase2()
  8.     eyeofcthulhuphase2.rotation = 10*math.sin(Time.time + 2)
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement