Selection Parent [ASK]

So I make well because I feel bored to move or make instance instantly and I want it to parent to my selection on Explorer Panel(idrk what’s the name), let’s say I click workspace on studio it will parent the instance to workspace, if I click ServerScriptService it will parent to ServerScriptService. How to do it?

https://developer.roblox.com/en-us/api-reference/function/Selection/Get