Plugin UI not showing correctly?

Hello Developers!

Currently I’m creating a plugin but I have encountered some issues when clicking the button to open the UI. When I click the button the UI shows but it’s not displaying everything and I don’t know why this is happening.

Note: This is my first time making a plugin.

What is displayed:

What is meant to be displayed:
image

Startup code:

local ToolBar = plugin:CreateToolbar("DataStore Creator")
local ToolBarButton = ToolBar:CreateButton("Create DataStore", "Create an DataStore", "rbxassetid://6117283334")

local WidgetInfo = DockWidgetPluginGuiInfo.new(
	Enum.InitialDockState.Float,
	false,
	false,
	690,
	320,
	690,
	320
)
local UI = plugin:CreateDockWidgetPluginGui("DataStore Creator", WidgetInfo)
UI.Title = "Datastore Creator"
script:WaitForChild("UI"):WaitForChild("Background").Parent = UI

Directory:
image

You can’t use a UI which is a child of the script. You have to create the GUI by scripting it’s properties or use a plugin like GuiToLua Converter!

I used a converter but I am still getting the same issue.