Jump to content

Recommended Posts

Posted (edited)

Features:


-Weather set to rain

-Weather set to thunder

 

command /gui:
    trigger:
        set {_gui} to a new chest inventory with 6 row with name "Weather Menu"
        set slot 0 of {_gui} to snowball named "Rain"
        set slot 1 of {_gui} to feather named "Thunder"
        open {_gui} to player
 
on inventory click:
    if name of event-inventory is "Weather Menu":
        if index of event-slot = 0:
            cancel event
            send "&bRainnn!!!!!"
            set weather to rain
on inventory click:
    if name of event-inventory is "Weather Menu":
        if index of event-slot = 1:
            cancel event
            send "&1Thunder!!!!"
            set weather to thunder


Edited by Pix3lPanos

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...