MC Concepts: Dash Ability with Cooldown (Bedrock Ed.)

Описание к видео MC Concepts: Dash Ability with Cooldown (Bedrock Ed.)

Hey guys! Welcome back, today I'll be showing how to make a pretty cool dash ability with a nice cooldown system. Enjoy!
_______________________________
💬 Join my Discord server for the world download! 💬   / discord  
_______________________________
🔸Commands (IN ORDER)🔸
To stop a player having the ability:
/scoreboard players reset (player) dashCooldown

To add scoreboards:
/scoreboard objectives add dashCooldown dummy
/scoreboard objectives add timer dummy

To give player dashCooldown scoreboard:
/scoreboard players set (player) dashCooldown 0

Giving ability:
replaceitem entity @a[scores={dashCooldown=0}] slot.hotbar 4 snowball 1 0 {"minecraft:item_lock":{"mode":"lock_in_slot"}}

Teleport player to snowball:
execute @e[type=snowball] ~~~ tp @p[r=2] ~~~

Particles (When the player's dashing):
/execute @e[type=snowball] ~~~ particle minecraft:basic_flame_particle ~~1~

Slowfalling:
execute @e[type=snowball] ~~~ effect @p[r=2] slow_falling 1 1 true

Particles (When it stops):
/execute @e[type=snowball] ~~~ particle minecraft:large_explosion ~~1~

Kill the snowball:
kill @e[type=snowball]

Giving cooldown:
execute @e[type=snowball] ~~~ scoreboard players set @p[r=2] dashCooldown 1

Set timer to 5:
execute @a[scores={dashCooldown=1}] ~~~ scoreboard players set @s timer 5

Set dashCooldown to 2:
scoreboard players set @a[scores={dashCooldown=1,timer=5}] dashCooldown 2

Remove 1 from timer:
execute @a[scores={timer=!0,dashCooldown=2}] ~~~ scoreboard players remove @s timer 1

Locking ability:
replaceitem entity @a[scores={dashCooldown=0}] slot.hotbar 4 barrier 1 0 {"minecraft:item_lock":{"mode":"lock_in_slot"}}

Actionbar titles:
/title @a[scores={timer=5,dashCooldown=2}] actionbar §a§lDash Cooldown: §e▌▌▌▌▌
/title @a[scores={timer=4,dashCooldown=2}] actionbar §a§lDash Cooldown: §e▌▌▌▌
/title @a[scores={timer=3,dashCooldown=2}] actionbar §a§lDash Cooldown: §e▌▌▌
/title @a[scores={timer=2,dashCooldown=2}] actionbar §a§lDash Cooldown: §e▌▌
/title @a[scores={timer=1,dashCooldown=2}] actionbar §a§lDash Cooldown: §e▌
/title @a[scores={timer=0,dashCooldown=2}] actionbar §a§lDash Ability Ready!

Set dashAbility back to 0:
scoreboard players set @a[scores={timer=0,dashCooldown=2}] dashCooldown 0
_______________________________
🎯Timestamps🎯
Demo: 0:00
Intro: 0:43
Setting up scoreboards: 1:00
How to give the ability: 1:26
Giving snowball: 1:46
Dash system: 2:33
Cooldown system: 3:55
Outro: 6:27
_______________________________
🎵 Music 🎵 Around the Campfire - Purrple Cat
_______________________________
♦️ Editor ♦️ Adobe Premiere Pro
_______________________________
🔔 Like & Subscribe! 🔔
_______________________________
📌 Tags 📌
#minecraft #howto #ability #dash #cooldown #system #commands #bedrock #mcpe #playstation #xbox #ios #andriod #switch #win10

Комментарии

Информация по комментариям в разработке