function playParticle(l: location, p: player, a: number):
show {_a} CLOUD particles at {_l} for {_p} offset by 0.1, 0.1 and 0.1 at speed 1
on rightclick with stick:
if name of player's tool is "&6&lFlash":
execute player command "flash"
command /ışıkhızı:
trigger:
if {flashgeldi} is true:
if {flash.%player%} is true:
set player's walk speed to 15
send player title "&6Turbo Güç Devrede" for 5 second
loop 100 times:
playParticle(location of player, player, 50)
wait 0.5 second
set player's walk speed to 10
send player title "&6Turbo Güç Devrede Değil" for 5 second
command /particles:
trigger:
if {flashgeldi} is true:
if {flash.%player%} is true:
if {particle::%player%} is false:
set {particle::%player%} to true
else:
set {particle::%player%} to false
on any move:
if {flashgeldi} is true:
if {flash.%player%} is true:
if {particle::%player%} is true:
show 10 EXPLOSION_LARGE particles at location of player for player offset by 0, 1 and 0.1 at speed 1
on join:
if {flash.%player%} is true:
set {flash.%player%} to false
set {flashlık} to "none"
set {flashgeldi} to false
give player 1 milk
apply speed 0 to the player
apply jump 0 to the player
set player's walk speed to 0.5
loop all entities:
Apply slowness 0 to loop-entity
on chat:
if {flashgeldi} is true:
cancel event
add "%player's display name% &f> &f%message%" to {mesajlar::*}
command /flash:
permission: flash.admin
trigger:
if {flash.%player%} is false:
set {flash.%player%} to true
set {flashlık} to player
set {flashgeldi} to true
broadcast "&6 The Flash Geldi ! "
strike lightning effect at the player
execute console command "gamerule randomTickSpeed 0"
execute console command "gamerule doMobSpawning false"
else:
set {flash.%player%} to false
delete {flashlık}
set {flashgeldi} to false
apply speed 0 to the player
apply jump 0 to the player
loop {mesajlar::*}:
broadcast "%loop-value%"
clear {mesajlar::*}
reset player's walk speed
set player's walk speed to 0.3
execute console command "gamerule randomTickSpeed 1"
execute console command "gamerule doMobSpawning true"
loop all entities:
Apply slowness 0 to loop-entity
execute console command "effect %player% clear"
every second:
if {flashgeldi} is true:
loop all players:
if {flash.%loop-player%} is true:
set loop-player's walk speed to 6
else:
set loop-player's walk speed to 0
loop all entities:
if loop-entity isn't player:
Apply slowness 500 to loop-entity
on flow:
if {flashgeldi} is true:
cancel event
on damage:
if {flashgeldi} is true:
cancel event
if {flash.%attacker%} is true:
uncancel event
on any movement:
if {flashgeldi} is true:
cancel event
if {flashlık} isn't "%player%":
stop
if {flash.%player%} is true:
uncancel event
show 50 FLAME particles at location of player for player offset by 0, 0 and 0 at speed 0.1
show 50 FLAME particles at location of player for player offset by 0, 0.5 and 0 at speed 0.1
show 50 FLAME particles at location of player for player offset by 0, 0.8 and 0 at speed 0.1
apply speed 15 to the player
apply jump 2 to the player