Minecraft – Problem with execute command

minecraft-commandsminecraft-java-edition

I have a clock leading into this command:

/execute @e[type=Chicken] ~ ~ ~ tp @p [team=t1] ~ ~33 ~

but when i spawn a chicken, nothing happens. The previous output box says:

[11:22:54] Failed to execute 'tp @p [team=t1] ~ ~33 ~' as Chicken

What am i doing wrong and how can i fix it?

Thanks

Best Answer

Nevermind, i realised that there shouldn't be a space between @p and [team=t1]