Jump to content
  • 1

regions - SKRIPT HELP



I have been trying to do this for like 4 hours and no success, i want to know when someone enters a world guard region I created. but I don't know how to detect when a player has entered that zone. What i am trying to do is make so that when a player is inside the zone, they can only use swords. the things i have done is made so projectiles will not work. i want it so that when the player enters the area that will be activated on them, and they cannot do projectiles on other people while they are in the zone too.



on damage:

    projectile exists

    cancel event


Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

If you want to make it people can only use swords in a worldguard region, try this

on damage:
	if "%region at attacker%" contains "regionname":
		attacker's tool is not any sword
		cancel event


Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev


[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...