#(hef_sus) help me

19 messages · Page 1 of 1 (latest)

past holly
#

i want an item when right click, summon this <entity[armor_stand].with[equipment=<map.with[helmet].as[<item[diamond].with[custom_model_data=4]>]>;invulnerable=true;visible=false]> fly to the player's cursor and fly through blocks.

when player get hit by that, it deal 2.5 heart and player can dodge

Help meeeeeeeeeeeeeee

untold ravineBOT
#

(hef_sus) help me

untold ravineBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

dusty sandal
#
  1. you should save that as an entity script
#
  1. what do you mean, fly to the player's cursor and fly through blocks? do you mean like mineplex's anticheat, where you had a mob consistently in front and behind of you, so if you attack them it'd detect it?
past holly
#

like this

haughty jasper
# past holly

And what part of that are you trying to make? the freelook part? or just the shooting part?

haughty jasper
#

And do you want it to specifically be an armor stand? a lot of people use particles, but even something like projectiles (I.e. using a snowball/arrow or something) would probably be easier

#

An armor stand is also possible if you specifically want that, just making sure you're not using it for no reason - could probably even use display entities now that they have a teleportation delay

#

Either way though, unless you use projectile entities (I.e. arrows/snowballs), you'll need your own logic to determine what entity is hit (if any), which means

#

!t ray_trace_target

raven wharfBOT
# haughty jasper !t ray_trace_target

Traces a line from this location towards the direction it's facing, returning the first hit entity (if any).
This is similar to !tag LocationTag.precise_target and !tag PlayerTag.target, except offering more options for how the ray trace is performed.
For ray tracing locations, see !tag LocationTag.ray_trace.
Optionally specify:
range: (defaults to 200) a maximum distance (in blocks) to trace before giving up.
blocks: (defaults to true) specify "false" to ignore all blocks, ...

Group

world

Returns

EntityTag

Examples
# Removes the entity a player is looking at.
- define target <player.eye_location.ray_trace_target[ignore=<player>]||null>
- if <[target]> != null:
    - remove <[target]>
# Returns any player within the view of an NPC.
- define target <npc.eye_location.ray_trace_target[entities=player;raysize=2]||null>
# Highlights an entity through any number or types of blocks.
- define target <player.eye_location.ray_trace_target[ignore=<player>;blocks=false]||null>
- if <[target]> != null:
    - adjust <[target]> glowing:true
past holly
past holly
#

idk much about it

past holly