execute at @s[tag=luffy_gatling] positioned ^^1^2 run function one_piece/luffy/gatling
execute as @s at @e[c=1,family=giant_pistol,type=wesl3y:luffy_damage] run function one_piece/luffy/giant_pistol


#Luffy Gear 2 Transform
camera @s[scores={wg:transform=1}] clear
scoreboard players set @s[scores={wg:transform=2}] wg:animes 9
scoreboard players set @s[scores={wg:transform=2}] wg:characters 2
tag @s[scores={wg:transform=1}] add update_character
inputpermission set @s[scores={wg:transform=1}] movement enabled
event entity @s[scores={wg:transform=35}] wesl3y:luffy_gear2
playanimation @s[scores={wg:transform=50}] animation.luffy_gear2.transform wesl3y
inputpermission set @s[scores={wg:transform=50}] movement disabled
scoreboard players remove @s[tag=transform] wg:transform 1