Solved Why doesn't it working?

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

Status
Not open for further replies.

Mani

Member
Mar 21, 2019
17
0
0
33
Code:
on break:
    if broken block is in radius 50 around {warp.farmwelt}:
        cancel event
 
Thanks for your precise description of how and what’s not working as well as your given information about your server! I really love people like you.
 
Thanks for your precise description of how and what’s not working as well as your given information about your server! I really love people like you.
The mistake is:
Code:
'broken block' is not an entity type (CB.sk, line 620: if broken block is in radius 50 around {warp.farmwelt}:')
My server is running on 1.8.8. I want to do a spawn protection so that no player can break a block at the spawn from {warp.farmwelt}
[doublepost=1559382538,1559382038][/doublepost]
I believe you need to loop the blocks in a radius around your variable, and then check if `event-block` is within that loop
Can you send me a code about your answer. That way I can see what you mean.
 
Status
Not open for further replies.