Paste #67822: Edit of P#67818 - Edit of P#67817 - Untitled Paste

Date: 2020/04/21 01:02:31 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


animation_stick:
  type: item
  material: stick
  lore:
  - a stick that makes all your animations come true
animation:
  type: world
  events:
    on player right clicks with animation_stick:
    - yaml id:<player.flag[animationname]> `set animation:->:<context.location>/<context.material>`
    on player drops animation_stick:
    - yaml savefile:<player.flag[animationname]>.yml id:<player.flag[animationname]>
    on animate command:
    - yaml create id:<player.flag[animationname]>
    - give animation_stick