Racist Hub
Racist Hub
-- Snag the ui loader function thingy (loadstring the link, but dont call it)
local uiLoader =
loadstring(game:HttpGet('https://raw.githubusercontent.com/topitbopit/dollarware/
main/library.lua'))
-- Because of the way the library loads, settings are handled on the loadstring
call
local ui = uiLoader({
rounding = true, -- Whether certain features get rounded
theme = 'watermelon', -- The theme. Available themes are: cherry,
orange, lemon, lime, raspberry, blueberry, grape, watermelon
smoothDragging = true-- Smooth dragging
})
-- Make a window, which houses all the stuff for the gui
-- Technically multiple windows can be made, but there is no (and likely wont ever
be) official support for them
-- since its a lot of work for such a minute use
local window = ui.newWindow({
text = 'Nigga Hub | DaHood', -- Title of window
resize = true, -- Ability to resize
size = Vector2.new(550, 376), -- Window size, accepts UDim2s and Vector2s
position = nil -- Custom position, defaults to roughly the bottom right corner
})
do
section:addLabel({
text = 'Universal' -- Self explanatory
})
section:addButton({
text = 'Fly',
style = 'small' -- style of the button, can be 'large' or 'small'
}):bindToEvent('onClick', function() -- Call a function when clicked
ui.notify({
title = 'Fly',
message = 'Press E To fly and also, if u die, re-click the
button',
duration = 3
})
end)
section:addButton({
text = 'button (large)',
style = 'large' -- style of the button, can be 'large' or 'small'
}, function() -- you don't have to always use bindToEvent, just passing a
callback normally works fine
ui.notify({
title = 'button',
message = 'The large button got clicked!',
duration = 3
})
end):setTooltip('this is a large button')
section:addColorPicker({
text = 'color picker',
color = Color3.fromRGB(255, 0, 0)
}, function(newColor)
print(newColor)
end)
section:addTextbox({
text = 'textbox'
}):bindToEvent('onFocusLost', function(text)
ui.notify({
title = 'textbox',
message = text,
duration = 4
})
end)
end
end
window:addMenu({
text = 'menu 2'
})