Advertisement
MarioMario456

The problematic script

Apr 16th, 2020
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. function foodsound()
  2.     Audio.PlaySound("snd_swallow")
  3.     timer = 0
  4.     function SetTimer()
  5.         timer = (timer + 1)
  6.         SetTimer()
  7.     end
  8.     SetTimer()
  9.     if (timer == 20) then
  10.         Audio.PlaySound("healsound", 0.88)
  11.     end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement