SHARE
TWEET

Untitled

tinyevil Mar 16th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. info.effect_container:runFX(
  2.     fx.timescale(
  3.         1.5,
  4.         fx.set(icon_container:scaleX(), 0),
  5.         fx.set(icon_container:scaleY(), 0)
  6.     )
  7.     ..
  8.     fx.lua(function()
  9.         Server:call("loot.collect", {id = reward.loot_id})
  10.     end)
  11.     ..
  12.     fx.timescale(
  13.         2.0,
  14.         fx.set(icon_container:scaleX(), fx.spline(0.6, {0.1, 1.5}, {0.3, 1.15}, 1)),
  15.         fx.set(icon_container:scaleY(), fx.spline(0.6, {0.1, 1.5}, {0.3, 1.15}, 1))
  16.     )
  17.     ..
  18.     (
  19.         fx.wait(0.3)
  20.         ..
  21.         fx.timescale(
  22.             0.2,
  23.             fx.set(icon_container:alpha(), fx.spline(1, 0)),
  24.             fx.set(icon_container:y(), fx.spline(0, -100))
  25.         )
  26.     )
  27.     ..
  28.     fx.lua(component:callback(function()
  29.         icon_container:dispose()
  30.     end))
  31. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top