I found the answer to this problem. The line in question needs to be changed to the following:
if (FortChar.IsOnGround = true):
I’m not sure why, but I know the error went away when I made this change. If anyone can follow behind me with an explanation as to why this works, it would definitely be appreciated ![]()