PsionicBurst

Untitled

Aug 2nd, 2020
1,934
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ///CREATE EVENT
  2. price=10
  3.  
  4. ///MOUSE CLICK LEFT RELEASED EVENT
  5. if global.gold >= price
  6.         {
  7.         if (global.hp != global.maxhp)
  8.             {
  9.                 price += round((price * 0.2))
  10.                 global.gold -= min(price,0)
  11.                 global.hp += 10
  12.             }
  13.         }
  14.         else if global.hp >= global.maxhp
  15.         {
  16.             audio_play_sound(denied,0,false)
  17.             global.gold -= 0
  18.             global.hp -= 0
  19.         }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×