# # # # # # # # # # # # ~ 𝔸𝕦π•₯𝕠𝕣: β„‚π•«π•¦π•‘π•’π•œπ•’π•Ÿ # ~ π•Šπ•œπ•£π•ͺ𝕑π•₯: 𝔹𝕖𝕕-𝕋𝕑 # ~ ℙ𝕠π•₯π•£π•«π•–π•“π•Ÿπ•– π•‘π•π•¦π•˜π•šπ•Ÿπ•ͺ: # π•Šπ•œπ•£π•šπ•‘π•₯, π•Šπ•œπ”Ήπ•–π•– # # # # # # # # # # # options: # #################################################| π•Œπ•€π•₯π•’π•¨π•šπ•–π•Ÿπ•šπ•’ |################################################## Nazwa: &b&kx &e&lBed-Tp &b&kx Przedmiot: carrot on a stick UΕΌycia(max3): 2 # #################################################| ℂ𝕣𝕒𝕗π•₯π•šπ•Ÿπ•˜ |################################################## craft1: air craft2: ender pearl craft3: obsidian craft4: ender pearl craft5: gold block craft6: ender pearl craft7: obsidian craft8: ender pearl craft9: air # # # # # # # # # # # # # # # | | # # craft1 | craft2 | craft3 # #________|________|________# # | | # # craft4 | craft5 | craft6 # #________|________|________# # | | # # craft7 | craft8 | craft9 # # | | # # # # # # # # # # # # # # # # #################################################| 𝕂𝕠𝕕 |################################################## on load: register new shaped recipe for {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}" with lore "" and "&6* &eTa magiczna rΓ³ΕΌdΕΌka" and " &eprzeniesie ciΔ™ do twojego Ε‚Γ³ΕΌka!" and "" and "&6* &eAby jej uΕΌyΔ‡: wciΕ›nij" and " &eprawy przycisk myszki" and "" and "&6* &eTeleportacja potrwa 15 sekund," and " &enie ruszaj siΔ™ w tym czasie!" and "" and "&7* UΕΌycia: {@UΕΌycia(max3)}" and "" using {@craft1} and {@craft2} and {@craft3} and {@craft4} and {@craft5} and {@craft6} and {@craft7} and {@craft8} and {@craft9} with id "ck_skript_spawn_tp" on enchant: if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": cancel event on fishing: if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": cancel event on drop: if event-item is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": if {ckbedtp::%uuid of player%} is true: send action bar "&6Β» &eTeleportacja anulowana, nie wyrzucaj rΓ³ΕΌdΕΌki podczas teleportacji! &6Β«" to player set {ckbedtp::%uuid of player%} to false on tool change: if player is holding {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": if {ckbedtp::%uuid of player%} is true: set {ckbedtp::%uuid of player%} to false send action bar "&6Β» &eTeleportacja anulowana, nie zmieniaj rΓ³ΕΌdΕΌki na inny przedmiot podczas teleportacji! &6Β«" to player stop on quit: if {ckbedtp::%uuid of player%} is true: set {ckbedtp::%uuid of player%} to false command /givebedtp: permission: ck-skript.bedtp trigger: give 1 {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}" with lore "" and "&6* &eTa magiczna rΓ³ΕΌdΕΌka" and " &eprzeniesie ciΔ™ do twojego Ε‚Γ³ΕΌka!" and "" and "&6* &eAby jej uΕΌyΔ‡: wciΕ›nij" and " &eprawy przycisk myszki" and "" and "&6* &eTeleportacja potrwa 15 sekund," and " &enie ruszaj siΔ™ w tym czasie!" and "" and "&7* UΕΌycia: {@UΕΌycia(max3)}" and "" to player on right click: if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": player's bed is not set: send "&6* &eTwoje Ε‚Γ³ΕΌko nie zostaΕ‚o odnalezione" to player stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": if {ckbedtp::%uuid of player%} is true: cancel event stop else: set {ckbedtp::%uuid of player%} to true send "&6* &eTeleportacja rozpoczΔ™ta!" to player if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6Β» {@Nazwa} &6▏ &cβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š &6Β«" to player wait 1.5 second if {ckbedtp::%uuid of player%} is false: stop set {_ckbd::%uuid of player%} to "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6Β» {@Nazwa} &6▏ &aβ–Š&cβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š &6Β«" to player if {_ckbd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6Β» &eTeleportacja anulowana, nie ruszaj siΔ™ podczas teleportacji! &6Β«" to player set {ckbedtp::%uuid of player%} to false stop wait 1 second if {ckbedtp::%uuid of player%} is false: stop set {_ckbd::%uuid of player%} to "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6Β» {@Nazwa} &6▏ &aβ–Šβ–Š&cβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š &6Β«" to player if {_ckbd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6Β» &eTeleportacja anulowana, nie ruszaj siΔ™ podczas teleportacji! &6Β«" to player set {ckbedtp::%uuid of player%} to false stop wait 1 second if {ckbedtp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6Β» {@Nazwa} &6▏ &aβ–Šβ–Šβ–Š&cβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š &6Β«" to player if {_ckbd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6Β» &eTeleportacja anulowana, nie ruszaj siΔ™ podczas teleportacji! &6Β«" to player set {ckbedtp::%uuid of player%} to false stop wait 1 second if {ckbedtp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6Β» {@Nazwa} &6▏ &aβ–Šβ–Šβ–Šβ–Š&cβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š &6Β«" to player if {_ckbd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6Β» &eTeleportacja anulowana, nie ruszaj siΔ™ podczas teleportacji! &6Β«" to player set {ckbedtp::%uuid of player%} to false stop wait 1 second if {ckbedtp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6Β» {@Nazwa} &6▏ &aβ–Šβ–Šβ–Šβ–Šβ–Š&cβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š &6Β«" to player if {_ckbd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6Β» &eTeleportacja anulowana, nie ruszaj siΔ™ podczas teleportacji! &6Β«" to player set {ckbedtp::%uuid of player%} to false stop wait 1 second if {ckbedtp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6Β» {@Nazwa} &6▏ &aβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š&cβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š &6Β«" to player if {_ckbd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6Β» &eTeleportacja anulowana, nie ruszaj siΔ™ podczas teleportacji! &6Β«" to player set {ckbedtp::%uuid of player%} to false stop wait 1 second if {ckbedtp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6Β» {@Nazwa} &6▏ &aβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š&cβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š &6Β«" to player if {_ckbd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6Β» &eTeleportacja anulowana, nie ruszaj siΔ™ podczas teleportacji! &6Β«" to player set {ckbedtp::%uuid of player%} to false stop wait 1 second if {ckbedtp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6Β» {@Nazwa} &6▏ &aβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š&cβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š &6Β«" to player if {_ckbd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6Β» &eTeleportacja anulowana, nie ruszaj siΔ™ podczas teleportacji! &6Β«" to player set {ckbedtp::%uuid of player%} to false stop wait 1 second if {ckbedtp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6Β» {@Nazwa} &6▏ &aβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š&cβ–Šβ–Šβ–Šβ–Šβ–Š &6Β«" to player if {_ckbd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6Β» &eTeleportacja anulowana, nie ruszaj siΔ™ podczas teleportacji! &6Β«" to player set {ckbedtp::%uuid of player%} to false stop wait 1 second if {ckbedtp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6Β» {@Nazwa} &6▏ &aβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š&cβ–Šβ–Šβ–Šβ–Š &6Β«" to player if {_ckbd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6Β» &eTeleportacja anulowana, nie ruszaj siΔ™ podczas teleportacji! &6Β«" to player set {ckbedtp::%uuid of player%} to false stop wait 1 second if {ckbedtp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6Β» {@Nazwa} &6▏ &aβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š&cβ–Šβ–Šβ–Š &6Β«" to player if {_ckbd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6Β» &eTeleportacja anulowana, nie ruszaj siΔ™ podczas teleportacji! &6Β«" to player set {ckbedtp::%uuid of player%} to false stop wait 1 second if {ckbedtp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6Β» {@Nazwa} &6▏ &aβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š&cβ–Šβ–Š &6Β«" to player if {_ckbd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6Β» &eTeleportacja anulowana, nie ruszaj siΔ™ podczas teleportacji! &6Β«" to player set {ckbedtp::%uuid of player%} to false stop wait 1 second if {ckbedtp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6Β» {@Nazwa} &6▏ &aβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š&cβ–Š &6Β«" to player if {_ckbd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6Β» &eTeleportacja anulowana, nie ruszaj siΔ™ podczas teleportacji! &6Β«" to player set {ckbedtp::%uuid of player%} to false stop wait 1 second if {ckbedtp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": send action bar "&6Β» {@Nazwa} &6▏ &aβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Šβ–Š &6Β«" to player if {_ckbd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6Β» &eTeleportacja anulowana, nie ruszaj siΔ™ podczas teleportacji! &6Β«" to player set {ckbedtp::%uuid of player%} to false stop if {ckbedtp::%uuid of player%} is false: stop if player's tool is {@Przedmiot} of thorns 10 with hidden enchants flag named "{@Nazwa}": if {_ckbd::%uuid of player%} isn't "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%": send action bar "&6Β» &eTeleportacja anulowana, nie ruszaj siΔ™ podczas teleportacji! &6Β«" to player set {ckbedntp::%uuid of player%} to false stop teleport player to player's bed if line 11 of lore of player's tool is "&7* UΕΌycia: 1": delete player's tool if line 11 of lore of player's tool is "&7* UΕΌycia: 2": set line 11 of lore of player's tool to "&7* UΕΌycia: 1" if line 11 of lore of player's tool is "&7* UΕΌycia: 3": set line 11 of lore of player's tool to "&7* UΕΌycia: 2" send "&6* &eTeleportacja zakoΕ„czona!" to player set {ckbedtp::%uuid of player%} to false