Solved Giving unbreakable items to new players

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

Prolav

Member
Mar 9, 2020
2
0
0
19
Hey, currently making a fishing server, and I'm having issues when trying to give a player a fishing rod which is unbreakable, when they first join. Does anyone know how to do that?

Code:
Code:
on join:
   if {fJoin.%player's uuid%} is not set:
      give player fishing rod
      add 1 to {totalJoinCount}
      broadcast "&3Welcome, &6%player% &3to &6&lFishHub! &6[&3##%{totalJoinCount}%&6]"
      set {fJoin.%player's uuid%} to false
 
No problem! Just make sure to mark the post as solved and maybe mark my post as best answer if you want? Anyhoo, have a good day!
 
Status
Not open for further replies.