on:start {
if (playergotitem("item id")==1) {
"script to change the player health to 150"
}}
Is it possible?
Scripts
Change the player health
Change the player health
1

on:start {
	if (playergotitem("item id")==1) {
		maxhealth "unit",1,150;
		health "unit",1,150;
	}
}
change this for you needed! I write for 150 health, but it also can be any number
and if you drop item I try write script: on:drop {
if (playergotitem("item id")==0) {
maxhealth "unit",1,100;
health "unit",1,100;
}
}
1
