Jump to content

nicoalla

Member
  • Posts

    20
  • Joined

  • Last visited

Posts posted by nicoalla

  1. here is my solution:

     

    on join:
        set {speed.%player%} to false
    every tick:
        loop all players:
            if lore of loop-player's boots contain "&4Speed II":

                if {speed.%loop-player%} is false:
                    apply swiftness of tier 2 to the loop-player for 9999 days
                    set {speed.%loop-player%} to true

  2. On 2/25/2022 at 4:36 PM, joeergfrgasrgreh said:

    nicolla i want to make a skript that generates particles around the player if a different player touches/goes in a radius they get damaged

     

    I made that you can resume and stop the flames by command:

     

    on join:
        set {show} to true
    every 5 ticks:
        loop all players:
            if {show} is true:
                show spawner flames at position of loop-player
                set {particles} to true
            
            
            if {particles} is true:
                damage all rabbits in radius 3 of loop-player where [input is not loop-player] by 2

    command /resumeflames:
        trigger:
            set {show} to true
    command /stopflames:
        trigger:
            set {show} to false
            set {particles} to false

  3. i have a solution for the sword. It's not exactly what you wanted but it works like you want.

    Explanation: I coded, that while a there are the flames around the player, every enemy get's damaged by a range of 3 and one heart every 3 minecraft ticks. You see, they don't get damaged by the particles but it works the same.

    You can't make a skript, tht knows when somethings hits the particles, because particles don't have a hitbox.

     

    on rightclick holding sword:
        if name of player's tool is "&c&lRoyal &7&lScepter":
            play mob spawner flames at position of player to the player
            set {makedamage} to true
            wait 1 second
            set {makedamage} to false
    every 3 ticks:
        loop all players:
            if {makedamage} is true:
                damage all playersin radius 3 of loop-player where [input is not loop-player] by 2

  4. i have made a prototype of it. it needs some messages but the main concept does work. I added a resetlist command because it was easier for the programming progress. When i got it all done, that will be removed 😉

     

    #A Script for a efriend system:


    #Add a efriend
    command /efriend <text> <player>:
        trigger:
            if arg 1 does not contain "add":
                send "&8&m                              "
                send "&4Write §3/efriend help §4 to see all command options" 
                send "&8&m                              "
                stop
            else:
                send "&9You send a friendrequest to %arg 2%!"
                send "<tooltip:Accepp:/efriendaccept                            Deny:/efrienddeny>&4%player%&9 send you a friend request!" to arg 2
                set {currentefriend} to "%arg 2%"
                stop


    #Accept a friend request

    command /efriendaccept:
        trigger:
            set {accept} to true
            add {currentefriend} to {efriendlist::*}
            send "&3%player% accepted your friendrequest!" to {currentefriend}

    #Deny a friendrequest

    command /efrienddeny:
        trigger:
            set {deny} to true
            send "&3%player% denied your friendrequest!" to {currentefriend}

    #Get a help menu
    command /efriendhelp:
        trigger:
            send "&eHelp menu:"
            send "&8&m                              "
            send "&3- &b/efriend help &7| Get to the help menu."
            send "&3- &b/efriend add <player> &7| Send a friendrequest to someone."
            send "&3- &b/efriendaccept &7| Accept a friend request."
            send "&3- &b/efrienddeny &7| Deny a friendrequest."
            send "&3- &b/efriendlist &7| See a list of all your efriends"
            send "&3- &b/efiriendremove <player> &7| Remove a  efriend of your efriendlist"
            send "&8&m                               "


    #Get to know if the request is dinied or accepted
    every second:
        loop all players:
            if {accept} is true:
                send "%{currentefriend}% accepted your friend request !" to loop-player
                send "You accepted the friend request!" to {currentefriend}
                set {accept} to false
                stop
            if {deny} is true:
                send "&4%{currentefriend}% &3denied your friendrequest!" to loop-player
                send "You denied the friend request!" to {currentefriend}
                set {currentefriend} to ""
                set {deny} to false
                stop

    #See your efriend list

    command /efriendlist:
        trigger:
            send "&8&m                              "
            send "&6&lYour friend list"
            send "%{efriendlist::*}%"
            send "&8&m                                 "

    #Remove a efriend
    command /efriendremove <player>:
        trigger:
            remove arg 1 from {efriendlist::*}
            send "&3You removed %arg 1% from your efriendlist!"
            send "&3You were removed by %player%!" to arg 1

    #Not making damage to friends
    on damaging:
        if {efriendlist::*} contains victim's tab list name:
            send "It's a friend!" to attacker
            cancel event
            stop

  5. I have a resolition for you skript. pls tell me, if it doesn't work on you minecraft worls. 😉

    I also added a command, that gives you the oportunity to give someone the "special" pickaxe.

     

     

     

     

    you have to have the addons: "Skript" and "Skript Addon: TuSKe"

     

     

     

    The actual Skript:

     

    on break of stone:
        player is holding a diamond pickaxe named "&4diamondpic":
            send "Stoned was mined" to player
            spawn a zombie at location of player


    command /giveoppic:
        trigger:
            give player diamond pickaxe named "&4diamondpic"

     

  6. command /suggestions:
        trigger:
            open virtual chest inventory with size 1 named "Nothing" to player
     

    I don't know if that is what you wanted but don't forget to download the addon tuske for a gui 🙂

×
×
  • Create New...