On break

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

Tom1222322

Member
Feb 5, 2021
19
0
1
22
Hello, can someone help me create this sort of spawn protection skript in a specific location? This skript would cancel the breaking event if the player is in that location and 10 blocks around it. Code that I've tried:

Code:
on break:
    if player's location is within 10 blocks of {locas}:
        cancel evemt
 
Last edited:
Hello, can someone help me create this sort of spawn protection skript in a specific location? This skript would cancel the breaking event if the player is around 10 blocks from that location. Code that I've tried:

Code:
on break:
    if player's location is within 10 blocks of {locas}:
        cancel evemt

Code:
on break:
    if (players in radius 10 around {locas}) contains player:
        cancel evemt
 
Status
Not open for further replies.