#Please help me fix this hyperion script thats old.

1 messages · Page 1 of 1 (latest)

valid siren
#

could you add indentation...

#

it's the spaces you add after every colon

#

I'll try add it for you

#
  description: Give the player Hyperion!
  trigger:
    give player iron sword named "&6Hyperion"
    send "&7You have acquired &6Hyperion&7!"
    set {hyperion.%player%} to 0

on right click:
  if player's tool is iron sword named "&6Hyperion":
    set {_block} to block 8 in front of player
    teleport player above {_block}
    create a fake explosion 1 meter above the player
    push player up at speed .1
    damage all entities in radius 10 of player by 50
    set {hyperion.%player%} to 1
    wait 0.1 seconds
    set {hyperion.%player%} to 0```
#

you may need an addon for this

#

that's possibly why it doesn't work

#

probably like skRayFall

#

because of the fake explosions, etc.

#

yes

#

but you'll possibly still need it to teleport you

#

I'll try to help, but I cannot test it myself

#

that would probably work

#
  description: Give the player Hyperion!
  trigger:
    give player iron sword named "&6Hyperion"
    send "&7You have acquired &6Hyperion&7!" to player
    set {hyperion.%player%} to 0

on right click:
  if player's tool is iron sword named "&6Hyperion":
    set {_block} to 8 blocks horizontally forwards from player
    teleport player above {_block}
    push player up at speed .1
    set {hyperion.%player%} to 1
    wait 0.1 seconds
    set {hyperion.%player%} to 0```
#

send them

#
  description: Give the player Hyperion!
  trigger:
    give player iron sword named "&6Hyperion"
    send "&7You have acquired &6Hyperion&7!" to player
    set {hyperion.%player%} to 0

on right click:
  if player's tool is iron sword named "&6Hyperion":
    set {_block} to 8 blocks in front of player
    teleport player above {_block}
    push player up at speed 1
    set {hyperion.%player%} to 1
    wait 0.1 seconds
    set {hyperion.%player%} to 0```
#

try that

#

uh

#

no I'm reading the docs

#

for your solution

#
  description: Give the player Hyperion!
  trigger:
    give player iron sword named "&6Hyperion"
    send "&7You have acquired &6Hyperion&7!" to player
    set {hyperion.%player%} to 0

on right click:
  if player's tool is iron sword named "&6Hyperion":
    loop 8 times:
      teleport player 1 block forwards
    push player up at speed 1
    set {hyperion.%player%} to 1
    wait 0.1 seconds
    set {hyperion.%player%} to 0```
#

try that

#

send that too

#

I have no idea atm, can't get my game to start to find the solution that you want

#

the only way I can think rn for that

#

is to push them there, and not teleport

#
  description: Give the player Hyperion!
  trigger:
    give player iron sword named "&6Hyperion"
    send "&7You have acquired &6Hyperion&7!" to player
    set {hyperion.%player%} to 0

on right click:
  if player's tool is iron sword named "&6Hyperion":
    push player horizontally forwards at speed 3
    push player up at speed 1
    set {hyperion.%player%} to 1
    wait 0.1 seconds
    set {hyperion.%player%} to 0```
copper grail
#

Isn't it teleport player 1 blocks in front of player

#

I could be wrong

#

I can't test it rn bc im at school