How would I Make a plugin Gui Drag

I have been trying to make a plugin Gui drag for a while now and I’ve tried looing everywhere for a solution And cannot find any

Do you mean a dock widget plugin like this?
image

image

Not really just a plugin that Moves arround From Gui

So just a frame that can freely move around?

Yes that is what I mean with The plugin gui drag

I’m going to be fully honest with you, I’ve never tried making an efficient Gui drag besides using this piece of code,

script.Parent.Active = true
script.Parent.Selectable = true
script.Parent.Draggable = true

(Note: This system isn’t really reliable and isn’t as responsive)

Or you can search “Draggable Gui” inside the toolbox and use one of the results (Make sure it isn’t a virus etc.)