- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register








The script repo is an archive of historical scripts. For modern scripts, or to post your own, please use the Scripts forum section.





Staff Pick: Flide


By mcmonkey
Created: 2016/07/15 10:12:23 UTC-07:00 (8 years and 161 days ago)
Edited: 2016/07/18 18:48:51 UTC-07:00 (8 years and 158 days ago)
Likes: 1

Staff pick as of: 2016/07/15 10:12:41 UTC-07:00 (8 years and 161 days ago)
Denizen Version: 0.9.8
Script Version: 1.5
Description:

Flide into the skyde!

/flide or /flide2

Requires Minecraft 1.10+


Download script | View raw script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
5300

flide_cmd:
    type: command
    debug: false
    name: flide
    description: Flide into the skyde!
    usage: /flide
    permission: denizen.flide
    script:
    - if !<player.has_permission[denizen.flide]||false> {
      - narrate "<&c>Nope!"
      - queue clear
      }
    - actionbar "<gold>Launching! Hold sneak to land!"
    - adjust <player> velocity:0,2,0
    - wait 14t
    - adjust <player> gliding:true
    - while <player.is_online.and[<player.is_on_ground.not>].and[<player.gliding>].and[<player.is_sneaking.not>]> {
      - wait 1t
      - adjust <player> velocity:<player.location.direction.vector.mul[2]>
      }
flide2_cmd:
    type: command
    debug: false
    name: flide2
    description: Flide into the skyde! v2.0!
    usage: /flide2
    permission: denizen.flide2
    script:
    - if !<player.has_permission[denizen.flide2]||false> {
      - narrate "<&c>Nope!"
      - queue clear
      }
    - actionbar "<gold>Launching! Hold sneak to land!"
    - adjust <player> velocity:0,2,0
    - wait 14t
    - adjust <player> gliding:true
    - while <player.is_online.and[<player.is_on_ground.not>].and[<player.gliding>].and[<player.is_sneaking.not>]> {
      - wait 1t
      - define vel <player.velocity.add[<player.location.direction.vector.mul[0.05]>]>
      - if <def[vel].vector_length> > 2.5 {
        - define vel <def[vel].div[<def[vel].vector_length>].mul[2.5]>
        }
      - adjust <player> velocity:<def[vel]>
      }

flide_version:
  type: version
  name: Flide
  id: 101
  description: Flide into the skyde!
  version: 1.5






View History