Jump to content

More free skripts!


_BokBok_

Recommended Posts

can you make a skript where it ACTULLY crashes the players game eg:

command /crash [<player>]:

    permission: troll.crash

    permission message: haha no crashing for u!!!

    trigger:

        crash arg 1

        send "crashed %arg 1%" to player

 

Link to comment
Share on other sites

5 hours ago, Drpepperguy123 said:

Could you make a staff chat skript that is only triggered if you put # infront of the message?

I couldn't do # as it would mess up the skript because # ignores all the code after it in that line so I changed it to @message

 

command /sc <text>:
  permission: staffchat.use
  permission message: &cYou do not have access to use this command!
  trigger:
    loop all players:
      if loop-player has permission "staffchat.use":
        send "&8[&b&lS&3&lC&8] %player's prefix%&6%player%%player's suffix%&8: &e%colored arg-1%" to loop-player

on chat:
  if message starts with "@":
    if player has permission "staffchat.use":
      replace first "@" with " " in message
      cancel event
      make player say "/sc %message%"

  • Like 1

I make skripts... k.

Link to comment
Share on other sites

3 hours ago, EpicRayGunsOwO said:

can you make a skript where it ACTULLY crashes the players game eg:

command /crash [<player>]:

    permission: troll.crash

    permission message: haha no crashing for u!!!

    trigger:

        crash arg 1

        send "crashed %arg 1%" to player

 

There is no way to actually crash a player using skript. Also, I don't think Minehut staff would appriciate.

  • Like 1

I make skripts... k.

Link to comment
Share on other sites

  • 2 weeks later...
On 5/17/2020 at 2:41 PM, dragonrider9012 said:
On 5/17/2020 at 2:38 PM, dragonrider9012 said:

can u make a hub command that sends u to ul_hub because /hub goes to minehuts lobby (if it does work and doesnt override it)

if it doesnt can u make a /h or /l command

# This is to set the lobby location

command /setlobby:
  permission: op
  permission message: &cYou do not have permission to execute this command.
  trigger:
    set {lobby} to player's location
    send "&f[&a&lLOBBY&f] &aLobby has been set to %{lobby}%&a."

 

# These are the commands to get to the lobby

command /l:
  trigger:
    teleport player to {lobby}
    send "&aYou have been teleported to the lobby."

command /h:
  trigger:
    teleport player to {lobby}
    send "&aYou have been teleported to the hub."

 

Edited by _BokBok_

I make skripts... k.

Link to comment
Share on other sites

I apologize for potentially necroposting, but

I actually have that skript.
 

command /crash <player> [<text>]:
  permission: utrollplus.crash
  permission message: &6[&cUT+&6]&c You need utrollplus.crash!
  usage: &6[&cUT+&6] &4/crash <player> [reason]
  trigger:
    arg 2 is set:
      send title "&4Artificially crashed:" with subtitle "&c%arg 2%" to arg 1 for 5 seconds with fadein 0 seconds and fade out 0 seconds
      wait 1 tick
    execute console command "/execute as %arg 1% at @s run particle flame ~ ~ ~ 1 1 1 1 999999999 force @s"
    send "&aSuccessfully crashed &b%arg 1%&a!" to player
    arg 2 is set:
      broadcast "&6%arg 1%&c was crashed by &6%player%&c for &e%arg 2%"
On 5/4/2020 at 5:28 AM, EpicRayGunsOwO said:

can you make a skript where it ACTULLY crashes the players game eg:

command /crash [<player>]:

    permission: troll.crash

    permission message: haha no crashing for u!!!

    trigger:

        crash arg 1

        send "crashed %arg 1%" to player

Edited by EnderEyeGames
Link to comment
Share on other sites

On 5/4/2020 at 9:20 AM, Drpepperguy123 said:

Could you make a staff chat skript that is only triggered if you put # infront of the message?

I couldn't do # as it would mess up the skript because # ignores all the code after it in that line so I changed it to @message

 

command /sc <text>:
  permission: staffchat.use
  permission message: &cYou do not have access to use this command!
  trigger:
    loop all players:
      if loop-player has permission "staffchat.use":
        send "&8[&b&lS&3&lC&8] %player's prefix%&6%player%%player's suffix%&8: &e%colored arg-1%" to loop-player

on chat:
  if message starts with "@":
    if player has permission "staffchat.use":
      replace first "@" with " " in message
      cancel event
      make player say "/sc %message%"

I make skripts... k.

Link to comment
Share on other sites

10 hours ago, _BokBok_ said:

I couldn't do # as it would mess up the skript because # ignores all the code after it in that line so I changed it to @message

 

command /sc <text>:
  permission: staffchat.use
  permission message: &cYou do not have access to use this command!
  trigger:
    loop all players:
      if loop-player has permission "staffchat.use":
        send "&8[&b&lS&3&lC&8] %player's prefix%&6%player%%player's suffix%&8: &e%colored arg-1%" to loop-player

on chat:
  if message starts with "@":
    if player has permission "staffchat.use":
      replace first "@" with " " in message
      cancel event
      make player say "/sc %message%"

hey man, you can use #, it's just that in the code you need to use ## instead of # (it cancels the comment)

for example:

if message starts with "##"

also just a handy tip for the future, you can further compact your code like this:
 

send "test" to all players where [player input has permission "staffchat.use"]

 

  • Like 1

First Joined: July 2015
VIP: January 2020
Jr.Mod: 1st April 2020
Mod: 16th July 2020

Info:

~ Skript Developer
~ Discord: @nicholxs#0001
~ Previous names: Nichxlxs, Deterno, iHaveSkills, Retrical

Link to comment
Share on other sites

On 5/20/2020 at 1:07 PM, dragonrider9012 said:

Iam stuck on 1 part of my script, 

 

 On world change:
        If player's world is "ul_kit":
        wait 1 second
        give 1 wooden sword named "{LobbyCompassName1}" to player

 

any problems

your indenting is wrong. Do you get any other errors ingame when you run it?

Edited by Nichxlxs

First Joined: July 2015
VIP: January 2020
Jr.Mod: 1st April 2020
Mod: 16th July 2020

Info:

~ Skript Developer
~ Discord: @nicholxs#0001
~ Previous names: Nichxlxs, Deterno, iHaveSkills, Retrical

Link to comment
Share on other sites

5 hours ago, dragonrider9012 said:

/sb

server broadcast skript that will broadcast a message but with a custom prefix like

[PVPSKYRAID] *message*

command /sb <text>:
  permission: server.broadcast
  trigger:

    #server broadcast initiate
    broadcast "&l[ServerName]&f %arg-1%"

 

This may not work, but I tried to help.
 

 

Link to comment
Share on other sites

23 hours ago, DraykerMaykerr said:

Help me make ranks please!

I would like

EMERALD [green]

RUBY [red]

STAFF [cyan]

HELPER [white]

STAFF [purple]

They are all bold please.

It'll be a lot better of an idea to rely on a plugin like luckperms, however if you're talking about something like ranks in chat using an external plugins rank system using skript you can easily do something like

 

on chat:
	set chat format to "%player's prefix% %player%: %message%"

 

Link to comment
Share on other sites

On 5/4/2020 at 11:28 AM, EpicRayGunsOwO said:

can you make a skript where it ACTULLY crashes the players game eg:

command /crash [<player>]:

    permission: troll.crash

    permission message: haha no crashing for u!!!

    trigger:

        crash arg 1

        send "crashed %arg 1%" to player

 


Hello EpicRayGunsOwO,

I Would like to say that would be fun to play around with the players but this would also be unsafe for users as you could harm them. 

I'd like to say it again would be fun but unsafe also could probably get your server removed and you also off of the Minehut community.

Kind Regards,

Chris (Syllityy)
Community Member | Game / Skript Developer | Student

Edited by Syllityy
Link to comment
Share on other sites

  • 5 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...