#Problem with onProjectileHit
1 messages ยท Page 1 of 1 (latest)
yes
Try running a say command? If that works it means your command is wrong then
I actually tested the same command in the chat before and it works
i'll try to do that tho
dimension*
ok
[Scripting][error]-ReferenceError: 'dimension' is not defined at <anonymous> (onProjectileHit.js:9)
this my new code btw
Logic error
entity.dimension.runCommand....
just reverted it to hitEntity.dimension.runCommand again
It still works the same
the command doesn't run
Ok
Same issue
'entity' is not defined
@acoustic sphinx like this?
Because you need to replace acording how you defined your variables lmao