#Hopper skript

1 messages · Page 1 of 1 (latest)

prisma pelican
#

im trying to make a skript so you cant place a hopper for my server

on place of hopper:
cancel event
send action bar "&cYou are not allowed to place hoppers!" to player
play sound "entity.villager.no" to player

this is the skript it doesnt seem to work, anyone able to help?

arctic rose
prisma pelican
#

what?

arctic rose
#

What doesnt work?

#

and format your code in a code block

prisma pelican
#

sorry about that

#

i shouldnt be able to place a hopper

#

but for some reason i can

arctic rose
#

did you save and reload the script?

prisma pelican
#

yes

arctic rose
#

can you show /sk info?

prisma pelican
#

nevermind my friend has fixed it for me sorry for wasting your time

teal karma
#

holy chat

#

idk

#

try

#
  if event-block is "hopper":
    cancel event```
#

will prob work

arctic rose
#

Uhh thats worse than what they have now. Ypu’d also need type of event-block.