Sk holo Bounty

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Jolt

New Member
Oct 19, 2019
9
0
0
24
Code:
on death:
  if {hasbounty::%victim's uuid%} is true:
    set {hasbounty::%victim's uuid%} to false
    set {bounty::%victim%} to 0
    add {bounty::%victim%} to attacker's balance
    delete holograms {bholo::%victim's uuid%}
  else:
    if {killstreak::%attacker's uuid%} is divisible by 2:
      if {killstreak::%attacker's uuid%} is not 2:
        set {hasbounty::%attacker's uuid%} to true
        add 50 to {bounty::%attacker's uuid%}
        bountyholo(attacker)


function bountyholo(p: player):
  create new hologram with line "$%{bounty::%{_p}%}%"
  set {_directions::*} to 0.5 meters horizontally infront, 2 meter above and 0.5 meters right
  make the last created hologram follow {_p} with offset {_directions::*}

error: There is no location in a function event
 
Status
Not open for further replies.