#help
1 messages · Page 1 of 1 (latest)
- code blocks
- neither do we, you need to tell us what its supposed to do and what it does instead
standalone: true
command /swapsnowball:
description: Give the player a Swap Snowball.
permission: swapsnowball.use
trigger:
give player a snowball with lore "&7SwapSnowball"
send "You received the Swap Snowball!"
on projectile hit:
if projectile is a snowball:
set {_thrower} to shooter of projectile
set {_hitEntity} to entity hit by projectile
if {_thrower} is a player and {_hitEntity} is an entity:
if lore of projectile is "&7SwapSnowball":
teleport {_thrower} to {_hitEntity}'s location
teleport {_hitEntity} to {_thrower}'s location
send "You swapped positions with another entity using the Swap Snowball!"
``
`
- give your post a more descriptive name than "help"
code blocks are 3 backticks at the very beginning and very end of the code (```code```)