if tool.Name == "Bat" or tool.Name == "WoodenSword" or tool.Name == "Dark Sword" or tool.Name == "Demon Sword" or tool.Name == "Rainbow Sword" then
toolCircle.Stacks.Text = ""
elseif tool.Name == "ClassicSword" or tool.Name == "Crowbar" or tool.Name == "Metal Bat" or tool.Name == "DeluxeBat" or tool.Name == "PlusBat" then
toolCircle.Stacks.Text = ""
elseif tool.Name == "GoldBat" or tool.Name == "RobuxBat" or tool.Name == "Spiked Club" or tool.Name == "Light Saber" or tool.Name == "Flashlight" then
@echo off
set firmware=firmware.bin
set ports=COM3 COM4 COM5
for %%p in (%ports%) do (
start esptool.py --chip esp32 --port %%p write_flash 0x1000 %firmware%
#!/bin/bash
ports=("/dev/ttyUSB0" "/dev/ttyUSB1" "/dev/ttyUSB2")
firmware="firmware.bin"
for port in "${ports[@]}"; do
esptool.py --chip esp32 --port $port write_flash 0x1000 $firmware &