Skocz do zawartości
  • 0

/cheaty


Buggy
 Udostępnij

Pytanie

7 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
W dniu 21.04.2022 o 20:50, Medyk324 napisał:

Nie każdy gra na tym serwerze. Opisz co chcesz.

Gdy wpiszesz /cheaty, to otwiera Ci się GUI z różnymi cheatami gamemode 1, fly, speedhack, zbroja cheatera, knockback X, 100 serduszek. @Medyk324

Edytowane przez Buggy
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
W dniu 22.04.2022 o 06:49, Buggy napisał:

Gdy wpiszesz /cheaty, to otwiera Ci się GUI z różnymi cheatami gamemode 1, fly, speedhack, zbroja cheatera, knockback X, 100 serduszek. @Medyk324

Nie pinguj ;) Zrobię

@Buggy liczę na naj i rep ;)  

 

function gui(p: player):	
	set {_gui} to chest with 1 rows named "Cheaty"
	loop 9 times:
		set slot loop-number -1 of {_gui} to black stained glass pane named " "
	if gamemode of {_p} is creative:
		set slot 0 of {_gui} to emerald named "Gamemode 0"
	else:
		set slot 0 of {_gui} to emerald named "Gamemode 1"
	if {_p}'s fly mode is true:
		set slot 1 of {_gui} to feather named "Fly OFF"
	else:
		set slot 1 of {_gui} to feather named "Fly ON"
	if {_p} has speed:
		set slot 2 of {_gui} to diamond boots named "SpeedHack OFF"
	else:
		set slot 2 of {_gui} to diamond boots named "SpeedHack ON"
	set slot 3 of {_gui} to diamond block named "Zbroja Cheatera"
	set slot 4 of {_gui} to diamond sword named "KnockBack X"
	if maximum health of {_p} is 100:
		set slot 5 of {_gui} to 351:1 named "Serca OFF"
	else:
		set slot 5 of {_gui} to 351:1 named "Serca ON"	
	open {_gui} to {_p}

command /cheaty:
	trigger:
		if player has permission "acraft.cheaty":
			gui(player)
		
on inventory click:
	event-inventory is not player's inventory
	if name of event-inventory is "Cheaty":
		cancel event
		if clicked slot is 0:
			if gamemode of player is creative:
				set gamemode of player to survival
				wait tick
				gui(player)
			else:
				set gamemode of player to creative				
				wait tick
				gui(player)
		if clicked slot is 1:
			if player's fly mode is true:
				set player's fly mode to false
				wait tick
				gui(player)
			else:
				set player's fly mode to true		
				wait tick
				gui(player)		
		if clicked slot is 2:
			if player has speed:
				remove speed from player
				wait tick
				gui(player)
			else:
				apply potion of speed 15 to player for 99999 minute	
				wait tick
				gui(player)
		if clicked slot is 3:
			close player's inventory
			add 1 diamond helmet of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
			add 1 diamond chestplate of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
			add 1 diamond leggings of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
			add 1 diamond boots of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
		if clicked slot is 4:
			close player's inventory
			add 1 diamond sword of knockback 10 named "Knockback X" to player
		if clicked slot is 5:
			if maximum health of player is 100:
				set the maximum health of player to 10
			else:
				set the maximum health of player to 100	

				

 

Edytowane przez Medyk324
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
W dniu 23.04.2022 o 11:29, Medyk324 napisał:

Nie pinguj ;) Zrobię

@Buggy liczę na naj i rep ;)  

 

function gui(p: player):	
	set {_gui} to chest with 1 rows named "Cheaty"
	loop 9 times:
		set slot loop-number -1 of {_gui} to black stained glass pane named " "
	if gamemode of {_p} is creative:
		set slot 0 of {_gui} to emerald named "Gamemode 0"
	else:
		set slot 0 of {_gui} to emerald named "Gamemode 1"
	if {_p}'s fly mode is true:
		set slot 1 of {_gui} to feather named "Fly OFF"
	else:
		set slot 1 of {_gui} to feather named "Fly ON"
	if {_p} has speed:
		set slot 2 of {_gui} to diamond boots named "SpeedHack OFF"
	else:
		set slot 2 of {_gui} to diamond boots named "SpeedHack ON"
	set slot 3 of {_gui} to diamond block named "Zbroja Cheatera"
	set slot 4 of {_gui} to diamond sword named "KnockBack X"
	if maximum health of {_p} is 100:
		set slot 5 of {_gui} to 351:1 named "Serca OFF"
	else:
		set slot 5 of {_gui} to 351:1 named "Serca ON"	
	open {_gui} to {_p}

command /cheaty:
	trigger:
		if player has permission "acraft.cheaty":
			gui(player)
		
on inventory click:
	event-inventory is not player's inventory
	if name of event-inventory is "Cheaty":
		cancel event
		if clicked slot is 0:
			if gamemode of player is creative:
				set gamemode of player to survival
				wait tick
				gui(player)
			else:
				set gamemode of player to creative				
				wait tick
				gui(player)
		if clicked slot is 1:
			if player's fly mode is true:
				set player's fly mode to false
				wait tick
				gui(player)
			else:
				set player's fly mode to true		
				wait tick
				gui(player)		
		if clicked slot is 2:
			if player has speed:
				remove speed from player
				wait tick
				gui(player)
			else:
				apply potion of speed 15 to player for 99999 minute	
				wait tick
				gui(player)
		if clicked slot is 3:
			close player's inventory
			add 1 diamond helmet of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
			add 1 diamond chestplate of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
			add 1 diamond leggings of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
			add 1 diamond boots of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
		if clicked slot is 4:
			close player's inventory
			add 1 diamond sword of knockback 10 named "Knockback X" to player
		if clicked slot is 5:
			if maximum health of player is 100:
				set the maximum health of player to 10
			else:
				set the maximum health of player to 100	

				

 

A znasz sposób, aby było to co 24h i tylko na dostępnym świecie?

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
49 minut temu, Buggy napisał:

A znasz sposób, aby było to co 24h i tylko na dostępnym świecie?

function gui(p: player):	
	set {_gui} to chest with 1 rows named "Cheaty"
	loop 9 times:
		set slot loop-number -1 of {_gui} to black stained glass pane named " "
	if gamemode of {_p} is creative:
		set slot 0 of {_gui} to emerald named "Gamemode 0"
	else:
		set slot 0 of {_gui} to emerald named "Gamemode 1"
	if {_p}'s fly mode is true:
		set slot 1 of {_gui} to feather named "Fly OFF"
	else:
		set slot 1 of {_gui} to feather named "Fly ON"
	if {_p} has speed:
		set slot 2 of {_gui} to diamond boots named "SpeedHack OFF"
	else:
		set slot 2 of {_gui} to diamond boots named "SpeedHack ON"
	set slot 3 of {_gui} to diamond block named "Zbroja Cheatera"
	set slot 4 of {_gui} to diamond sword named "KnockBack X"
	if maximum health of {_p} is 100:
		set slot 5 of {_gui} to 351:1 named "Serca OFF"
	else:
		set slot 5 of {_gui} to 351:1 named "Serca ON"	
	open {_gui} to {_p}

command /cheaty:
	trigger:
        if player is in world "swiat":
		    if {cheaty} is true:
		        if player has permission "acraft.cheaty":
			        gui(player)
		
on inventory click:
	event-inventory is not player's inventory
	if name of event-inventory is "Cheaty":
		cancel event
		if clicked slot is 0:
			if gamemode of player is creative:
				set gamemode of player to survival
				wait tick
				gui(player)
			else:
				set gamemode of player to creative				
				wait tick
				gui(player)
		if clicked slot is 1:
			if player's fly mode is true:
				set player's fly mode to false
				wait tick
				gui(player)
			else:
				set player's fly mode to true		
				wait tick
				gui(player)		
		if clicked slot is 2:
			if player has speed:
				remove speed from player
				wait tick
				gui(player)
			else:
				apply potion of speed 15 to player for 99999 minute	
				wait tick
				gui(player)
		if clicked slot is 3:
			close player's inventory
			add 1 diamond helmet of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
			add 1 diamond chestplate of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
			add 1 diamond leggings of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
			add 1 diamond boots of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
		if clicked slot is 4:
			close player's inventory
			add 1 diamond sword of knockback 10 named "Knockback X" to player
		if clicked slot is 5:
			if maximum health of player is 100:
				set the maximum health of player to 10
			else:
				set the maximum health of player to 100

every 24 hours:
	if {cheaty} is true:
	    set {cheaty} to false
    else:
	    set {cheaty} to true

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
38 minut temu, Medyk324 napisał:
function gui(p: player):	
	set {_gui} to chest with 1 rows named "Cheaty"
	loop 9 times:
		set slot loop-number -1 of {_gui} to black stained glass pane named " "
	if gamemode of {_p} is creative:
		set slot 0 of {_gui} to emerald named "Gamemode 0"
	else:
		set slot 0 of {_gui} to emerald named "Gamemode 1"
	if {_p}'s fly mode is true:
		set slot 1 of {_gui} to feather named "Fly OFF"
	else:
		set slot 1 of {_gui} to feather named "Fly ON"
	if {_p} has speed:
		set slot 2 of {_gui} to diamond boots named "SpeedHack OFF"
	else:
		set slot 2 of {_gui} to diamond boots named "SpeedHack ON"
	set slot 3 of {_gui} to diamond block named "Zbroja Cheatera"
	set slot 4 of {_gui} to diamond sword named "KnockBack X"
	if maximum health of {_p} is 100:
		set slot 5 of {_gui} to 351:1 named "Serca OFF"
	else:
		set slot 5 of {_gui} to 351:1 named "Serca ON"	
	open {_gui} to {_p}

command /cheaty:
	trigger:
        if player is in world "swiat":
		    if {cheaty} is true:
		        if player has permission "acraft.cheaty":
			        gui(player)
		
on inventory click:
	event-inventory is not player's inventory
	if name of event-inventory is "Cheaty":
		cancel event
		if clicked slot is 0:
			if gamemode of player is creative:
				set gamemode of player to survival
				wait tick
				gui(player)
			else:
				set gamemode of player to creative				
				wait tick
				gui(player)
		if clicked slot is 1:
			if player's fly mode is true:
				set player's fly mode to false
				wait tick
				gui(player)
			else:
				set player's fly mode to true		
				wait tick
				gui(player)		
		if clicked slot is 2:
			if player has speed:
				remove speed from player
				wait tick
				gui(player)
			else:
				apply potion of speed 15 to player for 99999 minute	
				wait tick
				gui(player)
		if clicked slot is 3:
			close player's inventory
			add 1 diamond helmet of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
			add 1 diamond chestplate of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
			add 1 diamond leggings of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
			add 1 diamond boots of protection 50 and thorns 20 named "&6&lZbroja Cheatera" to player
		if clicked slot is 4:
			close player's inventory
			add 1 diamond sword of knockback 10 named "Knockback X" to player
		if clicked slot is 5:
			if maximum health of player is 100:
				set the maximum health of player to 10
			else:
				set the maximum health of player to 100

every 24 hours:
	if {cheaty} is true:
	    set {cheaty} to false
    else:
	    set {cheaty} to true

 

NIe wiem jak Ci to wynagrodzę, ale kasy na koncie nie ma :).

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...