#help: My Script Doesn't Work!

1 messages · Page 1 of 1 (latest)

spring ridge
#
on player move:
    # Set stone one block below the player
    set event-block to block below player
    
    # Set the block below the player to stone
    set y coordinate of {event-block} to (y coordinate of {event-block} - 1)
    set block at location of event-block to stone  
    
    # Loop to set blocks around the event-block (below the player) in a radius of 5 blocks
    loop blocks in radius 5 around event-block:
        set loop-block to block below loop-block  # Set blocks below the loop-block
        set loop-block to stone  # Set the blocks below to stone
    
    # Push the player forward
    push player forward at speed 0.1
tawdry ice
#

posting ai generated content is against the rules