Hello, so I decided to download my plugin from the site to see the user experience but for some reason, it says this:
even tho it doesnt modify or insert scripts.
this is the script
local ToolBar = plugin:CreateToolbar("Humanoid Description Tools")
local Selection = game:GetService("Selection")
local Button = ToolBar:CreateButton("Give humanoid a description", "gives the selected character a humanoid description", game.Players:GetUserThumbnailAsync(182343133, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420))
local Selection = game:GetService("Selection")
local Interface = script.Parent.InterfaceGui
Interface.Parent = game:GetService("CoreGui")
local ApplyButton = Interface.InterfaceFrame.ApplyButton
local function CheckItems()
local HumanoidDescriptionInstance
local HumanoidInstance
local ItemsSelected = Selection:Get()
for i,v in pairs(ItemsSelected) do
if v:IsA("HumanoidDescription") then
HumanoidDescriptionInstance = v
elseif v:FindFirstChildWhichIsA("Humanoid") then
HumanoidInstance = v:FindFirstChildWhichIsA("Humanoid")
end
if HumanoidInstance ~= nil and HumanoidDescriptionInstance ~= nil then
return HumanoidInstance, HumanoidDescriptionInstance
end
end
end
local function GetItems()
local HumanoidDescriptionInstance
local CharacterInstance
local ItemsSelected = Selection:Get()
for i,v in pairs(ItemsSelected) do
if v:IsA("HumanoidDescription") then
Interface.InterfaceFrame.DescriptionLabel.Text = v.Name
HumanoidDescriptionInstance = v
elseif v:FindFirstChildWhichIsA("Humanoid") then
Interface.InterfaceFrame.CharacterLabel.Text = v.Name
CharacterInstance = v
end
end
if HumanoidDescriptionInstance == nil then
Interface.InterfaceFrame.DescriptionLabel.Text = "No Humanoid Description"
end
if CharacterInstance == nil then
Interface.InterfaceFrame.CharacterLabel.Text = "No Character"
end
end
Selection.SelectionChanged:Connect(GetItems)
ApplyButton.MouseButton1Click:Connect(function()
local Humanoid, HumanoidDescription = CheckItems()
if Humanoid ~= nil and HumanoidDescription ~= nil then
Humanoid:ApplyDescription(HumanoidDescription)
end
end)
Button.Click:Connect(function()
if Interface.InterfaceFrame.Visible == false then
Interface.InterfaceFrame.Visible = true
Interface.Enabled = true
else
Interface.InterfaceFrame.Visible = false
end
end)