function getFormatTps():string:
set {_tps::*} to tps
set {_tps} to "&a%{_tps::1}%" if {_tps::1} > 19 else "&c%{_tps::1}% serwer ma przeciazenie"
command /tps [<text>]:
trigger:
set {_chest} to chest inventory with 1 rows named "&eTPS"
set slot 4 of {_chest} to light green wool named "&6TPS" with lore "&7Tps: %getFormatTps()%"
open {_chest} to player
while name of event-inventory is "&eTPS":
set slot 4 of {_chest} to light green wool named "&6TPS" with lore "&7Tps: %getFormatTps()%"
wait second
co do , to musisz zmienic w ustawieniach skripta