May be cheaper as part of a pack
by Teabone Verified
Follow Artist
Average User Rating
Not rated


Place these zones in areas of your map you do not wish your player to go. This is good for open maps. If the player remains in the restricted area, the player's health will start to decrease by 1 point every 1 second (configurable). Additionally a sound effect will play whenever the player enters the restricted zone.

Text will display in red: "Leaving Mission Area".


- Assign this script to a Text Zone
- Assign a sound effect to Sound 0 (optional)


Advanced Usage:

You can now change the duration at work health starts to reduce. Open the script and change the value of hurt_delay[e]. Its currently set to 1000 to remove 1 health every 1 second.

You can change the text that is displayed by changing the text in the script that reads "LEAVING MISSION AREA". Just make sure to keep the quotation marks.


boundary area mission text warning

Product Details

Artist: Teabone
Category: GameGuru Scripts
Sub Category: Huds
Sales: 10

Engine Support

GameGuru Classic Yes

File Formats

LUA .lua


Teabone Artist
19th Aug '20 02:45
Hi AGENTE23, this script has been updated. You can now change the duration at which the health is decreased. Description of script has been updated above for instructions.
4th Aug '20 04:21
This user owns this product
can i slow it the damage? in one second i die. can i change the speed of the healt decrease? the hurt delay is the seconds before death.

You must Login or Register to leave comments.

Included in

Related Products