Solved Selected hotbar slot and select hotbar slot

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

    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.

kittkarrkitt

Supporter
Jan 4, 2021
33
0
6
Hi, I need to know how to make someone's selected hotbar slot 0-8 be moved to a specified one when the player joins. Its for a lobby/hub skript. Lets take an example from CubeCraft and Hypixel: When you join Cubecraft, your selected slot will automaticaly be moved to the 4th slot and if you join Hypixel it is automaticaly moved to the first slot (slot 0) so every player will have the game menu infront of him/her. I'd also like to know, how to check if a player has a specific slot selected so for example something will only work if the item is placed in a specific slot. I know that it can be done with JavaScript, but I hope its possible with Skript aswell.

INFORMATION:
upload_2021-1-29_20-33-46.png


EXAMPLES:
CubeCraft:
upload_2021-1-29_20-31-54.png

Hypixel:
upload_2021-1-29_20-32-24.png
 
Status
Not open for further replies.