public void Start() { controller = GetComponent <CharacterController>(); healthslider.MaxSlide(maxhealth.value); }