1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
local mon=player(id,"money") if m=="Shop" then if b==1 and mon>5000 then parse("sethealth "..id.." "..player(id,"health")+5) parse("setmoney "..id.." "..player(id,"money")-5000) elseif mon<5000 then msg("©000255255You Don't Have Money To Buy A Candy!") end end end
and plz don't say change sethealth to setmaxhealth but i want only hp grow! When i have 100 hp and candy buyed i want to create msg - You have your maximum health and candy is don't need! this is example
plz help