#Making a Weapon that Disables Movement for 5 sec
1 messages · Page 1 of 1 (latest)
Do I need to actually provide help or can I give feedback/pointers that point you in the wrong directions
could you give some feedback please?
it says i cant walk on air but what else would i do for it to work on all terrain
I mean there's on %entity% move which prevents movement in general
you already blocked on jump but note that on %entity% move will possibly cause issues like kicking player if the player is not on ground so
you'll need to add a check like if player is on ground or smth to prevent it but they'll have full air movement until they hit the ground
alright
thanks
now i cant jump but i can still kind of run
if attacker is player:
if victim is player:
if attacker's tool is raw salmon named "&d&lGeoorge":
set {freeze::%victim's uuid%} to true
message "&9You have been frozen!" to victim
wait 5 seconds
delete {freeze::%victim's uuid%}
on walk on stone:
if event-block is not sea lantern:
if {freeze::%player's uuid%} is set:
if player is on ground:
cancel event
on jump:
if {freeze::%player's uuid%} is set:
cancel event
I mean you're still using on walk so yes
a walk isn't non stop and isn't automatically detected just by moving
tapping w will bypass it
oh what other trigger would you recomend?