Advertisement
Jousway

Global Tap Note.lua

Jun 3rd, 2012
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.54 KB | None | 0 0
  1. --Fire Wolfman now!
  2.  
  3. local NFrame;
  4. if Var "Button" == "Left White" or Var "Button" == "Right White" then NFrame = 4;
  5. elseif Var "Button" == "Left Yellow" or Var "Button" == "Right Yellow" then NFrame = 3;
  6. elseif Var "Button" == "Left Green" or Var "Button" == "Right Green" then NFrame = 2;
  7. elseif Var "Button" == "Left Blue" or Var "Button" == "Right Blue" then NFrame = 1;
  8. else NFrame = 0;
  9. end;
  10.  
  11. local t = Def.ActorFrame {
  12.     Def.Sprite {
  13.         Texture=NOTESKIN:GetPath( '_N', 'Parts' );
  14.         Frame0000=NFrame;
  15.         Delay0000=1;
  16.     };
  17. };
  18. return t;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement