local OmniLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/cacao4/omni/refs/heads/main/omni"))()
local UI = OmniLib.new()
local Window = UI:CreateWindow("Omni exaple")
local Tab = Window:CreateTab("tab")
UI:Notify("hiii", "i hope you like my ui", 7)
Tab:Dropdown("example dropdown", {"option 1", "option 2", "option 3", "option 4", "option 5"}, function(v)
UI:Notify("selected", v, 2)
end)
Tab:Button("example button", function()
UI:Notify("clicked", "button", 2)
end)
Tab:Slider("example slider", 0, 100000000000000000000, 100, function(v)
UI:Notify("spaaaaaammmmm", "value: " .. v, 1)
end)
local Tab = Window:CreateTab("idk")
Tab:Slider("walkspeed", 60, 300, 60, function(value)
local player = game:GetService("Players").LocalPlayer
local character = player.Character
if character then
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid.WalkSpeed = value
if character.PrimaryPart and character.PrimaryPart.Anchored then
character.PrimaryPart.Anchored = false
end
end
end
end)
Tab:Slider("jumppower", 0, 500, 60, function(value)
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
humanoid.UseJumpPower = true
humanoid.JumpPower = value
end
end)
Comments
No comments yet
Be the first to share your thoughts!