ANYONE KNOW HOT TO MAKE ITEMS GLOW IN SKRIPT

  • 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!

Lynxszn

Member
Apr 25, 2025
27
0
1
Im trying to make items glow here would be an example and Im just using skript and skbee:
IGNORE THE GUI JUST LOOK AT THE SET SLOTS



#THIS WILL POP UP IN A GUI FOR THE KITS
command /cpvpkits:
cooldown: 4 hours
cooldown message: "&4Wait every 4 hours to use this command"
aliases: /cpvpk
trigger:
open chest inventory with 3 rows called "&5CPVP Kits" to player
wait 1 tick
set slot 13 of player's current inventory to glowing obsidian named "&5Starter Cpvp Kit"
set slot 11 of player's current inventory to glowing end crystal named "&5Grinder Cpvp Kit"
set slot 15 of player's current inventory to glowing respawn anchor named "&6GOD KIT"





on inventory click:
if name of event-inventory is "&5CPVP Kits":
cancel event
if index of event-slot is 11:
give player 32 end crystals, 32 obsidian, 32 respawn anchors, 32 glowstone




on inventory click:
if name of event-inventory is "&5CPVP Kits":
cancel event
if index of event-slot is 13:
give player 48 end crystals, 48 obsidian, 48 respawn anchors, 48 glowstone




on inventory click:
if name of event-inventory is "&5CPVP Kits":
cancel event
if index of event-slot is 15:
give player netherite sword of knockback 1, 64 obsidian, 64 respawn anchors, 64 glowstone, 64 end crystals, totem of undying
 
#THIS WILL POP UP IN A GUI FOR THE KITS
command /crystalkits:
cooldown: 4 hours
cooldown message: "&4Wait every 4 hours to use this command"
cooldown bypass: op
aliases: /cpvpk
trigger:
open chest inventory with 1 row named "&5CrystalKits" to player
wait 1 tick
set slot 11 of player's current inventory to glowing obsidian named "&5Starter CPVP Kit"
set slot 13 of player's current inventory to glowing respawn anchor named "&5Grinder Kit"
set slot 15 of player's current inventory to glowing end crystal named "&6GOD KIT"
on inventory click:
if name of event-inventory is "&5CPVP Kits":
cancel event
if index of event-slot is 11:
give player 32 end crystals, 32 obsidian, 32 respawn anchors, 32 glowstone




on inventory click:
if name of event-inventory is "&5CPVP Kits":
cancel event
if index of event-slot is 13:
give player 48 end crystals, 48 obsidian, 48 respawn anchors, 48 glowstone




on inventory click:
if name of event-inventory is "&5CPVP Kits":
cancel event
if index of event-slot is 15:
give player netherite sword of knockback 1, 64 obsidian, 64 respawn anchors, 64 glowstone, 64 end crystals, totem of undying


THE ERRORS SAY ON LINES 11/12/ AND 13 THAT A SLOT CAN'T BE SET TO "glowing respawn anchor named "&5Grinder kit" AND SMTH LIKE THAT ON THE OTHER 2 LINES