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

Started by Ghost0fHerobrine on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Dec 2022
Points:
324

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
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

Active 2 years ago
Joined Dec 2022
Points:
360

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
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.

Active 2 years ago
Joined Dec 2022
Points:
324

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
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.