Silah+ -- Sadece Öldür! -- Skript

yoloman

Lapis Toplayıcısı
En iyi cevaplar
0
Sonoyuncu Guncraft ı biliyormusun ? Biliyorsan ondaki Putty i buna ekleyebilirmisin ?[DOUBLEPOST=1420203808,1420203495][/DOUBLEPOST]@IRFN @DonduranAtes Gelirmisiniz ?
 

RepublicanSensei

ˢᵖᶤᵍᵒᵗ ᵈᵉᵛᵉˡᵒᵖᵉʳ
En iyi cevaplar
0
Mayın , tnt yerine geçiyor putty. Elindeki putty e sağ tıklayınca yere küçük bir blok bırakıyor ve istediğin zaman onu sol tık ile patlatabiliyorsun.
Yabancılar yapmış bir-iki şey:
options:
Explosion Type: safe explosion
on rightclick with TNT:
targeted block is a button:
player have permission "putty.use"
loop {putty::protect::*}:
if loop-value is (location of targeted block):
send "&cputty > &7This button has been protected."
stop
if {putty::%location of targeted block%::key::1} is set:
send "&cputty > &7This putty has been activated."
stop
cancel event
loop 5 times:
chance of 50%:
set {putty::%location of targeted block%::key::%loop-integer%} to true
else:
set {putty::%location of targeted block%::key::%loop-integer%} to false
remove 1 TnT from player's inventory
set {putty::%location of targeted block%::owner} to player
set {_target} to targeted block
set {_loc} to targeted block's location
add 30 to {_timer}
send "&cputty > &7You have activated this putty."
while {_timer} > 0:
if {putty::%{_loc}%::key::1} is not set:
send "&cputty > &7Your putty has been diffused."
stop
wait 1 second
play raw sound "note.pling" at {_target} with pitch 3 volume 1
subtract 1 from {_timer}
create a {@Explosion Type} of force 7 at {_target}
loop 5 times:
delete {putty::%{_loc}%::key::%loop-integer%}
delete {putty::%{_loc}%::owner}
on break:
event-block is a button
if {putty::%location of event-block%::key::1} is set:
send "&cputty > &7This button is a putty. Right-click with shear to deactivate."
cancel event
on rightclick with shears:
targeted block is a button:
player have permission "putty.use"
if {putty::%location of targeted block%::key::1} is not set:
stop
cancel event
wait 1 tick
open chest with 1 rows named "putty Defuse System" to player
loop 5 times:
set {putty::%player%::entry::%loop-integer%} to false
format slot (loop-integer + 1) of player with red wool named "&cToggle Code" to run "putty-c entry %loop-integer% %player%"
format slot 0 of player with coal block named "&8Attempt diffusal." to be unstealable
format slot 8 of player with redstone block named "&2Enter" to run "putty-c enter 0 %player%"
command /putty [<text>]:
permission: putty.command
trigger:
arg 1 is not set:
send "&c/putty &7<help/version/protect>"
arg 1 is "help":
send "&c&lTo create a putty,&7 place a button, and then right-click it with a TNT."
send "&c&lTo defuse an activated putty,&7 go to the activated putty button, then right-click with a shear to attempt deactivating."
arg 1 is "protect":
targeted block is a button
send "&cputty > &7Added %(location of targeted block)% to protect list."
add (location of targeted block) to {putty::protect::*}
arg 1 is "version":
send "&cputty > &7v1.0 by DragonmaXXS."
command /putty-c [<text>] [<integer>] [<player>]:
executable by: console
trigger:
arg-1 is "entry":
if {putty::%player-arg%::entry::%integer-arg%} is false:
set {putty::%player-arg%::entry::%integer-arg%} to true
format slot (integer-arg + 1) of player-arg with green wool named "&aToggle Code" to run "putty-c entry %integer-arg% %player-arg%"
else:
set {putty::%player-arg%::entry::%integer-arg%} to false
format slot (integer-arg + 1) of player-arg with red wool named "&cToggle Code" to run "putty-c entry %integer-arg% %player-arg%"
arg 1 is "enter":
if {putty::%location of player-arg's targeted block%::key::1} is not set:
loop 9 times:
format slot (loop-integer - 1) of player-arg with red wool named "&2putty Exploded." to be unstealable
stop
loop 5 times:
if {putty::%location of player-arg's targeted block%::key::%loop-integer%} is the same as {putty::%player-arg%::entry::%loop-integer%}:
add 1 to {_correct}
[HASHTAG]#send[/HASHTAG] "%{putty::%location of player-arg's targeted block%::key::%loop-integer%}% : %{putty::%player-arg%::entry::%loop-integer%}%"
if {_correct} is not set:
set {_correct} to 0
if {_correct} = 5:
loop 9 times:
format slot (loop-integer - 1) of player-arg with light green wool named "&2putty Defused." to be unstealable
loop 5 times:
delete {putty::%location of player-arg's targeted block%::key::%loop-integer%}
send "&cputty > &7You have defused a bomb set by &c%{putty::%location of player-arg's targeted block%::owner}%&7." to player-arg
delete {putty::%location of player-arg's targeted block%::owner}
else:
format slot 0 of player-arg with {_correct} of coal block named "&7%{_correct}% correct." to be unstealable
 
Üst