What is wrong with my 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 comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Status
Not open for further replies.

DrKarma

Member
Jan 26, 2020
2
0
0
23
I got this skript from a friend recently and it isn't working
on first join:
{firstjoin::%player's uuid%} isn't set
execute console command "broadcast &bWelcome! &c%player%"
execute console command "give %player% Wooden_Pickaxe 1 {Unbreakable:1}"
set {firstjoin::%player's uuid%} to true
 
let me check that script out and im gonna fix it for you : )
[doublepost=1580040238,1580039297][/doublepost]First of all you dont need set first join when you already wrote it in code "On first join:"
second of all you can't make "unbreakable" pickaxe without addons so i gave pickaxe unbreaking 1000
Code:
on first join:
    broadcast "&7[&6BROADCAST&7] &bWelcome! &c%player%"
    give 1 wooden pickaxe of unbreaking 1000 to player
    stop

#This made me make it easier to test script. YOU CAN REMOVE CODE BELOW TO  #
command /firstjoin:
    permission: first.join
    trigger:
        broadcast "&7[&6BROADCAST&7] &bWelcome! &c%player%"
        give 1 wooden pickaxe of unbreaking 1000 to player
#This made me make it easier to test script. YOU CAN REMOVE CODE UPWARS TO #
 
let me check that script out and im gonna fix it for you : )
[doublepost=1580040238,1580039297][/doublepost]First of all you dont need set first join when you already wrote it in code "On first join:"
second of all you can't make "unbreakable" pickaxe without addons so i gave pickaxe unbreaking 1000
Code:
on first join:
    broadcast "&7[&6BROADCAST&7] &bWelcome! &c%player%"
    give 1 wooden pickaxe of unbreaking 1000 to player
    stop

#This made me make it easier to test script. YOU CAN REMOVE CODE BELOW TO  #
command /firstjoin:
    permission: first.join
    trigger:
        broadcast "&7[&6BROADCAST&7] &bWelcome! &c%player%"
        give 1 wooden pickaxe of unbreaking 1000 to player
#This made me make it easier to test script. YOU CAN REMOVE CODE UPWARS TO #
Thanks! I will test it when I can
 
Status
Not open for further replies.