The command in my skript wont work (SetFruit). It can't be done in chat and wont give me any errors.
options:
# Paramecia #
Bara: fermented spider eye named "&eBara Bara no Mi" with lore "&7Paramecia"
Ope: red dye named "&eOpe Ope no Mi" with lore "&7Paramecia"
Hana: Peony named "&eHana Hana no Mi" with lore "&7Paramecia"
Gomu: purple dye named "&eGomu Gomu no Mi" with lore "&7Paramecia"
Sube: pink dye named "&eSube Sube no Mi" with lore "&7Paramecia"
Bomu: popped chorus fruit named "&eBomu Bomu no Mi" with lore "&7Paramecia"
Kage: charcoal named "&eKage Kage no Mi" with lore "&7Paramecia"
# Using Devil Fruit #
On first join:
set {DevilFruit.%Player%} to "None"
On rightclick:
if {DevilFruit.%Player%} is "None":
if player's tool is {@Bara}:
remove 1 {@Bara} from player's inventory
set {DevilFruit.%Player%} to "Bara"
play sound "entity.player.burp" to player
# Devil Fruit Effects #
Every 0.5 seconds in "world":
loop all players:
block at loop-player is water
{DevilFruit.%Loop-Player%} is not "None"
damage loop-player by 1
push player down at speed 5
# Obtaining Devil Fruit #
Command /SetFruit <Text>:
Permission: Fruit.Set
Usage: "/SetFruit [Fruit]", Sets your fruit to your desire
Trigger:
set {DevilFruit.%Player%} to arg-1
options:
# Paramecia #
Bara: fermented spider eye named "&eBara Bara no Mi" with lore "&7Paramecia"
Ope: red dye named "&eOpe Ope no Mi" with lore "&7Paramecia"
Hana: Peony named "&eHana Hana no Mi" with lore "&7Paramecia"
Gomu: purple dye named "&eGomu Gomu no Mi" with lore "&7Paramecia"
Sube: pink dye named "&eSube Sube no Mi" with lore "&7Paramecia"
Bomu: popped chorus fruit named "&eBomu Bomu no Mi" with lore "&7Paramecia"
Kage: charcoal named "&eKage Kage no Mi" with lore "&7Paramecia"
# Using Devil Fruit #
On first join:
set {DevilFruit.%Player%} to "None"
On rightclick:
if {DevilFruit.%Player%} is "None":
if player's tool is {@Bara}:
remove 1 {@Bara} from player's inventory
set {DevilFruit.%Player%} to "Bara"
play sound "entity.player.burp" to player
# Devil Fruit Effects #
Every 0.5 seconds in "world":
loop all players:
block at loop-player is water
{DevilFruit.%Loop-Player%} is not "None"
damage loop-player by 1
push player down at speed 5
# Obtaining Devil Fruit #
Command /SetFruit <Text>:
Permission: Fruit.Set
Usage: "/SetFruit [Fruit]", Sets your fruit to your desire
Trigger:
set {DevilFruit.%Player%} to arg-1