Block in GUI disappears after adding to run:

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

NotYellingRat

Member
Jan 26, 2021
1
0
1
I'm trying to make something happen after adding to run in my gui.
I see the block before I add "to run:" but when I add it the block disappears and I cant test the function. I've changed the block, checked the plugins, removed the function. It gives no errors its just "to run:"
I would appreciate help, thx

Plugins I have installed: skript, skript reflect, skript yaml, tuske

My code:
command /gui:
trigger:
wait 5 ticks
open virtual chest inventory with size 3 named "&9Menu" to player
format gui slot 11 of player with grass block named "&2Survival" to run:
set player's gamemode to survival
close player's inventory

(java 1.8.8)
 
Status
Not open for further replies.