How to make a naruto dojutsu using 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!

Aug 14, 2021
10
0
1
18
Hello!

So I am making a naruto server and I want to make a skript where I have at least 1 of the 3 great dojutsu

Byakugan gives speed 2 and strength 1 to user and glowing to everyone else

Sharingan gives glowing to everyone else and speed 2, jump boost 2 and strength

Rinnegan allows you to pull people towards you, push other people and teleport people to sky and freeze them there for a few seconds.

You use the abilities by right clicking and to switch the ability for the rinnegan you left click
 
how would you gain the abilities? By walking on a certain block or getting a certain item or something?
 
Not tested but the skunity parser didn't return any errors.
Code:
options:
    byakuganTimer: 1 minute
    sharinganTimer: 1 minute

on drop of blaze rods:
    if name of event-item is "Byakugan" or "Sharingan":
        cancel event

on rightclick with blaze rods:
    if name of event-item is "Byakugan":
        remove event-item from player's inventory
        apply potion of swiftness of tier 2 to player for {@byakuganTimer}
        apply potion of strength of tier 1 to player for {@byakuganTimer}
        apply potion of glowing of tier 1 to player for {@byakuganTimer}
    if name of event-item is "Sharingan":
        remove event-item from player's inventory
        loop all players:
            if loop-player is not player:
                apply potion of swiftness of tier 2 to loop-player for {@sharinganTimer}
                apply potion of jump boost of tier 2 to loop-player for {@sharinganTimer}
                apply potion of strength of tier 1 to loop-player for {@sharinganTimer}
                apply potion of glowing of tier 1 to loop-player for {@sharinganTimer}

command /dojutsu <text> <player>:
    permission: op
    usage: "/dojutsu (byakugan/sharingan) (player)"
    trigger:
        if arg-1 is "byakugan":
            give arg-2 blaze rod named "Byakugan"
        else if arg-1 is "sharingan":
            give arg-2 blaze rod named "Sharingan"
        else:
            send "Use the following format: /dojutsu (byakugan/sharingan) (player)"
Hope you like it! And if you do please leave a reaction to show the appreciation!
 
Not tested but the skunity parser didn't return any errors.
Code:
options:
    byakuganTimer: 1 minute
    sharinganTimer: 1 minute

on drop of blaze rods:
    if name of event-item is "Byakugan" or "Sharingan":
        cancel event

on rightclick with blaze rods:
    if name of event-item is "Byakugan":
        remove event-item from player's inventory
        apply potion of swiftness of tier 2 to player for {@byakuganTimer}
        apply potion of strength of tier 1 to player for {@byakuganTimer}
        apply potion of glowing of tier 1 to player for {@byakuganTimer}
    if name of event-item is "Sharingan":
        remove event-item from player's inventory
        loop all players:
            if loop-player is not player:
                apply potion of swiftness of tier 2 to loop-player for {@sharinganTimer}
                apply potion of jump boost of tier 2 to loop-player for {@sharinganTimer}
                apply potion of strength of tier 1 to loop-player for {@sharinganTimer}
                apply potion of glowing of tier 1 to loop-player for {@sharinganTimer}

command /dojutsu <text> <player>:
    permission: op
    usage: "/dojutsu (byakugan/sharingan) (player)"
    trigger:
        if arg-1 is "byakugan":
            give arg-2 blaze rod named "Byakugan"
        else if arg-1 is "sharingan":
            give arg-2 blaze rod named "Sharingan"
        else:
            send "Use the following format: /dojutsu (byakugan/sharingan) (player)"
Hope you like it! And if you do please leave a reaction to show the appreciation!
[doublepost=1652953405,1652953371][/doublepost]
Not tested but the skunity parser didn't return any errors.
Code:
options:
    byakuganTimer: 1 minute
    sharinganTimer: 1 minute

on drop of blaze rods:
    if name of event-item is "Byakugan" or "Sharingan":
        cancel event

on rightclick with blaze rods:
    if name of event-item is "Byakugan":
        remove event-item from player's inventory
        apply potion of swiftness of tier 2 to player for {@byakuganTimer}
        apply potion of strength of tier 1 to player for {@byakuganTimer}
        apply potion of glowing of tier 1 to player for {@byakuganTimer}
    if name of event-item is "Sharingan":
        remove event-item from player's inventory
        loop all players:
            if loop-player is not player:
                apply potion of swiftness of tier 2 to loop-player for {@sharinganTimer}
                apply potion of jump boost of tier 2 to loop-player for {@sharinganTimer}
                apply potion of strength of tier 1 to loop-player for {@sharinganTimer}
                apply potion of glowing of tier 1 to loop-player for {@sharinganTimer}

command /dojutsu <text> <player>:
    permission: op
    usage: "/dojutsu (byakugan/sharingan) (player)"
    trigger:
        if arg-1 is "byakugan":
            give arg-2 blaze rod named "Byakugan"
        else if arg-1 is "sharingan":
            give arg-2 blaze rod named "Sharingan"
        else:
            send "Use the following format: /dojutsu (byakugan/sharingan) (player)"
Hope you like it! And if you do please leave a reaction to show the appreciation!


Does it need any skript addons?