View difference between Paste ID: ezyjVdDu and vFP3JvWg
SHOW: | | - or go back to the newest paste.
1
on rightclick:
2
    player is riding minecart
3-
    block infront of player is stone or cobblestone
3+
    block infront of player is stone
4-
    push player's vehicle upward at speed 0.5
4+
    push player's vehicle upward at speed 3
5
    loop blocks between block above block at player and block above the block 1 meters horizontal infront of player:
6
        loop-block is air
7
        set {_rail::%location of loop-block%} to location of loop-block
8
        set loop-block to rail
9
    push player's vehicle horizontal facing of player at speed 10
10
    wait 0.2 second
11
    loop {_rail::*}:
12
        set block at loop-value to air