Solved Command not working

  • 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 community!

    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.

Lylac_

New Member
Mar 28, 2021
5
0
1
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
 
Status
Not open for further replies.