Merhaba arkadaşlar, ben PREMIERE Setups Türkiye temsilcisi Ege Türker.
Bugün sizlere şirketimiz adına yaptığım bir skripti tanıtacağım.
Öncelikle yabancı uyruklu çalışanlarımızın ortak konusuna bakmak için
Değerli ziyaretçimiz, içeriği görebilmek için
şimdi giriş yapın veya kayıt olun.
Linkine göz atmanız yetecektir. Çok uzatmadan skriptimize geçelim.
Yapimci: Ege Türker
Yapimci Şirket: Premiere Setups
Sürüm: 1.7 - 1.8
Telif Hakkı: Bulunuyor
Skript kodları:
Kod:
variables:
{aktif} = 1
{pik} = grass
command /disko:
description: EDW
usage: /disko
permission: disko.ayarla
permission message: &cYetkin yok!
executable by: players and console
aliases: /dc
trigger:
open chest with 1 row named "<gold> Disko" to player
wait 1 tick
if {aktif} = 1:
format slot 0 of player with 1 light green wool named "&a&lAktif!" with lore "&aBana tiklayarak de-aktif edebilirsin!" to close then run "diskokapat"
if {aktif} = 0:
format slot 0 of player with 1 red wool named "&4&lDe-Aktif" with lore "&4Bana tiklayarak aktif edebilirsin!" to close then run "diskoac"
format slot 6 of player with 1 wood named "&a&lOdun" with lore "&aTiklarayak aktif et!" to close then run "pikodun"
format slot 7 of player with 1 grass named "&a&lCimen" with lore "&aTiklarayak aktif et!" to close then run "pikcimen"
format slot 8 of player with 1 gravel named "&a&lGravel" with lore "&aTiklarayak aktif et!" to close then run "pikgravel"
command /pikcimen:
description: DWG
usage: /pikcimen
permission: disko.cimen
permission message: &cYetkin yok!
executable by: players and console
trigger:
set {pik} to grass
message "&a&lDisko yürüyüsü &2Cimen &a&lolarak ayarlandi"
#Pick Gravel
command /pikgravel:
description: DWC
usage: /pickgravel
permission: disko.gravel
permission message: &cYetkin yok!
executable by: players and console
trigger:
set {pik} to gravel
message "&a&lDisko yürüyüsü &2Gravel &a&lolarak ayarlandi"
#Pick Wood
command /pikodun:
description: DWW
usage: /pikodun
permission: disko.odun
permission message: &cYetkin yok!
executable by: players and console
trigger:
set {pik} to gravel
message "&a&lDisko yürüyüsü &2Odun &a&lolarak ayarlandi"
#On and Off
command /diskoac:
description: DWO
usage: /diskoac
executable by: players and console
trigger:
set {enabled} to 1
broadcast "&a&lDisko yürüyüsü acildi"
command /diskokapat:
description: DWJ
usage: /Diskokapat
executable by: players and console
trigger:
set {enabled} to 0
message "&4&lDisko yürüyüsü kapatildi"
#Walking
on walking on grass:
{enabled} is 1
player has permission "disko.kullan"
player has permission "disko.cimen"
if {pik} is grass:
wait 0.2 seconds
set {_block} to block below player
set {_blockloc} to location of block below player
set {_blockabove} to block above the block at {_blockloc}
set {_blockaboveloc} to location above the block at {_blockloc}
if {_blockabove} is air:
set {_isair} to 1
if {_blockabove} isn't air:
set {_isair} to 0
set block at {_blockloc} to wool
wait 1 seconds
set the block at {_blockloc} to grass
wait 7 second
if {_isair} is 0:
set the block at {_blockaboveloc} to {_blockabove}
on walking on gravel:
{enabled} is 1
player has permission “disko.kullan"
player has permission "disko.gravel"
if {pik} is gravel:
wait 0.2 seconds
set {_block} to block below player
set {_blockloc} to location of block below player
set {_blockabove} to block above the block at {_blockloc}
set {_blockaboveloc} to location above the block at {_blockloc}
set block below player to wool
wait 1 seconds
set the block at {_blockloc} to gravel
wait 7 second
if {_isair} is 0:
set the block at {_blockaboveloc} to {_blockabove}
on walking on wood:
{enabled} is 1
player has permission "disko.kullan"
player has permission "disko.odun"
if {pik} is wood:
wait 0.2 seconds
set {_block} to block below player
set {_blockloc} to location of block below player
set {_blockabove} to block above the block at {_blockloc}
set {_blockaboveloc} to location above the block at {_blockloc}
set block below player to wool
wait 1 seconds
set the block at {_blockloc} to wood
wait 7 second
if {_isair} is 0:
set the block at {_blockaboveloc} to {_blockabove}