How to get FPS and Ping to Show on Top Right of Your Display?

I wish to put this in my Game?
Does anyone Know how to do this?

Get client FPS trough a script - Help and Feedback / Scripting Support - DevForum | Roblox

PlayerPing - Get client ping times on the Server - Resources / Community Resources - DevForum | Roblox

If you still need help -

There have been many topics about this before, The mentioned topics can be used to recreate this.