Roblox constraints will solve IK for you, the example gif shows that, but maybe this is a better example:
(That doesn’t have gravity acting on it though, mine does)