Advertisement
Guest User

Untitled

a guest
May 24th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1.  
  2. finger = {
  3. index = {exists = true, colour = "blue", damage = 34, timer = 13}
  4. middle = {exists = true, colour = "blue", damage = 54, timer = 42}
  5. ring = {exists = true, colour = "blue", damage = 31, timer = 23}
  6. pinky = {exists = true, colour = "blue", damage = 94, timer = 70}
  7. }
  8.  
  9. function brokefingernail(nail)
  10. local tnail = finger(nail)
  11. finger[nail].exists = false
  12. tempTimer(tnail[2]+0.75, string.format("finger[nail].exists.%s[1] = true", nail))
  13. tempTimer(tnail[2]-2, string.format([[cecho(string.format("FINGER (<cyan>%%s<reset>) off cooldown in 2 seconds!", "%s")) ]], string.upper(nail)))
  14. tempTimer(tnail[2]+0.5, string.format([[cecho(string.format("FINGER (<cyan>%%s<reset>) is off cooldown!", "%s")) ]], string.upper(nail)))
  15.  
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement