Moving hand without left or right clicking

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

Fladsaw

Member
Jul 18, 2022
30
0
6
21
Hey everyone! This might sound a bit ridiculous but is there a way to move player's hand without them using mouse buttons? I only want the animation to be shown. Thanks in advance!
 
Your question is a bit ambiguous, so I'm going to try to answer all possible cases I see.

1.) Swing the player's hand. There's an expression for this, which works on both hands. If the player isn't holding anything in their off-hand, it may not display the swing in first person. Also note that this, as well as expressions to force a player to damage an entity, will not visually display the attack cooldown on 1.9+.
2.) Move the hotbar slot the player has selecter. This isn't a thing, and you can't do this. What you *could* do, I guess, is use skript-reflect to listen to hotbar change events, and cancel it until the player selects the right one. It seems very round-about though, and I'm sure somebody else might be able to come up with a better solution.

Hope this helps. Ask me for further clarification if needed.