workspace:CalculateJumpPower and workspace:CalculateJumpHeight

Just now I came across these two functions, I need to use them for my anti cheat, but they require permission five to use. workspace:CalculateJumpHeight() and workspace:CalculateJumpPower()

https://developer.roblox.com/en-us/api-reference/function/Workspace/CalculateJumpHeight
https://developer.roblox.com/en-us/api-reference/function/Workspace/CalculateJumpPower

What I need is to know the formula it takes in two inputs one of which is always gravity and the other is the JumpPower for JumpHeight and vice versa.

I was wondering if anyone knows the formula or can help me out with this also I have no clue why this is permission five it is such a simple but needed func

Thanks

https://developer.roblox.com/en-us/api-reference/property/Humanoid/JumpPower
https://developer.roblox.com/en-us/api-reference/property/Humanoid/JumpHeight

You can just read the values of those two properties from the Humanoid instance of the player’s character model itself.