Solved Level Needed

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

AdenR84

Active Member
Sep 4, 2023
112
1
18
I Have This:
on damage of pig:
if attacker's level is greater than 1:
broadcast "Test"
But i need something that works that makes if the level is lower pls help anyone
 
Last edited:
here :\
Code:
on damage of pig:
    if attacker's level is greater than 1:
        broadcast "Test"
    else:
        broadcast "WHY"
 
i have this
on damage:
name of attacker's tool is "&f&lWool Sword &f&l✪"
if attacker's level is smaller than 1:
cancel event
send "&cYou are to low level to use that weapon!" to attacker
else: it says else needs to be placed after another if or else statement
 
on damage:
name of attacker's tool is "&f&lWool Sword &f&l✪" (4 spaces)
everything has 4 spaces
 
oh no you can make them all the same amount but here
Code:
on damage:
    if name of attacker's tool is "&f&lWool Sword &f&l✪":
        if attacker's level is smaller than 1:
            cancel event
            send "&cYou are to low level to use that weapon!" to attacker
        else:
 
so i need help with at is an attack skript so i use that and it will work?