Persistent Health and Hunger

				    -PERSISTENT HEALTH AND HUNGER- by Vargath

	      CRAYTA HEALTH SCRIPT MODIFIED FOR PERSISTENT HEALTH AND HUNGER
	       EKELROCK & VICENTEK MODIFIED "DPS TRIGGER SCRIPT" FOR HUNGER
	         (Thank you both for inspiring me to create this package)
	
  Requirements:  "Auto-Respawn" packages installed. "Notifications" package is recommended.

						    	     USES:			

  • The player will login with the same health he had when disconnected.
  • Optional persistent Hunger bar that will decay over time.
  • The player will recieve damage over time when hunger bar reaches to 0.
  • Healing potion template for recovering hp. (by Ekelrock & Vicentek)
  • Food template for recovering hunger.

				    PERSISTENT HEALTH STEP BY STEP INSTALLATION:

  1. DOWNLOAD THE CRAYTA PACKAGE “AUTO-RESPAWN” AND INSTALL THE “USERSPAWN” IN THE USER TEMPLATE.
  2. OPTIONAL: DOWNLOAD THE CRAYTA PACKAGE NOTIFICATIONS AND INSTALL THE “USERNOTIFICATIONS” IN THE USER TEMPLATE.
  3. ADD THE “PLAYER HEALTH” TEMPLATE TO THE PLAYER TEMPLATE.

				    PERSISTENT HUNGER STEP BY STEP INSTALLATION:

  1. AFTER INSTALLING THE HEALTH SCRIPT, ADD THE “PLAYER HUNGER” TEMPLATE TO THE PLAYER TEMPLATE.
  2. ADD THE “TRIG_PLAYERHUNGER” TRIGGER TO THE PLAYER TEMPLATE.
  3. MAKE SURE THE “TRIG_PLAYERHUNGER” TRIGER IS IN A RELATIVE POSITION OF 0,0,0 FROM THE PLAYER TEMPLATE.

		     FEEL FREE TO CONTACT ME FOR ANYTHING RELATED TO THE SCRIPT


3 Likes

Tasty and healty mmm… :heavy_heart_exclamation: