Skip to content

line 12170 imagelabel not a valid member of frame #70

@usernamefrfra8

Description

@usernamefrfra8

prob something to do with my shitty ui library wrapper, heres code, 'local lib=loadstring(game:HttpGet("https://github.com/Footagesus/WindUI/releases/latest/download/main.lua"))()
local function window(title,subtitle)
local wind=lib:CreateWindow({
Title=title,
Author=subtitle,
Resizable=true

})
function wind:tab(title,icon)
	local tab=wind:Tab({
		Title=title,
		Icon=icon,
		HideSearchBar=false,
		ScrollBarEnabled=true
	})

	function tab:but(title,desc,func)
		local but=tab:Button({
			Title=title,
			Desc=desc,
			Callback=func
		})
		return but
	end
	function tab:drop(title,desc,array,func,multi)
		local drop=tab:Dropdown({
			Title=title,
			Desc=desc,
			Values=array,
			Value=multi and {} or "",
			Multi=multi,
			AllowNone=true,
			Callback=func
		})
		return drop
	end
	function tab:text(title,desc,func,placeholder,v)
		local txt=tab:Input({
			Title=title,
			Desc=desc,
			Value=v or "",
			Placeholder=placeholder,
			Callback=func
		})
		return txt
	end
	function tab:para(title,desc,buttons)
		local para=tab:Paragraph({
			Title=title,
			Desc=desc,
			Buttons=buttons
		})
		return para
	end
	function tab:sec(title)
		local sec=tab:Section({
			Title=title,
		})
		return sec
	end
	function tab:slider(title,desc,func,increment,min,max,start)
		local slider=tab:Slider({
			Title=title,
			Desc=desc,
			Step=increment or 1,
			Value={
				Min=min or 0,
				Max=max or 100,
				Default=start or 50
			},
			Callback=func
		})
		return slider
	end
	function tab:tog(title,desc,func,value)
		local tog=tab:Toggle({
			Title=title,
			Desc=desc,
			Type="Checkbox",
			Value=value,
			Callback=func
		})
		return tog
	end
	return tab
end
function wind:tabsec(title,icon)
	local tabsec=wind:Section({
		Title=title,
		Icon=icon
	})
	return tabsec
end
return wind

end
'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions