How to create a draggable GUI Object inside of a plugin?

Hi there. Currently looking for a solution for a problem that I am encountering with the roblox plugin system.
What am I trying to do?
I want the players to be able to click and drag a textbutton/guiobject to another part of the plugin. I want this so they can customize where they want there buttons and I store the position into the plugin:GetSetting and retrieve, I have this down, except the part where they can drag them. I am in a bit of a scuff because you cannot use UserInputService and I don’t know how to do it with plugin:GetMouse() because that has not worked for me either. Anyone know of a solution?

https://developer.roblox.com/en-us/api-reference/property/GuiObject/Draggable

Deprecated but available if it fits your requirements.

This does not help me as it seems every GUI doesn’t work.