--[[local function CreateHighlight(Name, Parent, Trans1, R1, G1, B1, Trans2, R2, G2, B2)
    local Highlight = CreateInstance("Highlight")
    Highlight.Name = tostring(Name)
    Highlight.Parent = Parent
    
    Highlight.Adornee = Parent
    
    Highlight.FillColor = Color3fromRGB(R1, G1, B1)
    Highlight.FillTransparency = Trans1
    
    Highlight.OutlineColor = Color3fromRGB(R2, G2, B2)
    Highlight.OutlineTransparency = Trans2
end--]]

local function CreateHighlight(Instance, Name, Parent, Trans1, R1, G1, B1, Trans2, R2, G2, B2)
    print("Instance class:  " .. Instance)
    print("\nName:  " .. Name)
    print("\nParent:  " .. Parent)
    print("\nFillTransparency:  " .. tostring(Trans1))
    print("\nFillColor:  " .. R1 .. " " .. G1 .. " " .. B1)
    print("\nOutlineTransparency:  " .. tostring(Trans2))
    print("\nOutlineColor:  " .. R2 .. " " .. G2 .. " " .. B2)
end

CreateHighlight("Highlight", "test_Highlight", "workspace", true, 0, 0, 0, false, 255, 255, 255)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: