# ##########################################################
# # #
# # #Script by coder Furkanbey!
# # #V1 Sürümüyle karşınızda. #
# ##########################################################
options:
p: [&4You&fTube]
2p:&4You&fTuber
3p:[&4You&fTuber M.]
Mainglasscolour: white glass
2Mainglasscolour: blue glass
4p:&4You&fTube K.
5p:&4&You&fTube Ö.
command /ytmenü:
trigger:
if player has permission "youtuber.menü":
open chest with 3 rows named "&4Y&fT Menü" to player
format slot 0 of player with {@Mainglasscolour} named "&a" to be unstealable
format slot 1 of player with Nether Star named "&cFly Aç" with lore "&fFly Açar." to close then run [execute player command "/ytfly ac"]
format slot 8 of player with {@Mainglasscolour} named "&a" to be unstealable
format slot 9 of player with {@2Mainglasscolour} named "&a" to be unstealable
format slot 10 of player with {@Mainglasscolour} named "&a" to be unstealable
format slot 11 of player with {@2Mainglasscolour} named "&a" to be unstealable
format slot 12 of player with {@Mainglasscolour} named "&a" to be unstealable
format slot 14 of player with {@2Mainglasscolour} named "&a" to be unstealable
format slot 15 of player with {@Mainglasscolour} named "&a" to be unstealable
format slot 16 of player with {@2Mainglasscolour} named "&a" to be unstealable
format slot 17 of player with {@Mainglasscolour} named "&a" to be unstealable
format slot 13 of player with paper named "&cMenü kuralları" with lore "&fKuralları görürsün." to close then run [execute player command "/ytmenükuralları"]
format slot 22 of player with water bottle named "&cHız iksiri" with lore "&fHız iksiri içersin!" to close then run [execute player command "/hıziksir"]
format slot 18 of player with {@Mainglasscolour} named "&a" to be unstealable
format slot 19 of player with {@2Mainglasscolour} named "&a" to be unstealable
format slot 20 of player with {@Mainglasscolour} named "&a" to be unstealable
format slot 21 of player with {@Mainglasscolour} named "&a" to be unstealable
format slot 24 of player with {@2Mainglasscolour} named "&a" to be unstealable
format slot 23 of player with {@Mainglasscolour} named "&a" to be unstealable
format slot 25 of player with {@Mainglasscolour} named "&a" to be unstealable
format slot 26 of player with {@2Mainglasscolour} named "&a" to be unstealable
format slot 7 of player with Nether Star named "&cFly Kapa" with lore "&fKapatır." to close then run [execute player command "/ytfly kapat"]
format slot 4 of player with book named "&cVideo Modu" with lore "&fVideo modu açar." to close then run [execute player command "/video"]
else:
send "{@3p} &7Bu özelliği kullana bilmek için &4You&fTuber &7olmanız lazım!"
command /ytfly [<Text>]:
trigger:
if player has permission "youtuber.menü":
if arg 1 is "ac":
set player's fly mode to true
send "{@3p} &2Fly modu aktif!"
if arg 1 is "kapat":
set player's fly mode to false
send "{@3p} &4Fly Modu de-aktif!"
else:
send "{@3p} &7Bu özelliği kullana bilmek için &4You&fTuber &7olmanız lazım!"
command /video:
permission: youtuber.video
permission message: {@3p} &7Bu komutu kullanman için {@p} Tagın olması lazım.
trigger:
broadcast "&6%player% Adlı {@2p} videoda!"
wait 2 seconds
send "{@3p}&2 Video modundasın iyi videolar!" #Burada userlar eğer küfür etmezse youtuber rahatça video çekebilir.
command /ytmenükuralları:
permission: youtuber.kuralları
permission message: "{@3p} Bunun için {@p} Yetkin yok!"
trigger:
send "[{@4p}] &4Fly &fModunu gereksiz kullanımı yasaktır!"
send "[{@4p}] &4Hız &fModunu lobide kullanabilirsiniz!"
send "[{@4p}] &4Video &fModunu gereksiz kullanımı yasaktır!"
send "[{@4p}] &4Kuralları &fOkumadan Menüdeki özellikleri Kullanmyn!"
send "[{@4p}] &4Bu &fKuralları çiğneyenlerin Yt Tagı alınacaktır!" #Kurucuya bağlı
command /hıziksir:
trigger:
if player has permission "youtuber.iksir":
apply potion of speed 3 to the player for 10 seconds
send "{@3p}&4Hız aldınız!" to player