Skript

Skript

743k Downloads

Swing hand effect does not working

minejango2 opened this issue ยท 2 comments

commented

Skript/Server Version

[14:16:45 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[14:16:45 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[14:16:45 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[14:16:45 INFO]: [Skript] Server Version: 1.21.1-119-7cd4f2c (MC: 1.21.1)
[14:16:45 INFO]: [Skript] Skript Version: 2.9.3 (skriptlang-github)
[14:16:45 INFO]: [Skript] Installed Skript Addons: None
[14:16:45 INFO]: [Skript] Installed dependencies: None

Bug Description

Swing hand effect does not working

on damage:
	if attacker is player:
		if attacker's held item is iron axe:
			send "Trying to swing off hand!" to attacker
			make attacker swing their off hand
			send "Swing attempt completed." to attacker

I use the code above, and send messages are worked very well. but off hand doesn't swing

Expected Behavior

The offhand (usually the left hand) must be swinging.

Steps to Reproduce

on damage:
	if attacker is player:
		if attacker's held item is iron axe:
			send "Trying to swing off hand!" to attacker
			make attacker swing their off hand
			send "Swing attempt completed." to attacker

As noted above, this code works fine EXCEPT for the swing hand effect.

Errors or Screenshots

there was no error.

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
commented

Didn't see this was made but the issue isn't skript nor unintended behavior a client can't swing both hands at the same time. In the case here you're doing just that offhand and mainhand

commented

oh sorry