So im making this gui for my prison server (The server is on 1.8.9). and my skript wont work.
This is my code that works:
But when I add "to run" or "to close then run" it wont work
and in game it just says "&a&lKlik her &a| Hjelmen koster | &a100$" to close then run [make player execute command "test"] is not a text
This is my code that works:
code_language.skript:
Command /vs:
trigger:
open chest with 5 rows named "&2&lVagt Shop" to player
wait 1 tick
set slot 4 of player's current inventory to gold helmet named "&7&lC-Vagt Hjelm" with lore "&a&lKlik her &a| Hjelmen koster | &a100$"
command /test:
trigger:
make console execute command "/say test"
code_language.skript:
Command /vs:
trigger:
open chest with 5 rows named "&2&lVagt Shop" to player
wait 1 tick
set slot 4 of player's current inventory to gold helmet named "&7&lC-Vagt Hjelm" with lore "&a&lKlik her &a| Hjelmen koster | &a100$" to close then run [make player execute command "test"]
command /test:
trigger:
make console execute command "/say test"