Jump to content

Simple Skript not working?


Narratrr

Recommended Posts

this aint work, any help?

on rightclick on chest:
    if block under event-block is bedrock:
        wait 10 ticks
        set metadata tag "chest" of player to chest inventory with 3 rows named "&7Chestw"
        set slot 0 of metadata tag "chest" of player to dirt
        open (metadata tag "chest" of player) to player

IGN: LastMC

Discord: LastXD#7171

Rank: PRO

Join date: Monday - December - 23rd - 2019

Link to comment
Share on other sites

on right click on chest:
    if block under event-block is bedrock:
        wait 10 ticks
        set {_chest} to a new chest inventory with 6 row named "&7Chestw"
        set slot 0 of {_chest} to dirt
        open {_chest} to player

Above is the code I would use (not tested). 

It uses Skript's built-in gui creator.

Main MC account: Gam3rBoi (VIP in MH)

Alt MC account: *Gam3rBoi2147

Farcade server owner

Skripter with 6+ months experience + time learning coding concepts

Message me through the forums if you need anything!

Link to comment
Share on other sites

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...