Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Skrypt na amulety


GenneratorX

Rekomendowane odpowiedzi

Opublikowano

Witam napisze mi ktoś lub wklei tu skrypt na excalibur z zapamietywaniem osób ile zabił, smoczą włócznie bez enchantu i żeby miała efekt że jak sie kogoś uderzy to zabiera mu punkty głodu, oraz topór tyranów gdy się kogos uderzy bedzie miał rozmyty ekran przez 10 sekund!

Opublikowano

Amulety:

 

 

#E-Amulety by Entify_
# Zakaz usuwania informacji o autorze skryptu
# Nie zezwalam na kopiowanie kodu skryptu

on rightclick:
	if player's tool is blaze rod of unbreaking 10 named "&eMagiczna Rozdzka Mocy":
		if gamemode of player is survival:
			remove strength from player
			apply strength 2 to player for 240 seconds
			send "&2AMULET: &7Uzyles amuletu sily! Od teraz jestes silny jak hulk!"
			stop
		if gamemode of player is not survival:
			send "&2AMULET: &7Amuletow mozesz uzywac tylko w trybie survival!"
			stop
	if player's tool is magma cream of unbreaking 10 named "&cAmulet Regeneracji":
		if gamemode of player is survival:
			remove regeneration from player
			apply regeneration 2 to player for 60 seconds
			send "&2AMULET: &7Uzyles amuletu regeneracji! Od teraz twoje zdrowie regeneruje sie szybciej!"
			spawn 50 of particle heart offset by 2, 2, 2 at player
			stop
		if gamemode of player is not survival:
			send "&2AMULET: &7Amuletow mozesz uzywac tylko w trybie survival!"
			stop
	if player's tool is feather of unbreaking 10 named "&7Amulet Skoku":
		if gamemode of player is survival:
			remove jump from player
			apply jump 3 to player for 120 seconds
			send "&2AMULET: &7Uzyles amuletu skoku! Teraz skaczesz 3 razy wyzej!"
			stop
		if gamemode of player is not survival:
			send "&2AMULET: &7Amuletow mozesz uzywac tylko w trybie survival!"
			stop
	if player's tool is blaze power of unbreaking 10 named "&6Boski Amulet Szybkosci":
		if gamemode of player is survival:
			remove speed from player
			apply speed 2 to player for 180 seconds
			send "&2AMULET: &7Uzyles amuletu szybkosci! Od teraz jestes szybki jak wiatr!"
			stop
			
on rightclick on sign:
	if line 1 is "&9[KUP]":
		if line 2 is "&bAMULET SILY":
			line 4 is "&4$ 300 diaxow"
			if player has 300 diamonds:
				send "&6» &7Kupiles amulet sily!"
				give 1 blaze rod of unbreaking 10 named "&eMagiczna Rozdzka Mocy" to player
				stop
			else:
				send "&6» &7Nie masz &b300 diamentow&7, aby kupic amulet..%nl%&6» &7Diamenty mozna zdobyc zabijajac graczy!"
				stop			
on rightclick on sign:
	if line 1 is "&9[KUP]":
		if line 2 is "&bAMULET  REGEN":
			line 4 is "&4$ 300 diaxow"
			if player has 300 diamonds:
				give 1 magma cream of unbreaking 10 named "&cAmulet Regeneracji" to player
				send "&6» &7Kupiles amulet regeneracji!"
				stop
			else:
				send "&6» &7Nie masz &b300 diamentow&7, aby kupic amulet..%nl%&6» &7Diamenty mozna zdobyc zabijajac graczy!"
				stop
				
on rightclick on sign:
	if line 1 is "&9[KUP]":
		if line 2 is "&bAMULET SKOKU":
			line 4 is "&4$ 300 diaxow"
			if player has 300 diamonds:
				give 1 feather of unbreaking 10 named "&7Amulet Skoku" to player
				send "&6» &7Kupiles amulet skoku!"
				stop
			else:
				send "&6» &7Nie masz &b300 diamentow&7, aby kupic amulet..%nl%&6» &7Diamenty mozna zdobyc zabijajac graczy!"
				stop
				
				
on rightclick on sign:
	if line 1 is "&9[KUP]":
		if line 2 is "&bAMULET SPEEDA":
			line 4 is "&4$ 300 diaxow"
			if player has 300 diamonds:
				give 1 blaze powder of unbreaking 10 named "&6Boski Amulet Szybkosci" to player
				send "&6» &7Kupiles amulet szybkosci!"
				stop
			else:
				send "&6» &7Nie masz &b300 diamentow&7, aby kupic amulet..%nl%&6» &7Diamenty mozna zdobyc zabijajac graczy!"
				stop
				
on death:
	victim is player
	attacker is player
	drop 2 diamond
	stop	
		
command /amulet [<text>]:
	aliases: amulety
	permission: amulety.use
	permission message: &6» &cTy dobrze wiesz co..!
	trigger:
		if arg-1 is "sily" or "sila" or "strength" or "strenght":
			give 1 blaze rod of durablity 10 named "&eMagiczna Rozdzka Mocy" to player
			stop
		if arg-1 is "regen" or "regeneracji":
			give 1 magma cream of durablity 10 named "&cAmulet Regeneracji" to player
			stop
		if arg-1 is "jump" or "skoku" or "skok":
			give 1 feather of durablity 10 named "&7Amulet Skoku" to player
			stop
		if arg-1 is "speed" or "szybkosci":
			give 1 blaze powder of unbreaking 10 named "&6Boski Amulet Szybkosci" to player
			stop
		if arg-1 is not "speed" or "szybkosci" or "sily" or "sila" or "strength" or "strenght" or "regen" or "regeneracji" or "jump" or "skoku" or "skok":
			send "&6» &eDostepne argumenty:"
			send "&6» &2/amulet sily"
			send "&6» &2/amulet regen"
			send "&6» &2/amulet skoku"
			send "&6» &2/amulet szybkosci"
			stop
		if arg-1 is not set:
			send "&8&l&m------------[&r &aAMULETY &8&l&m]------------"
			send "&6» &2/amulet sily"
			send "&6» &2/amulet regen"
			send "&6» &2/amulet skoku"
			send "&6» &2/amulet szybkosci"
			send "&8&l&m------------[&r &aAMULETY &8&l&m]------------"
			stop

 

 

 

Bronie, wlocznia, topor, kosa, excalibur:

 

 

#E-Bronie by Entify_
# Zakaz usuwania informacji o autorze skryptu
# Nie zezwalam na kopiowanie kodu skryptu
variables:
    {licence} = 0
    {killedbyexcalibur.%living entity%} = 0
	
command /rk:
	permission: excalibur.use
	permission message: &6» &cOjoj
	trigger:
		set {licence} to 0
		send "&6» &7Zresetowano numery seryjne!"
command /re:
	permission: excalibur.use
	permission message: &6» &cOjoj
	trigger:
		set {killedbyexcalibur.%living entity%} to 0
		send "&6» &7Zresetowano l. zab. graczy mieczem!"
				
on death of player:
	if name of attacker's tool is "&e&oDemoniczny Miecz":
		add 1 to {killedbyexcalibur.%attacker%}
		set the 2st line of lore of attacker's tool to "&bZabici Gracze: &7%{killedbyexcalibur.%attacker%}%"	
		stop
command /miecz:
	permission: excalibur.use
	permission message: &6» &cTy dobrze wiesz co! XDD
	trigger:
		if {killedbyexcalibur.%player%} is not set:
			set {killedbyexcalibur.%player%} to 0
			add 1 to {licence}
			execute console command "/give %player% 276 1 name:&e&oExcalibur lore:&bWlasnosc:_&7%player%|&bZabici_Gracze:_&7%{killedbyexcalibur.%player%}%|&bNumer_Seryjny:_&7%{licence}%"
		else:
			add 1 to {licence}
			execute console command "/give %player% 276 1 name:&e&oExcalibur lore:&bWlasnosc:_&7%player%|&bZabici_Gracze:_&7%{killedbyexcalibur.%player%}%|&bNumer_Seryjny:_&7%{licence}%"
command /bronie:
	permission: excalibur.use
	permission message: &cHAHHAHAHAHAHHAA
	trigger:
		give 1 stick of sharpness 25 and knockback 5 and fire aspect 4 named "&9Pijawka" with lore "&2+ Podczas ataku wyzwala umiejetnosc 'ATAK_GLODU'||&2+ Niezniszczalna Bron" to player
		give 1 diamond hoe of unbreaking 100 and sharpness 25 and fire aspect 10 and knockback 20 named "&6Boska Kosa Smierci" with lore "&2+ Zabojczy odrzut" to player		
		give 1 golden axe of unbreaking 100 and sharpness 20 and fire aspect 5 named "&eTopor Tyranow" with lore "&2+ Ofiara traci kontrole (ROZMYTY_EKRAN), gdy ja zaatakujesz" to player
command /demo:
	permission: excalibur.use
	permission message: &cHHAHAHHAHA
	trigger:
		give diamond helmet of protection 25 and fire protection 25 and projectile protection 25 and unbreaking 3 named "Demoniczny Diamentowy helm" to player
		give diamond chestplate of protection 25 and fire protection 25 and projectile protection 25 and unbreaking 3 named "Demoniczna Diamentowa zbroja" to player
		give diamond leggings of protection 25 and fire protection 25 and projectile protection 25 and unbreaking 3 named "Demoniczne Diamentowe nogawice" to player
		give diamond boots of protection 25 and fire protection 25 and projectile protection 25 and unbreaking 3 named "Demoniczne Diamentowe buty" to player
# Pijawka
on rightclick on sign:
	if line 1 is "&9Pijawka":
		if line 3 is "&a25000$":
			if player's balance is greater than 25000:
				remove 25000 from player's account
				give player stick of sharpness 30 and knockback 5 and fire aspect 4 named "&9Pijawka" with lore "&2+ Podczas ataku wyzwala umiejetnosc 'ATAK_GLODU'||&2+ Niezniszczalna Bron"
				send "&6» &7Kupiles &9Pijawke&7!"
			else:
				send "&6» &7Nie stac cie.. Kup pieniadze na: &astrona&7!"
		
# Topor Tyranow
on rightclick on sign:
	if line 1 is "&eTopor":
		if line 2 is "&eTyranow":
			if line 3 is "&a20000$":
				if player's balance is greater than 20000:
					remove 20000 from player's account
					give 1 golden axe of unbreaking 100 and sharpness 20 and fire aspect 5 named "&eTopor Tyranow" with lore "&2+ Ofiara traci kontrole (ROZMYTY_EKRAN), gdy ja zaatakujesz" to player
					send "&6» &aKupiles Topor Tyranow!"
				else:
					send "&6» &7Nie stac cie.. Kup pieniadze na: &astrona&7!"
					
# Boska Kosa Smierci
on rightclick on sign:
	if line 1 is "&6Boska Kosa":
		if line 2 is "&eSmierci":
			if line 3 is "&a25000$":
				if player's balance is greater than 25000:
					remove 25000 from player's account
					give 1 diamond hoe of unbreaking 100 and sharpness 25 and fire aspect 10 and knockback 20 named "&6Boska Kosa Smierci" with lore "&2+ Zabojczy odrzut" to player
					send "&6» &aKupiles Boska kose smierci!"
				else:
					send "&6» &7Nie stac cie.. Kup pieniadze na: &astrona7!"
					
# MIECZ
on rightclick on sign:
	if line 1 is "&1[EXCALIBUR]":
		if line 2 is "&9INTELIGENTNA":
			if line 3 is "&9BRON":
				if line 4 is "$50000":
					if {killedbyexcalibur.%player%} is not set:
						set {killedbyexcalibur.%player%} to 0
					if player's balance is greater than 50000:
						add 1 to {licence}
						remove 50000 from player's account
						give 1 diamond sword named "&e&oExcalibur" with lore "&bWlasnosc:_&7%player%||&bZabici_Gracze:_&7%{killedbyexcalibur.%player%}%||&bNumer_Seryjny:_&7%{licence}%" to player
						send "&6» &7Od teraz jestes szczesliwym posiadaczem Excalibura!"
					else:
						send "&6» &7Nie stac cie, aby kupic Excalibura! Kup pieniadze na: &astrona"
						
on rightclick on sign:
	line 2 is "&bDemoniczny"
	line 3 is "&bHelm"
	line 3 is "$25000"
	player's account is greater than or equal to 25000:
		give diamond helmet of protection 25 and fire protection 25 and projectile protection 25 and unbreaking 3 named "&aDemoniczny Diamentowy Helm" to player
		send "&6» &7Kupiles czastke demonicznej zbroi!"
		remove 25000 from player's account
	else:
		send "&6» &7Nie stac cie na to! Kup pieniadze na: &bstrona"
on rightclick on sign:
	line 2 is "&bDemoniczny"
	line 3 is "&bNapiersnik"
	line 3 is "$25000"
	player's account is greater than or equal to 25000:
		give diamond chestplate of protection 25 and fire protection 25 and projectile protection 25 and unbreaking 3 named "&aDemoniczna Diamentowa Zbroja" to player
		send "&6» &7Kupiles czastke demonicznej zbroi!"
		remove 25000 from player's account
	else:
		send "&6» &7Nie stac cie na to! Kup pieniadze na: &bstrona"
on rightclick on sign:
	line 2 is "&bDemoniczne"
	line 3 is "&bNogawice"
	line 3 is "$25000"
	player's account is greater than or equal to 25000:
		give diamond leggings of protection 25 and fire protection 25 and projectile protection 25 and unbreaking 3 named "&aDemoniczne Diamentowe Nogawice" to player
		send "&6» &7Kupiles czastke demonicznej zbroi!"
		remove 25000 from player's account
	else:
		send "&6» &7Nie stac cie na to! Kup pieniadze na: &bstrona"
on rightclick on sign:
	line 2 is "&bDemoniczne"
	line 3 is "&bButy"
	line 3 is "$25000"
	player's account is greater than or equal to 25000:
		give diamond boots of protection 25 and fire protection 25 and projectile protection 25 and unbreaking 3 named "&aDemoniczne Diamentowe Buty" to player
		send "&6» &7Kupiles czastke demonicznej zbroi!"
		remove 25000 from player's account
	else:
		send "&6» &7Nie stac cie na to! Kup pieniadze na: &bstrona"
						
on damage:
	if name of attacker's tool is "&e&oExcalibur":
		remove strength from the attacker
		apply strength 4 to attacker for 3.9 seconds
		
on damage:
	if attacker is player:
		if attacker's tool is golden axe:
			if name of attacker's tool is "&eTopor Tyranow":
				remove Nausea from victim
				apply Nausea 5 to victim for 6 seconds
		
on damage:
	if attacker is player:
		if attacker's tool is stick:
			if name of attacker's tool is "&9Pijawka":
				remove hunger from victim
				apply hunger 5 to victim for 6 seconds
		
on respawn:
    heal player

 

 

 

Skrypty robiłem kiedyś w wolnym czasie na serwer pvp, już mi niepotrzebne wiec łapaj.

 

 

JAVA <3

 

Opublikowano

Entify masz skype? Dziekuje bardzo!!!!! potrzebuje na skype cie

Moglbys usunac z tamtad kose? i zmienic nazwe siekiery na topor tyranów?

Opublikowano

@1361622928-U485574.pngGenneratorX

@1361622928-U485574.pngEntify

 

Wow, muszę przyznać, że trudno tu się do czegoś przyczepić. Brawo, Entify. Ale nie byłbym sobą, gdybym się nie przyczepił xD

 

Wklej zamiast:

on damage:
    if name of attacker's tool is "&e&oExcalibur":
        remove strength from the attacker
        apply strength 4 to attacker for 3.9 seconds

To:

on damage:
    if name of attacker's tool is "&e&oExcalibur":
        increase damage by 60

Zmieni to, że jeżeli gracz ma efekt siły, używanie excalibura mu go nie usunie ;)

:D  Let's start with MPCForum :D

 

 

 

30/50/69/100/150/200/250...

Opublikowano

@1361622928-U485574.pngGenneratorX

@1361622928-U485574.pngEntify

 

Wow, muszę przyznać, że trudno tu się do czegoś przyczepić. Brawo, Entify. Ale nie byłbym sobą, gdybym się nie przyczepił xD

 

Wklej zamiast:

on damage:
    if name of attacker's tool is "&e&oExcalibur":
        remove strength from the attacker
        apply strength 4 to attacker for 3.9 seconds

To:

on damage:
    if name of attacker's tool is "&e&oExcalibur":
        increase damage by 60

Zmieni to, że jeżeli gracz ma efekt siły, używanie excalibura mu go nie usunie ;)

Mhmm,

 

 

Zmieni to, że jeżeli gracz ma efekt siły, używanie excalibura mu go nie usunie  ;)

Przecie jest

        remove strength from the attacker
# usuwa sile z efektow atakujacego
        apply strength 4 to attacker for 3.9 seconds
 #daje efekt sily atakujacemu

A efekt siły jest po to, aby można było używac "combo" czyli:

- uderzasz excaliburem

- zmieniasz bron na "smocza wlocznie" i uderzasz smoczą włocznia, wtedy jest o wiele wiekszy dmg ^^

 

@topicandantywarn Pomogłem autorowi tematu na skejpie z tym, chyba do zamkniecią, jest nowy temat (autora tematu) :O

 

 

JAVA <3

 

Opublikowano

@1361622928-U485574.pngEntify

 

Nie nie, mi chodzi o to, że jeżeli przed walką gracz wypije potkę siły, to

remove strength from the attacker

usunie ten efekt. :D

Ale ogólnie skrypt jest napisany bardzo dobrze :D

:D  Let's start with MPCForum :D

 

 

 

30/50/69/100/150/200/250...

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...