Skip to content

memejames/elerium-v2-ui-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

Elerium v2 Example, Supports PC and Mobile!

Loadstring

local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/memejames/elerium-v2-ui-library//main/Library", true))()

Create Window Here:

local window = library:AddWindow("Name GUI", {
	main_color = Color3.fromRGB(41, 74, 122), -- Color
	min_size = Vector2.new(250, 346), -- Size of the gui
	can_resize = false, -- true or false
})

AddLabel:

features:AddLabel("Hello World!")

AddTab:

local features = window:AddTab("Features") -- Name of tab
features:Show() -- shows the tab

AddButton:

features:AddButton("name",function()
	-- Code here
end)

AddToggle:

local switch = features:AddSwitch("name", function(bool)
	 -- toggle_god_mode(bool)
end)
switch:Set(true)

AddTextBox:

features:AddTextBox("free click", function(text) -- u can add any text to "text"
	game:GetService("ReplicatedStorage").Events.FreeGifts.Gift2:FireServer(text,"Clicks",false,false,"Normal")
end)

AddSlider: PC works, on mobile not works sorry

local slider = features:AddSlider("WalkSpeed", function(p)
	setwalkspeed(p)   
end, {                    

	["min"] = 16,
	["max"] = 100,  
})
slider:Set(16) -- Needed

AddDropdown:

local dropdown = features:AddDropdown("select", function(text)
	if text == "Mars" then  -- Code
		print("o")
	elseif text == "Earth" then
	print("k")
	elseif text == "Iridocyclitis" then
	print("Weeeee")
	end
end)
local mars = dropdown:Add("Mars")  -- Options 
local earth = dropdown:Add("Earth")
local not_a_planet = dropdown:Add("Iridocyclitis")

AddConsole example:

-- Add console for ur Script/Gui, Idk if works
features:AddConsole({ 
	["y"] = 210,
	["readonly"] = false,  
	["source"] = "Lua",
})

AddFolder:

-- add folder for more space
local folder = features:AddFolder()
folder:AddSwitch()
folder:AddLabel("Woo! I'm inside a folder!")

local folder2 = folder:AddFolder()
folder2:AddLabel("I'm inside *two* folders :smirk:")

Credit to Chinawasspyingonusa

About

This is a ui library for executors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published