Jump to content

Twenjooooooooooo

Member
  • Posts

    24
  • Joined

  • Last visited

Posts posted by Twenjooooooooooo

  1. command /reaction:
        trigger:
            open virtual chest with 6 rows named "&9&l        Reaction Time" to player
            set {_1} to random integer between 0 and 53
            set {_2} to -1
            loop 54 times:
                add 1 to {_2}
                format gui slot {_2} of player with red wool with no nbt named "&c&lNOPE!" with lore "&c&lDONT CLICK ME!" to run:
                    player command "lost"
            format gui slot {_1} of player with green wool with no nbt named "&9&lAIM TRAINER" with lore "&a&lCLICK ME!" to run:
                player command "reaction"
    command /lost:
        trigger:
            open virtual chest with 6 rows named "&9&l        Chance Time" to player
            set {_3} to random integer between 0 and 53
            set {_4} to -1
            loop 54 times:
                add 1 to {_4}
                format gui slot {_4} of player with red wool with no nbt named "&c&lNOPE!" with lore "&c&lDONT CLICK ME!" to run:
                    player command "lost"
            format gui slot {_3} of player with green wool with no nbt named "&9&lAIM TRAINER" with lore "&a&lCLICK ME!" to run:
                player command "reaction"

  2. 2 hours ago, MrScopes said:

    here's a non bad version of this

    
    every second:
        loop all players:
            add 1 second to {playtime::%loop-player's uuid%}
    
    function time(t: text) :: text:
        set {_n} to {_t}
        replace all " seconds" and " second" with "s" in {_n}
        replace all " minutes" and " minute" with "m" in {_n}
        replace all " hours" and " hour" with "h" in {_n}
        replace all " days" and " day" with "d" in {_n}
        replace all " and " with " " in {_n}
        return {_n}
    
    command /playtime [<offlineplayer>]:
        trigger:
            set {_p} to arg 1 ? player
            set {_u} to {_p}'s uuid
            if {playtime::%{_u}%} is not set:
                send "&cThat user is not registered."
            else:
                set {_time} to time("%{playtime::%{_u}%}%")
                send ""
                send " &3%{_p}'s playtime: &7%{_time}%"
                send ""

     

    bruh

  3. 16 hours ago, XXXCanadian said:

    changing %player% to %uuid of player% would just broadcast the players uuid you keep %player% and change %player's uuid% to %uuid of player%

    That's why you display it as %{yourvariable::%player's uuid%}%

  4. On 6/15/2019 at 4:21 PM, Swayl said:

    Mining PvP servers are bad...

    Idle Servers are bad...

    Oh my god.. UMiningPvP! how are we gonna call that demented bullcrap?!

    unminingpvp is fucking terrible, it hurts my eyes to see it on top player list like YIKESSSSSSSSSSSSSSSSSSS

  5. 9 hours ago, Toro said:

    Untitled-3.png.b55406ed0cfb401bf0aa1c6ec34e86fe.png

    Ranks is a skript which creates ranks with a prefix in the chat. That's basically it.

    Untitled-3.png.bfe6d4f0b0ccd0ae7e0aefefd47d2f65.png

    
    # Note: np = No permission. p = Prefix.
    
    options:
    	np: &6&lRANKS &8| &cNo permission.
    	p:	&6&lRANKS &8|
            
    command /rank [<text>] [<offline player>] [<text>]:
        permission: ranks.rank
        permission message: {@np}
        aliases: grant, setrank
        trigger:
            if argument 1 is not set:
                send "&6&m&l--------------------------------------------------"
                send "&e/rank set (player) (rank) &8» &7Sets a player's rank."
                send "&e/rank list &8» &7Shows a list of all the groups on the server."
                send "&e/rank info &8» &7Shows info about the Skript."
                send "&6&m&l--------------------------------------------------"
            else if argument 1 is "set":
                if argument 2 is set:
                    if argument 3 is "Administrator" or "Admin":
                        set {rank.%arg 2%} to "&c&lADMIN&c"
                        send "{@p} &e%arg-2%'s &7rank is now to set to &c&lADMIN&7."
                        send "{@p} &7Your rank has been set to &c&lADMIN&7." to argument 2
                    if argument 3 is "Mod" or "Moderator":
                        set {rank.%arg 2%} to "&e&lMOD&e"
                        send "{@p} &e%arg-2%'s &7rank is now to set to &e&lMOD&7."
                        send "{@p} &7Your rank has been set to &e&lMOD&7." to argument 2
                    if argument 3 is "Helper" or "Support":
                        set {rank.%arg 2%} to "&b&lHELPER&b"
                        send "{@p} &e%arg-2%'s &7rank is now to set to &b&lHELPER&7."
                        send "{@p} &7Your rank has been set to &b&lHELPER&7." to argument 2
                    if argument 3 is "default":
                        set {rank.%arg 2%} to "&7"
                        send "{@p} &e%arg-2%'s &7rank is now to set to &7default."
                        send "{@p} &7Your rank has been set to &7default." to argument 2
                    if argument 3 is not "default", "Helper", "Support", "Moderator", "Mod", "Admin" or "Administrator":
                        send "{@p} &7That is not a role. Do &e/rank list &7to see the roles available."
                else:
                    send "{@p} &7Please specify a user to set the rank for."
            else if argument 1 is "list":
                send "&6&m&l--------------------------------------------------"
                send "&4&lOWNER &8&l» &7Has every permission."
                send "&c&lADMIN &8&l» &7Has every permission."
                send "&6&lSR.MOD &8&l» &7Has every permission."
                send "&c&lMOD &8&l» &7Has punishment and gamemode permissions."
                send "&6&lSR.MOD &8&l» &7Has kick and fly permissions."
                send "&7default &8&l» &7Not much."
                send "&6&m&l--------------------------------------------------"
            else if argument 1 is "info":
                send "&6&m&l--------------------------------------------------"
                send "&7This Ranks Skript was created by"
                send "&eToroVoro."
                send "&6&m&l--------------------------------------------------"
    
    on chat:
        set chat format to "%{rank.%player%}% %player% &8&l» &7%message%"
                    	

     

    You can youse "::" and "uuid" Example: set {rank::%arg-2's uuid%} to "&c&lADMIN&c"

  6. every second:
        loop all players:
            add 1 to {s::%loop-player's uuid%}
            if {s::%loop-player's uuid%} > 59:
                remove 60 from {s::%loop-player's uuid%} 
                add 1 to {m::%loop-player's uuid%}
            if {m::%loop-player's uuid%} > 59:
                remove 60 from {m::%loop-player's uuid%}
                add 1 to {h::%loop-player's uuid%}
            if {h::%loop-player's uuid%} > 23:
                remove 24 from {h::%loop-player's uuid%}
                add 1 to {d::%loop-player's uuid%}
    
    command /playtime [<offlineplayer>]:
        trigger:
            arg isn't set:
                wait 1 tick
                send ""
                send "&f&l    YOUR PLAYTIME (&7&l%player%&f)"
                send ""
                send "&f&l  SECONDS:&7 %{s::%player's uuid%}%"
                send "&f&l  MINUTES:&7 %{m::%player's uuid%}%"
                send "&f&l  HOURS:&7 %{h::%player's uuid%}%"
                send "&f&l  DAYS:&7 %{d::%player's uuid%}%"
                send ""
            else:
                wait 1 tick
                send ""
                send "&f&l    PLAYTIME OF &7&l%arg%"
                send ""
                send "&f&l  SECONDS:&7 %{s::%arg's uuid%}%"
                send "&f&l  MINUTES:&7 %{m::%arg's uuid%}%"
                send "&f&l  HOURS:&7 %{h::%arg's uuid%}%"
                send "&f&l  DAYS:&7 %{d::%arg's uuid%}%"
                send ""
    

     

  7. command /sc:
        trigger:
            player has permission "staffchat":
                {staffchat::%player's uuid%} = false:
                    set {staffchat::%player's uuid%} to true
                    send "&7Now talking in staff chat"
                else:
                    set {staffchat::%player's uuid%} to false
                    send "&7No longer talking in staff chat"
            else:
                send "&7No permissions"

    chat:
        {staffchat::%player's uuid%} = true:
            cancel event
            send "&9&lSTAFFCHAT&b %player%:&7 %message%" to all players where [input has permission "staffchat"]

  8. Just now, Twenjii said:

    command /bc [<text>]:
        trigger:
            player has permission "broadcast.admin":
                arg is set:
                    broadcast ""
                    broadcast "&b&lANNOUNCEMENT:&f&l %colored arg%"
                    broadcast ""
                else:
                    send "&7Please type a argument to broadcast"
            else:
                send "&cNo permissions to use this command!"

     

    You can also change what it says, the permission and all of it, everything within "permissions" - "broadcast" and "send" are all customable!

    "Never copy other skripts" - Twenjii ❤️

  9. command /bc [<text>]:
        trigger:
            player has permission "broadcast.admin":
                arg is set:
                    broadcast ""
                    broadcast "&b&lANNOUNCEMENT:&f&l %colored arg%"
                    broadcast ""
                else:
                    send "&7Please type a argument to broadcast"
            else:
                send "&cNo permissions to use this command!"

     

    You can also change what it says, the permission and all of it, everything within "permissions" - "broadcast" and "send" are all customable!

×
×
  • Create New...