getMetadata
Description
Retrieves a specific piece of player metadata (e.g., isdead, inlaststand, hunger).
Parameters
meta(string): The metadata key to retrieve.
Return Value
Returns the value associated with the metadata key.
Example Use Case
if ps.getMetadata('isdead') then
print("Player is dead.")
endLast updated