on rightclick: is weird

  • 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.

PolduZ

Member
Oct 2, 2020
31
2
8
heres my code:
Code:
on right click with fire charge:
    wait 1 tick
    remove 1 fire charge from player's inventory
    shoot a fireball from the player at speed 1
the code only works when looking at blocks or entities how can i fix this
my server version is bukkit 1.17
skript: 2.6 beta2
skellet: 1.9.11
skrayfall: 1.9.26
[doublepost=1644522348,1644330348][/doublepost]bump
 
  • Like
Reactions: sleepy unk
Code:
on right click with fireball:
    wait 1 tick
    remove 1 fireball from player's inventory
    shoot a fireball from the player at speed 2
 
Code:
on right click with fireball:
    wait 1 tick
    remove 1 fireball from player's inventory
    shoot a fireball from the player at speed 2
there is not such item as fireball i tried that before
[doublepost=1644527771,1644526981][/doublepost]its weird because it never happened before its like my file the code is in broke
[doublepost=1644527964][/doublepost]
Code:
on right click holding fire charge:
    wait 1 tick
    remove 1 fire charge from player's inventory
    shoot a fireball from the player at speed 1
i looked at my other files and they all have holding instead of with... well thats strange
 
Code:
on right click with fire charge:
    remove 1 fire charge from player's inventory
    shoot a fireball from player's location at speed 2
 
Status
Not open for further replies.