You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pylua.code edited this page Nov 2, 2023
·
3 revisions
This mod uses a health variable and detects once it hits zero, once it does it will kick the player using Photon.Pun.PhotonNetwork.Disconnect(); It defualtly removes 5 health (out of 100) when the player gets tagged. This mod uses and requires honeylib to function.
There are 3 main ways to modify health, using addHealth(int), removeHealth(int), and setHealth(int). They can be called anywhere within your code,
addHealth(int) \ setHealth(int) \ removeHealth(int) \
addHealth, adds health
setHealth, sets the health
removeHealth, subtracts health
There is a way to get the health, using getHealth(), which will return the health integer.