Jump to content

more talismans || SKRIPT


karlip_a

Recommended Posts

it adds these commands:

 

/iron_golem_talisman - Gives strength 2

/mule_talisman - gives haste 3 and makes that you can break stone and get cobbel stone without a pickaxe

/Grass_talisman - gives speed 2 and health boost 3

/speed_talisman - gives speed 1

/insane_speed_talisman - gives speed 2

/flashing_speed_talisman - gives speed 3

/frog_talisman - gives water breathing 2, speed 2 and jump boost 2

 

variables:
	{%player%.mule} = 0
command /iron_golem_talisman:
	trigger:
		give a iron ingot named "&7&lIron Golem Talisman" to player
on player's held item change:
	if name of player's held item is "&7&lIron Golem Talisman":
		apply strength 2 to the player for 10 days
	if name of player's held item is not "&7&lIron Golem Talisman":
		remove strength from player
command /mule_talisman:
	trigger:
		give a coal named "&8&lMule Talisman" to player
on player's held item change:
	if name of player's held item is "&8&lMule Talisman":
		apply haste 3 to the player for 10 days
		set {mule} to 1
	if name of player's held item is not "&8&lMule Talisman":
		remove haste from player 
		set {mule} to 0
on break of stone:
	if {mule} is 1:
		cancel event
		set event-block to air
		drop cobblestone at event-block
on right click:
	if name of player's held item is "&8&lMule Talisman":
		cancel the event
command /Grass_talisman:
	trigger:
		give grass block named "&2&lGrass Talisman" to player
on player's held item change:
	if name of player's held item is not "&2&lGrass Talisman":
		remove speed from the player
		remove health boost from the player
	if name of player's held item is "&2&lGrass Talisman":
		apply speed 1 without particles to the player for 10 days
		apply health boost 3 without particles to the player for 10 days
command /speed_talisman:
	trigger:
		give a paper named "&aSpeed Talisman" to player
on player's held item change:
	if name of player's held item is "&aSpeed Talisman":
		apply speed 1 to the player for 10 days

command /insane_speed_talisman:
	trigger:
		give a book named "&aInsane Speed Talisman" to player
on player's held item change:
	if name of player's held item is "&aInsane Speed Talisman":
		apply speed 2 to the player for 10 days
command /Flashing_speed_talisman:
	trigger:
		give a enchanted book named "&4Flashing Speed Talisman" to player
on player's held item change:
	if name of player's held item is "&4Flashing Speed Talisman":
		apply speed 3 to the player for 10 days

command /frog_talisman:
	trigger:
		give a slimeball named "&2&lFrog Talisman" to player
on player's held item change:
	if name of player's held item is "&2&lFrog Talisman":
		apply speed 2 to the player for 10 days
		apply jump boost 2 to the player for 10 days
		apply water breathing 2 to the player for 10 days
	if name of player's held item is not "&2&lFrog Talisman":
		remove jump boost from player
		remove water breathing from player
command /speedtest:
	trigger:
		apply speed 1 to the player for 10 days

 

Edited by karlip_a
im just dumb at this point
Link to comment
Share on other sites

6 hours ago, karlip_a said:

it adds these commands:

 

/iron_golem_talisman - Gives strength 2

/mule_talisman - gives haste 3 and makes that you can break stone and get cobbel stone without a pickaxe

/Grass_talisman - gives speed 2 and health boost 3

/speed_talisman - gives speed 1

/insane_speed_talisman - gives speed 2

/flashing_speed_talisman - gives speed 3

/frog_talisman - gives water breathing 2, speed 2 and jump boost 2

 

variables:
	{%player%.mule} = 0
command /iron_golem_talisman:
	trigger:
		give a iron ingot named "&7&lIron Golem Talisman" to player
on player's held item change:
	if name of player's held item is "&7&lIron Golem Talisman":
		apply strength 2 to the player for 10 days
	if name of player's held item is not "&7&lIron Golem Talisman":
		remove strength from player
command /mule_talisman:
	trigger:
		give a coal named "&8&lMule Talisman" to player
on player's held item change:
	if name of player's held item is "&8&lMule Talisman":
		apply haste 3 to the player for 10 days
		set {mule} to 1
	if name of player's held item is not "&8&lMule Talisman":
		remove haste from player 
		set {mule} to 0
on break of stone:
	if {mule} is 1:
		cancel event
		set event-block to air
		drop cobblestone at event-block
on right click:
	if name of player's held item is "&8&lMule Talisman":
		cancel the event
command /Grass_talisman:
	trigger:
		give grass block named "&2&lGrass Talisman" to player
on player's held item change:
	if name of player's held item is not "&2&lGrass Talisman":
		remove speed from the player
		remove health boost from the player
	if name of player's held item is "&2&lGrass Talisman":
		apply speed 1 without particles to the player for 10 days
		apply health boost 3 without particles to the player for 10 days
command /speed_talisman:
	trigger:
		give a paper named "&aSpeed Talisman" to player
on player's held item change:
	if name of player's held item is "&aSpeed Talisman":
		apply speed 1 to the player for 10 days

command /insane_speed_talisman:
	trigger:
		give a book named "&aInsane Speed Talisman" to player
on player's held item change:
	if name of player's held item is "&aInsane Speed Talisman":
		apply speed 2 to the player for 10 days
command /Flashing_speed_talisman:
	trigger:
		give a enchanted book named "&4Flashing Speed Talisman" to player
on player's held item change:
	if name of player's held item is "&4Flashing Speed Talisman":
		apply speed 3 to the player for 10 days

command /frog_talisman:
	trigger:
		give a slimeball named "&2&lFrog Talisman" to player
on player's held item change:
	if name of player's held item is "&2&lFrog Talisman":
		apply speed 2 to the player for 10 days
		apply jump boost 2 to the player for 10 days
		apply water breathing 2 to the player for 10 days
	if name of player's held item is not "&2&lFrog Talisman":
		remove jump boost from player
		remove water breathing from player
command /speedtest:
	trigger:
		apply speed 1 to the player for 10 days

 

Nice Skript with more Talismans! You should try making commands with arguments to make 1 command with all the talismans included like this:
 

command /talisman [<text>]:
   trigger:
      if arg-1 is "grass":
          #grass talisman
      if arg-1 is "mule":
          #mule talisman

 

2021-06-09_20_22_08.jpg.422c39613f8b72de894e5ec1f3377dca.jpg

Yo who actually reads these

[Vip] - 12/29/2020
[Pro] - 1/25/2022
 

 

 

Link to comment
Share on other sites

On 7/4/2021 at 7:42 PM, karlip_a said:

it adds these commands:

 

/iron_golem_talisman - Gives strength 2

/mule_talisman - gives haste 3 and makes that you can break stone and get cobbel stone without a pickaxe

/Grass_talisman - gives speed 2 and health boost 3

/speed_talisman - gives speed 1

/insane_speed_talisman - gives speed 2

/flashing_speed_talisman - gives speed 3

/frog_talisman - gives water breathing 2, speed 2 and jump boost 2

 

variables:
	{%player%.mule} = 0
command /iron_golem_talisman:
	trigger:
		give a iron ingot named "&7&lIron Golem Talisman" to player
on player's held item change:
	if name of player's held item is "&7&lIron Golem Talisman":
		apply strength 2 to the player for 10 days
	if name of player's held item is not "&7&lIron Golem Talisman":
		remove strength from player
command /mule_talisman:
	trigger:
		give a coal named "&8&lMule Talisman" to player
on player's held item change:
	if name of player's held item is "&8&lMule Talisman":
		apply haste 3 to the player for 10 days
		set {mule} to 1
	if name of player's held item is not "&8&lMule Talisman":
		remove haste from player 
		set {mule} to 0
on break of stone:
	if {mule} is 1:
		cancel event
		set event-block to air
		drop cobblestone at event-block
on right click:
	if name of player's held item is "&8&lMule Talisman":
		cancel the event
command /Grass_talisman:
	trigger:
		give grass block named "&2&lGrass Talisman" to player
on player's held item change:
	if name of player's held item is not "&2&lGrass Talisman":
		remove speed from the player
		remove health boost from the player
	if name of player's held item is "&2&lGrass Talisman":
		apply speed 1 without particles to the player for 10 days
		apply health boost 3 without particles to the player for 10 days
command /speed_talisman:
	trigger:
		give a paper named "&aSpeed Talisman" to player
on player's held item change:
	if name of player's held item is "&aSpeed Talisman":
		apply speed 1 to the player for 10 days

command /insane_speed_talisman:
	trigger:
		give a book named "&aInsane Speed Talisman" to player
on player's held item change:
	if name of player's held item is "&aInsane Speed Talisman":
		apply speed 2 to the player for 10 days
command /Flashing_speed_talisman:
	trigger:
		give a enchanted book named "&4Flashing Speed Talisman" to player
on player's held item change:
	if name of player's held item is "&4Flashing Speed Talisman":
		apply speed 3 to the player for 10 days

command /frog_talisman:
	trigger:
		give a slimeball named "&2&lFrog Talisman" to player
on player's held item change:
	if name of player's held item is "&2&lFrog Talisman":
		apply speed 2 to the player for 10 days
		apply jump boost 2 to the player for 10 days
		apply water breathing 2 to the player for 10 days
	if name of player's held item is not "&2&lFrog Talisman":
		remove jump boost from player
		remove water breathing from player
command /speedtest:
	trigger:
		apply speed 1 to the player for 10 days

Hardcoded skript lmao, you can just shortcut all of this in a code like this:

command /talisman [<text>] [<player>] [<text>]:
  permission: *
  trigger:
    if arg-1 is "give":
      if arg-2 is set:
        if arg-3 is "grass":
          give arg-1 1 grass named "&2&lGrass Talisma"
        else if arg-3 is "#Talisman":
          give arg-1 1 #item named "#Talisman Name"
  

 

 

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...