Jump to content

Help me with Skript


AbioticTitan947

Recommended Posts

I have skript but I'm not very good at it, so I'm asking yous because I'm stupid because you're better at skript than me. So, here's a list of skripts I want .  . .  . Also I might add some more

 

Super Vanish- A skript that's pretty much super vanish 

Block Break Speed Changer- A way to make certain blocks take longer/less time to mine. And if possible make it based on the world, although that might not be possible

Breakable bedrock- Pretty self-explanatory

Team Based Chat Change- This means a way to change the chat format based on team.

Nickname Chat Change- This basically means How do I make it show a players nickname instead of username?

Holographic Text- A skript to make holographic text, self-explanatory

Silk Touch Block Break- A skript to auto-smelt iron ore and gold ore unless the tool has silk touch

Remember to stay inside and save lives 

Edited by SomebodyIdk
Added a wanted skript
Link to comment
Share on other sites

heres a skript for breakable bedrock 🙂

on block damage:
    if event-block is bedrock:
        wait 1 second     # <--- Change the 1 second to the amount of time you want it to take for the bedrock to break (can go to 0.01)
        set event-block to air

>> [VIP] Cool Boy <<
Minehut Member since July 2017

Link to comment
Share on other sites

a skript for nickname

commnad /nick [<text>]:
    trigger:
        if arg-1 is set:
            set player's displayname to "%player's prefix% %arg-1%"
        else:
          send "&cPlease put in a nickname!"
           
           
           
on chat:
    set message format to "%player's displayname% %message%"

i recommend going on to Skunity forums for help

people there are obviously really good at skript

Link to comment
Share on other sites

On 6/10/2020 at 4:27 AM, XAlpaca_23 said:

a skript for nickname


commnad /nick [<text>]:
    trigger:
        if arg-1 is set:
            set player's displayname to "%player's prefix% %arg-1%"
        else:
          send "&cPlease put in a nickname!"
           
           
           
on chat:
    set message format to "%player's displayname% %message%"

i recommend going on to Skunity forums for help

people there are obviously really good at skript

I didnt know there was such thing as skunity .                       .

But also thx

Edited by SomebodyIdk
Link to comment
Share on other sites

Some Skripts you mentioned are available at sites like SkUnity or Spigot, but also https://skriptify.xyz/ has scripts that may help you out. Or if you are lazy enough to not open such pages, there is also a Script Releases section on this forum, so you can probably scrape some scripts there!

not gonna self advertise but I do have a Nick script if you need one

It would be 256952237757169664.png.d18a09670746c6c6079d9c16a0ee3647.png if you could upvote my post if you found it helpful.

image.png.beca96975a3b4f2ba756ddf6d7eebbb2.png

Link to comment
Share on other sites

idk what team based chat change but i think it means prefixes for teams so here u go!

 

command /team <offlineplayer> <text>:
    usage: &b/team <player> <team>
    permission: team.give
    trigger:
        if arg-1 is online:
            if arg-2 is "blue":
                if {blueteam.%arg-1%} is not set:
                    set {blueteam.%arg-1%} to "set"
                    send "&aPut &4%arg-1% &aon &9Blue Team!"
                    delete {redteam.%arg-1%}
                    arg-1 is not player:
                        send "&4%player% &aSet your team to &9Blue Team!" to arg-1
                        stop
                    else:
                        stop
                else:
                    send "&cPlayer is already on &9Blue Team!"
                    stop
            if arg-2 is "red":
                if {redteam.%arg-1%} is not set:
                    set {redteam.%arg-1%} to "set"
                    send "&aPut &4%arg-1% &aon &cRed Team!"
                    delete {blueteam.%arg-1%}
                    arg-1 is not player:
                        send "&4%player% &aSet your team to &cRed Team!" to arg-1
                        stop
                    else:
                        stop
                else:
                    send "&cPlayer is already on &cRed Team!"
                    stop
            else:
                send "&aValid teams are &9Blue &aand &cRed"
                stop
        else:
            send "&cPlayer is offline!"
            stop
on chat:
    if {redteam.%player%} is "set":
        cancel event
        broadcast "&c[RED] &7%player%&7: %message%"
        stop
    if {blueteam.%player%} is "set":
        cancel event
        broadcast "&9[BLUE] &7%player%&7: %message%"
        stop
    else:
        cancel event
        broadcast "&7[NONE] %player&7: %message%"
        stop
command /teamchat <text>:
    usage: &b/teamchat <text>
    trigger:
        if {blueteam.%player%} is "set":
            loop all players:
                if {blueteam.%loop-player%} is "set":
                    send "&b[TEAMCHAT] &7%player%&7: %message%" to loop-player
                    stop
                else:
                    stop
        if {redteam.%player%} is "set":
            loop all players:
                if {redteam.%loop-player%} is "set":
                    send "&c[TEAMCHAT] &7%player%&7: %message%" to loop-player
                    stop
                else:
                    stop
        else:
            send "&cYour not in a team!"
            stop
#HOPE YOU LIKE IT 😄
                

 

teams.txt

Edited by OMGPandaYT2
Link to comment
Share on other sites

  • 2 weeks later...
On 6/13/2020 at 10:47 PM, OMGPandaYT2 said:

idk what team based chat change but i think it means prefixes for teams so here u go!

 

command /team <offlineplayer> <text>:
    usage: &b/team <player> <team>
    permission: team.give
    trigger:
        if arg-1 is online:
            if arg-2 is "blue":
                if {blueteam.%arg-1%} is not set:
                    set {blueteam.%arg-1%} to "set"
                    send "&aPut &4%arg-1% &aon &9Blue Team!"
                    delete {redteam.%arg-1%}
                    arg-1 is not player:
                        send "&4%player% &aSet your team to &9Blue Team!" to arg-1
                        stop
                    else:
                        stop
                else:
                    send "&cPlayer is already on &9Blue Team!"
                    stop
            if arg-2 is "red":
                if {redteam.%arg-1%} is not set:
                    set {redteam.%arg-1%} to "set"
                    send "&aPut &4%arg-1% &aon &cRed Team!"
                    delete {blueteam.%arg-1%}
                    arg-1 is not player:
                        send "&4%player% &aSet your team to &cRed Team!" to arg-1
                        stop
                    else:
                        stop
                else:
                    send "&cPlayer is already on &cRed Team!"
                    stop
            else:
                send "&aValid teams are &9Blue &aand &cRed"
                stop
        else:
            send "&cPlayer is offline!"
            stop
on chat:
    if {redteam.%player%} is "set":
        cancel event
        broadcast "&c[RED] &7%player%&7: %message%"
        stop
    if {blueteam.%player%} is "set":
        cancel event
        broadcast "&9[BLUE] &7%player%&7: %message%"
        stop
    else:
        cancel event
        broadcast "&7[NONE] %player&7: %message%"
        stop
command /teamchat <text>:
    usage: &b/teamchat <text>
    trigger:
        if {blueteam.%player%} is "set":
            loop all players:
                if {blueteam.%loop-player%} is "set":
                    send "&b[TEAMCHAT] &7%player%&7: %message%" to loop-player
                    stop
                else:
                    stop
        if {redteam.%player%} is "set":
            loop all players:
                if {redteam.%loop-player%} is "set":
                    send "&c[TEAMCHAT] &7%player%&7: %message%" to loop-player
                    stop
                else:
                    stop
        else:
            send "&cYour not in a team!"
            stop
#HOPE YOU LIKE IT 😄
                

 

teams.txt 1.8 kB · 1 download

Thx I changed it to team Night & Day btw

(I nick myself Night×Day)

Link to comment
Share on other sites

  • 2 weeks later...

Here you go, enjoy!
 

options:
    quickbreak: "stone" or "dirt" or "grass block" #use same format or will not work
    worlds: "world1" or "world2" #same format aswell

on block damage:
    if event-block is {@quickbreak}:
        player's world is {@worlds}:
        wait 1 seconds
            set event-block to air


 

Link to comment
Share on other sites

#you can keep adding on to it 🙂

options:
    quickbreak: "stone" or "dirt" or "grass block" #use same format or will not work
    worlds: "world1" or "world2" #same format aswell
    stonetool: wooden pickaxe or stone pickaxe #quick to mine stone
    coaltool: stone pickaxe or iron pickaxe #quick to mine coal

on block damage:
     player's world is {@worlds}:
         event-block is "stone":
              player's tool is {@stonetool}:
                  wait 1 seconds
                  set event-block to air
              stop
           stop
        event-block is "dirt":
            wait 5 ticks
            set event-block to air
            stop
        event-block is "coal ore"
            player's tool is {@coaltool}:
                wait 1.5 seconds
                set event-block to air

Edited by OMGPandaYT2
bug
Link to comment
Share on other sites

  • 4 weeks later...
command /vanish:
  permission: skript.vanish
  permission message: &7[&aLitevanish&7] &fYou do not have permission to do this!
  aliases: /v
  trigger:
    if {vanish::%player's uuid%} is false:
#change these groups to ones you have or remove groups u dont have
      hide player from all players where [input's group = "default"]
      hide player from all players where [input's group = "vip"]
      hide player from all players where [input's group = "vip+"]
      hide player from all players where [input's group = "Group_name"]
      hide player from all players where [input's group = "Group_name"]
      send "&7[&aSuperVanish&7] &fYou are now vanished!" to player
      set {vanish::%player's uuid%} to true
      loop all players:
        loop-player has permission "vanish.see":
          reveal all players to player
    else if {vanish::%player's uuid%} is not set:
#change these groups to ones you have or remove groups u dont have
      hide player from all players where [input's group = "default"]
      hide player from all players where [input's group = "vip"]
      hide player from all players where [input's group = "vip+"]
      hide player from all players where [input's group = "Group_name"]
      hide player from all players where [input's group = "Group_name"]
      send "&7[&aSuperVanish&7] &fYou are now vanished!" to player
      set {vanish::%player's uuid%} to true
      loop all players:
        loop-player has permission "vanish.see":
          reveal all players to player
    else if {vanish::%player's uuid%} is true:
      reveal player from all players
      send "&7[&aSuperVanish&7] &fYou are no longer vanished!" to player
      set {vanish::%player's uuid%} to false

on player join:
  if {vanish::%player's uuid%} is true:
    hide player from all players
    send "&7[&aSuperVanish&7] &fYou are still in vanish!"
  loop all players:
    loop-player has permission "vanish.see":
      reveal all players to player
every second:
  loop all players:
    loop-player has permission "vanish.see":
      reveal all players to player
    {vanish::%loop-player's uuid%} is set:
       send action bar "&aYou are vanished!" to loop-player

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...