- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleUntitled Paste
TypeDenizen Script
Date2019/09/01 12:52:05 UTC-07:00
ByGuest
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
1200
headpunch:
    type: world
    events:
        on player damages entity:
        - define headLoc:<context.entity.eye_location>
        - foreach <player.location.points_between[<player.location.forward[3.5]>].distance[0.5]>:
            - announce "<[value]>"
            - if <[value].distance[<[headLoc]>]> <= 0.5:
             #- define headShot true
             - shoot <context.entity>
             - announce "ow"



RawRaw



Pastes made: 66888