This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hello
I made a boat race game but people can leave the boat and walk. I wanna do a kill command that kills everyone who lefts the boat.
Thanks for helping me
Use the water to kill players
If a player leaves the boat and touches the water, he gets killed
/execute as @a at @s if block ~ ~ ~ minecraft:water unless entity @s[nbt={RootVehicle:{}}] run kill @s
Hello
I made a boat race game but people can leave the boat and walk. I wanna do a kill command that kills everyone who lefts the boat.
Thanks for helping me
Use the water to kill players
If a player leaves the boat and touches the water, he gets killed