How do I kill a player with a Text Field Editor in a GUI?

Started by Ghost0fHerobrine on

Topic category: Help with modding (Java Edition)

Last seen on 19:13, 10. Apr 2023
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I kill a player with a Text Field Editor in a GUI?

Basically, what I am doing is making a Death Note mod, and I am trying to make it so when I put the name in the name slot and press kill, it waits 40 seconds then kills them, but in the procedure I made, everything was going perfectly when I realised that the "Execute command / <> at x: x y: y z: z" has only 1 slot, but what I was trying to do was make it do "/kill" and "Get text inside textfield <Name>", but I can't do that since there is only 1 slot and the logic procedure thing only has =, not "AND" so please help me I am stuck, here is a picture of the issue.

Read issue above

Last seen on 09:58, 14. Aug 2023
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello!Use the create text…
Thu, 01/12/2023 - 09:00

Hello!
Use the create text with: block.
first field you put your "kill"(Make Sure to add a space at the end)

second field put the text field block.

Last seen on 19:13, 10. Apr 2023
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
GalaxyGaming2000, thank you…
Sat, 01/14/2023 - 02:17

GalaxyGaming2000, thank you so much actually I appreciate it a lot, it works just as I needed it to, and you helped me out a whole lot, thank you so much.