I'll maybe try to add the /invsee command
 
They aren't functions. They are variables in the object.
function OnTakeDamage(Receiver, TDI)
	print(TDI.Attacker:IsPlayer())
end
 
 
Just got basic survival-fly protection working. 

 
 
I uploadet the first testing-version of the code to my repo