Professional Documents
Culture Documents
azure_for_mob
azure_for_mob
game:GetService("CorePackages").Packages:Destroy()
assert(getrawmetatable)
grm = getrawmetatable(game)
setreadonly(grm, false)
old = grm.__namecall
grm.__namecall = newcclosure(function(self, ...)
local args = {...}
if tostring(args[1]) == "TeleportDetect" then
return
elseif tostring(args[1]) == "CHECKER_1" then
return
elseif tostring(args[1]) == "CHECKER" then
return
elseif tostring(args[1]) == "GUI_CHECK" then
return
elseif tostring(args[1]) == "OneMoreTime" then
return
elseif tostring(args[1]) == "checkingSPEED" then
return
elseif tostring(args[1]) == "BANREMOTE" then
return
elseif tostring(args[1]) == "PERMAIDBAN" then
return
elseif tostring(args[1]) == "KICKREMOTE" then
return
elseif tostring(args[1]) == "BR_KICKPC" then
return
elseif tostring(args[1]) == "BR_KICKMOBILE" then
return
end
return old(self, ...)
end)
local library = {
flags = { },
items = { }
}
library.theme = {
fontsize = 17,
titlesize = 18,
font = Enum.Font.Code,
background = "rbxassetid://0",
tilesize = 90,
cursor = false,
cursorimg = "https://t0.rbxcdn.com/42f66da98c40252ee151326a82aab51f",
backgroundcolor = Color3.fromRGB(20, 20, 20),
tabstextcolor = Color3.fromRGB(168,122,207),
bordercolor = Color3.fromRGB(75, 207, 255),
accentcolor = Color3.fromRGB(168,122,207),
accentcolor2 = Color3.fromRGB(88,65,108),
outlinecolor = Color3.fromRGB(20,20,20),
outlinecolor2 = Color3.fromRGB(30,30,30),--119, 64, 167
sectorcolor = Color3.fromRGB(30, 30, 30),
toptextcolor = Color3.fromRGB(255, 255, 255),
topheight = 48,
topcolor = Color3.fromRGB(30, 30, 30),
topcolor2 = Color3.fromRGB(12,12,12), -- Color3.fromRGB(12, 12, 12),
buttoncolor = Color3.fromRGB(49, 49, 49),
buttoncolor2 = Color3.fromRGB(29,29,29),
itemscolor = Color3.fromRGB(170, 170, 170),
itemscolor2 = Color3.fromRGB(255,255,255)
}
game:GetService("RunService").RenderStepped:Connect(function()
uis.OverrideMouseIconBehavior =
Enum.OverrideMouseIconBehavior.ForceHide
library.cursor.Visible = uis.MouseEnabled and (uis.MouseIconEnabled or
game:GetService("GuiService").MenuIsOpen)
end)
elseif not success and library.cursor then
library.cursor:Remove()
end
end
if getgenv().watermark then
getgenv().watermark:Remove()
end
getgenv().watermark = watermark.main
if name:find("{fps}") then
local currentTime = os.clock()
counter = counter + 1
if currentTime - startTime >= 1 then
local fps = math.floor(counter / (currentTime - startTime))
counter = 0
startTime = currentTime
watermark.label.Size = UDim2.new(0,
watermark.label.TextBounds.X+10, 0, 25)
watermark.mainbar.Size = UDim2.new(0,
watermark.label.TextBounds.X, 0, 25)
watermark.topbar.Size = UDim2.new(0,
watermark.label.TextBounds.X, 0, 1)
watermark.Outline.Size = watermark.mainbar.Size +
UDim2.fromOffset(2, 2)
watermark.BlackOutline.Size = watermark.mainbar.Size +
UDim2.fromOffset(4, 4)
end
oldfps = fps
end
end
end)
watermark.mainbar.MouseEnter:Connect(function()
tweenservice:Create(watermark.mainbar, TweenInfo.new(0.1,
Enum.EasingStyle.Linear, Enum.EasingDirection.In), { BackgroundTransparency = 1,
Active = false }):Play()
tweenservice:Create(watermark.topbar, TweenInfo.new(0.1,
Enum.EasingStyle.Linear, Enum.EasingDirection.In), { BackgroundTransparency = 1,
Active = false }):Play()
tweenservice:Create(watermark.label, TweenInfo.new(0.1,
Enum.EasingStyle.Linear, Enum.EasingDirection.In), { TextTransparency = 1, Active =
false }):Play()
tweenservice:Create(watermark.Outline, TweenInfo.new(0.1,
Enum.EasingStyle.Linear, Enum.EasingDirection.In), { BackgroundTransparency = 1,
Active = false }):Play()
tweenservice:Create(watermark.BlackOutline, TweenInfo.new(0.1,
Enum.EasingStyle.Linear, Enum.EasingDirection.In), { BackgroundTransparency = 1,
Active = false }):Play()
end)
watermark.mainbar.MouseLeave:Connect(function()
tweenservice:Create(watermark.mainbar, TweenInfo.new(0.1,
Enum.EasingStyle.Linear, Enum.EasingDirection.In), { BackgroundTransparency = 0,
Active = true }):Play()
tweenservice:Create(watermark.topbar, TweenInfo.new(0.1,
Enum.EasingStyle.Linear, Enum.EasingDirection.In), { BackgroundTransparency = 0,
Active = true }):Play()
tweenservice:Create(watermark.label, TweenInfo.new(0.1,
Enum.EasingStyle.Linear, Enum.EasingDirection.In), { TextTransparency = 0, Active =
true }):Play()
tweenservice:Create(watermark.Outline, TweenInfo.new(0.1,
Enum.EasingStyle.Linear, Enum.EasingDirection.In), { BackgroundTransparency = 0,
Active = true }):Play()
tweenservice:Create(watermark.BlackOutline, TweenInfo.new(0.1,
Enum.EasingStyle.Linear, Enum.EasingDirection.In), { BackgroundTransparency = 0,
Active = true }):Play()
end)
function watermark:UpdateTheme(theme)
theme = theme or library.theme
watermark.Outline.BackgroundColor3 = theme.outlinecolor
watermark.BlackOutline.BackgroundColor3 = theme.outlinecolor2
watermark.label.Font = theme.font
watermark.topbar.BackgroundColor3 = theme.accentcolor
end
return watermark
end
if getgenv().uilib then
getgenv().uilib:Remove()
end
getgenv().uilib = window.Main
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end
uis.InputBegan:Connect(function(key)
if key.KeyCode == window.hidebutton then
window.Frame.Visible = not window.Frame.Visible
end
end)
window.TabList.InputBegan:Connect(dragstart)
window.TabList.InputChanged:Connect(dragend)
window.OpenedColorPickers = { }
window.Tabs = { }
function window:CreateTab(name)
local tab = { }
tab.name = name or ""
block = true
for i,v in pairs(window.Tabs) do
if v ~= tab then
v.TabButton.TextColor3 = Color3.fromRGB(230, 230, 230)
v.TabButton.Name = "Tab"
v.Left.Visible = false
v.Right.Visible = false
end
end
tab.TabButton.TextColor3 = window.theme.accentcolor
tab.TabButton.Name = "SelectedTab"
tab.Right.Visible = true
tab.Left.Visible = true
window.Line:TweenSizeAndPosition(UDim2.fromOffset(size.X + 15, 1),
UDim2.new(0, (tab.TabButton.AbsolutePosition.X - window.Frame.AbsolutePosition.X),
0, 0) + (window.BlackLine.Position - UDim2.fromOffset(0, 1)),
Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.15)
wait(0.2)
block = false
end
if #window.Tabs == 0 then
tab:SelectTab()
end
tab.TabButton.MouseButton1Down:Connect(function()
tab:SelectTab()
end)
tab.SectorsLeft = { }
tab.SectorsRight = { }
function tab:CreateSector(name,side)
local sector = { }
sector.name = name or ""
sector.side = side:lower() or "left"
function sector:FixSize()
sector.Main.Size = UDim2.fromOffset(window.size.X.Offset / 2 - 17,
sector.ListLayout.AbsoluteContentSize.Y + 22)
local sizeleft, sizeright = 0, 0
for i,v in pairs(tab.SectorsLeft) do
sizeleft = sizeleft + v.Main.AbsoluteSize.Y
end
for i,v in pairs(tab.SectorsRight) do
sizeright = sizeright + v.Main.AbsoluteSize.Y
end
tab.Left.CanvasSize = UDim2.fromOffset(tab.Left.AbsoluteSize.X,
sizeleft + ((#tab.SectorsLeft - 1) * tab.LeftListPadding.PaddingTop.Offset) + 20)
tab.Right.CanvasSize = UDim2.fromOffset(tab.Right.AbsoluteSize.X,
sizeright + ((#tab.SectorsRight - 1) * tab.RightListPadding.PaddingTop.Offset) +
20)
end
button.BlackOutline2.MouseEnter:Connect(function()
button.BlackOutline2.BackgroundColor3 =
window.theme.accentcolor
end)
button.BlackOutline2.MouseLeave:Connect(function()
button.BlackOutline2.BackgroundColor3 =
window.theme.outlinecolor2
end)
sector:FixSize()
return button
end
function sector:AddLabel(text)
local label = { }
function label:Set(value)
label.Main.Text = value
end
sector:FixSize()
return label
end
toggle.value = toggle.default
function toggle:Set(value)
if value then
toggle.Label.TextColor3 = window.theme.itemscolor2
else
toggle.Label.TextColor3 = window.theme.itemscolor
end
toggle.value = value
toggle.CheckedFrame.Visible = value
if toggle.flag and toggle.flag ~= "" then
library.flags[toggle.flag] = toggle.value
end
pcall(toggle.callback, value)
end
function toggle:Get()
return toggle.value
end
toggle:Set(toggle.default)
local shorter_keycodes = {
["LeftShift"] = "LSHIFT",
["RightShift"] = "RSHIFT",
["LeftControl"] = "LCTRL",
["RightControl"] = "RCTRL",
["LeftAlt"] = "LALT",
["RightAlt"] = "RALT"
}
function keybind:Get()
return keybind.value
end
uis.InputBegan:Connect(function(input, gameProcessed)
if not gameProcessed then
if keybind.Main.Text == "[...]" then
keybind.Main.TextColor3 = Color3.fromRGB(136, 136,
136)
if input.UserInputType ==
Enum.UserInputType.Keyboard then
keybind:Set(input.KeyCode)
else
keybind:Set("None")
end
else
if keybind.value ~= "None" and input.KeyCode ==
keybind.value then
toggle:Set(not toggle.CheckedFrame.Visible)
end
end
end
end)
table.insert(library.items, keybind)
return keybind
end
dropdown.defaultitems = items or { }
dropdown.default = default
dropdown.callback = callback or function() end
dropdown.multichoice = multichoice or false
dropdown.values = { }
dropdown.flag = flag or ( (toggle.text or "") ..
tostring(#(sector.Items:GetChildren())) .. "a")
dropdown.ItemsFrame = Instance.new("ScrollingFrame",
dropdown.Main)
dropdown.ItemsFrame.Name = "itemsframe"
dropdown.ItemsFrame.BorderSizePixel = 0
dropdown.ItemsFrame.BackgroundColor3 = Color3.fromRGB(40, 40,
40)
dropdown.ItemsFrame.Position = UDim2.fromOffset(0,
dropdown.Main.Size.Y.Offset + 8)
dropdown.ItemsFrame.ScrollBarThickness = 2
dropdown.ItemsFrame.ZIndex = 8
dropdown.ItemsFrame.ScrollingDirection = "Y"
dropdown.ItemsFrame.Visible = false
dropdown.ItemsFrame.Size = UDim2.new(0, 0, 0, 0)
dropdown.ItemsFrame.CanvasSize =
UDim2.fromOffset(dropdown.Main.AbsoluteSize.X, 0)
dropdown.ListLayout = Instance.new("UIListLayout",
dropdown.ItemsFrame)
dropdown.ListLayout.FillDirection = Enum.FillDirection.Vertical
dropdown.ListLayout.SortOrder = Enum.SortOrder.LayoutOrder
dropdown.ListPadding = Instance.new("UIPadding",
dropdown.ItemsFrame)
dropdown.ListPadding.PaddingTop = UDim.new(0, 2)
dropdown.ListPadding.PaddingBottom = UDim.new(0, 2)
dropdown.ListPadding.PaddingLeft = UDim.new(0, 2)
dropdown.ListPadding.PaddingRight = UDim.new(0, 2)
dropdown.BlackOutline2Items = Instance.new("Frame",
dropdown.Main)
dropdown.BlackOutline2Items.Name = "blackline3"
dropdown.BlackOutline2Items.ZIndex = 7
dropdown.BlackOutline2Items.Size = dropdown.ItemsFrame.Size +
UDim2.fromOffset(6, 6)
dropdown.BlackOutline2Items.BorderSizePixel = 0
dropdown.BlackOutline2Items.BackgroundColor3 =
window.theme.outlinecolor2
dropdown.BlackOutline2Items.Position =
dropdown.ItemsFrame.Position + UDim2.fromOffset(-3, -3)
dropdown.BlackOutline2Items.Visible = false
updateevent.Event:Connect(function(theme)
dropdown.BlackOutline2Items.BackgroundColor3 =
theme.outlinecolor2
end)
dropdown.BlackOutlineItems = Instance.new("Frame",
dropdown.Main)
dropdown.BlackOutlineItems.Name = "blackline3"
dropdown.BlackOutlineItems.ZIndex = 7
dropdown.BlackOutlineItems.Size = dropdown.ItemsFrame.Size +
UDim2.fromOffset(-2, -2)
dropdown.BlackOutlineItems.BorderSizePixel = 0
dropdown.BlackOutlineItems.BackgroundColor3 =
window.theme.outlinecolor2
dropdown.BlackOutlineItems.Position =
dropdown.ItemsFrame.Position + UDim2.fromOffset(-1, -1)
dropdown.BlackOutlineItems.Visible = false
updateevent.Event:Connect(function(theme)
dropdown.BlackOutlineItems.BackgroundColor3 =
theme.outlinecolor2
end)
dropdown.IgnoreBackButtons = Instance.new("TextButton",
dropdown.Main)
dropdown.IgnoreBackButtons.BackgroundTransparency = 1
dropdown.IgnoreBackButtons.BorderSizePixel = 0
dropdown.IgnoreBackButtons.Position = UDim2.fromOffset(0,
dropdown.Main.Size.Y.Offset + 8)
dropdown.IgnoreBackButtons.Size = UDim2.new(0, 0, 0, 0)
dropdown.IgnoreBackButtons.ZIndex = 7
dropdown.IgnoreBackButtons.Text = ""
dropdown.IgnoreBackButtons.Visible = false
dropdown.IgnoreBackButtons.AutoButtonColor = false
function dropdown:isSelected(item)
for i, v in pairs(dropdown.values) do
if v == item then
return true
end
end
return false
end
function dropdown:updateText(text)
if #text >= 27 then
text = text:sub(1, 25) .. ".."
end
dropdown.SelectedLabel.Text = text
end
dropdown.Changed = Instance.new("BindableEvent")
function dropdown:Set(value)
if type(value) == "table" then
dropdown.values = value
dropdown:updateText(table.concat(value, ", "))
pcall(dropdown.callback, value)
else
dropdown:updateText(value)
dropdown.values = { value }
pcall(dropdown.callback, value)
end
dropdown.Changed:Fire(value)
if dropdown.flag and dropdown.flag ~= "" then
library.flags[dropdown.flag] = dropdown.multichoice and
dropdown.values or dropdown.values[1]
end
end
function dropdown:Get()
return dropdown.multichoice and dropdown.values or
dropdown.values[1]
end
dropdown.items = { }
function dropdown:Add(v)
local Item = Instance.new("TextButton",
dropdown.ItemsFrame)
Item.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
Item.TextColor3 = Color3.fromRGB(255, 255, 255)
Item.BorderSizePixel = 0
Item.Position = UDim2.fromOffset(0, 0)
Item.Size = UDim2.fromOffset(dropdown.Main.Size.X.Offset -
4, 20)
Item.ZIndex = 9
Item.Text = v
Item.Name = v
Item.AutoButtonColor = false
Item.Font = window.theme.font
Item.TextSize = 15
Item.TextXAlignment = Enum.TextXAlignment.Left
Item.TextStrokeTransparency = 1
dropdown.ItemsFrame.CanvasSize =
dropdown.ItemsFrame.CanvasSize + UDim2.fromOffset(0, Item.AbsoluteSize.Y)
Item.MouseButton1Down:Connect(function()
if dropdown.multichoice then
if dropdown:isSelected(v) then
for i2, v2 in pairs(dropdown.values) do
if v2 == v then
table.remove(dropdown.values, i2)
end
end
dropdown:Set(dropdown.values)
else
table.insert(dropdown.values, v)
dropdown:Set(dropdown.values)
end
return
else
dropdown.Nav.Rotation = 90
dropdown.ItemsFrame.Visible = false
dropdown.ItemsFrame.Active = false
dropdown.OutlineItems.Visible = false
dropdown.BlackOutlineItems.Visible = false
dropdown.BlackOutline2Items.Visible = false
dropdown.IgnoreBackButtons.Visible = false
dropdown.IgnoreBackButtons.Active = false
end
dropdown:Set(v)
return
end)
runservice.RenderStepped:Connect(function()
if dropdown.multichoice and dropdown:isSelected(v) or
dropdown.values[1] == v then
Item.BackgroundColor3 = Color3.fromRGB(64, 64, 64)
Item.TextColor3 = window.theme.accentcolor
Item.Text = " " .. v
else
Item.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
Item.TextColor3 = Color3.fromRGB(255, 255, 255)
Item.Text = v
end
end)
table.insert(dropdown.items, v)
dropdown.ItemsFrame.Size =
UDim2.fromOffset(dropdown.Main.Size.X.Offset, math.clamp(#dropdown.items *
Item.AbsoluteSize.Y, 20, 156) + 4)
dropdown.ItemsFrame.CanvasSize =
UDim2.fromOffset(dropdown.ItemsFrame.AbsoluteSize.X, (#dropdown.items *
Item.AbsoluteSize.Y) + 4)
dropdown.OutlineItems.Size = dropdown.ItemsFrame.Size +
UDim2.fromOffset(4, 4)
dropdown.BlackOutlineItems.Size = dropdown.ItemsFrame.Size
+ UDim2.fromOffset(2, 2)
dropdown.BlackOutline2Items.Size = dropdown.ItemsFrame.Size
+ UDim2.fromOffset(6, 6)
dropdown.IgnoreBackButtons.Size = dropdown.ItemsFrame.Size
end
function dropdown:Remove(value)
local item = dropdown.ItemsFrame:FindFirstChild(value)
if item then
for i,v in pairs(dropdown.items) do
if v == value then
table.remove(dropdown.items, i)
end
end
dropdown.ItemsFrame.Size =
UDim2.fromOffset(dropdown.Main.Size.X.Offset, math.clamp(#dropdown.items *
item.AbsoluteSize.Y, 20, 156) + 4)
dropdown.ItemsFrame.CanvasSize =
UDim2.fromOffset(dropdown.ItemsFrame.AbsoluteSize.X, (#dropdown.items *
item.AbsoluteSize.Y) + 4)
dropdown.OutlineItems.Size = dropdown.ItemsFrame.Size +
UDim2.fromOffset(2, 2)
dropdown.BlackOutlineItems.Size =
dropdown.ItemsFrame.Size + UDim2.fromOffset(4, 4)
dropdown.BlackOutline2Items.Size =
dropdown.ItemsFrame.Size + UDim2.fromOffset(6, 6)
dropdown.IgnoreBackButtons.Size =
dropdown.ItemsFrame.Size
item:Remove()
end
end
if dropdown.default then
dropdown:Set(dropdown.default)
end
dropdown.BlackOutline2.MouseEnter:Connect(function()
dropdown.BlackOutline2.BackgroundColor3 =
window.theme.accentcolor
end)
dropdown.BlackOutline2.MouseLeave:Connect(function()
dropdown.BlackOutline2.BackgroundColor3 =
window.theme.outlinecolor2
end)
sector:FixSize()
table.insert(library.items, dropdown)
return dropdown
end
function textbox:Set(text)
textbox.value = text
textbox.Main.Text = text
if textbox.flag and textbox.flag ~= "" then
library.flags[textbox.flag] = text
end
pcall(textbox.callback, text)
end
updateevent.Event:Connect(function(theme)
textbox.Main.Font = theme.font
end)
function textbox:Get()
return textbox.value
end
if textbox.default then
textbox:Set(textbox.default)
end
textbox.Main.FocusLost:Connect(function()
textbox:Set(textbox.Main.Text)
end)
textbox.BlackOutline2.MouseEnter:Connect(function()
textbox.BlackOutline2.BackgroundColor3 =
window.theme.accentcolor
end)
textbox.BlackOutline2.MouseLeave:Connect(function()
textbox.BlackOutline2.BackgroundColor3 =
window.theme.outlinecolor2
end)
sector:FixSize()
table.insert(library.items, textbox)
return textbox
end
colorpicker.Gradient = Instance.new("UIGradient",
colorpicker.Main)
colorpicker.Gradient.Rotation = 90
colorpicker.BlackOutline2 = Instance.new("Frame",
colorpicker.Main)
colorpicker.BlackOutline2.Name = "blackline"
colorpicker.BlackOutline2.ZIndex = 4
colorpicker.BlackOutline2.Size = colorpicker.Main.Size +
UDim2.fromOffset(6, 6)
colorpicker.BlackOutline2.BorderSizePixel = 0
colorpicker.BlackOutline2.BackgroundColor3 =
window.theme.outlinecolor2
colorpicker.BlackOutline2.Position = UDim2.fromOffset(-3, -3)
updateevent.Event:Connect(function(theme)
if window.OpenedColorPickers[colorpicker.MainPicker] then
colorpicker.BlackOutline2.BackgroundColor3 =
theme.accentcolor
else
colorpicker.BlackOutline2.BackgroundColor3 =
theme.outlinecolor2
end
end)
colorpicker.BlackOutline = Instance.new("Frame",
colorpicker.Main)
colorpicker.BlackOutline.Name = "blackline"
colorpicker.BlackOutline.ZIndex = 4
colorpicker.BlackOutline.Size = colorpicker.Main.Size +
UDim2.fromOffset(2, 2)
colorpicker.BlackOutline.BorderSizePixel = 0
colorpicker.BlackOutline.BackgroundColor3 =
window.theme.outlinecolor2
colorpicker.BlackOutline.Position = UDim2.fromOffset(-1, -1)
updateevent.Event:Connect(function(theme)
colorpicker.BlackOutline.BackgroundColor3 =
theme.outlinecolor2
end)
colorpicker.BlackOutline2.MouseEnter:Connect(function()
colorpicker.BlackOutline2.BackgroundColor3 =
window.theme.accentcolor
end)
colorpicker.BlackOutline2.MouseLeave:Connect(function()
if not window.OpenedColorPickers[colorpicker.MainPicker]
then
colorpicker.BlackOutline2.BackgroundColor3 =
window.theme.outlinecolor2
end
end)
colorpicker.MainPicker = Instance.new("TextButton",
colorpicker.Main)
colorpicker.MainPicker.Name = "picker"
colorpicker.MainPicker.ZIndex = 100
colorpicker.MainPicker.Visible = false
colorpicker.MainPicker.AutoButtonColor = false
colorpicker.MainPicker.Text = ""
window.OpenedColorPickers[colorpicker.MainPicker] = false
colorpicker.MainPicker.Size = UDim2.fromOffset(180, 196)
colorpicker.MainPicker.BorderSizePixel = 0
colorpicker.MainPicker.BackgroundColor3 = Color3.fromRGB(40,
40, 40)
colorpicker.MainPicker.Rotation = 0.000000000000001
colorpicker.MainPicker.Position = UDim2.fromOffset(-
colorpicker.MainPicker.AbsoluteSize.X + colorpicker.Main.AbsoluteSize.X, 17)
colorpicker.BlackOutline3 = Instance.new("Frame",
colorpicker.MainPicker)
colorpicker.BlackOutline3.Name = "blackline"
colorpicker.BlackOutline3.ZIndex = 98
colorpicker.BlackOutline3.Size = colorpicker.MainPicker.Size +
UDim2.fromOffset(6, 6)
colorpicker.BlackOutline3.BorderSizePixel = 0
colorpicker.BlackOutline3.BackgroundColor3 =
window.theme.outlinecolor2
colorpicker.BlackOutline3.Position = UDim2.fromOffset(-3, -3)
updateevent.Event:Connect(function(theme)
colorpicker.BlackOutline3.BackgroundColor3 =
theme.outlinecolor2
end)
colorpicker.Outline2 = Instance.new("Frame",
colorpicker.MainPicker)
colorpicker.Outline2.Name = "blackline"
colorpicker.Outline2.ZIndex = 98
colorpicker.Outline2.Size = colorpicker.MainPicker.Size +
UDim2.fromOffset(4, 4)
colorpicker.Outline2.BorderSizePixel = 0
colorpicker.Outline2.BackgroundColor3 =
window.theme.outlinecolor
colorpicker.Outline2.Position = UDim2.fromOffset(-2, -2)
updateevent.Event:Connect(function(theme)
colorpicker.Outline2.BackgroundColor3 = theme.outlinecolor
end)
colorpicker.BlackOutline3 = Instance.new("Frame",
colorpicker.MainPicker)
colorpicker.BlackOutline3.Name = "blackline"
colorpicker.BlackOutline3.ZIndex = 98
colorpicker.BlackOutline3.Size = colorpicker.MainPicker.Size +
UDim2.fromOffset(2, 2)
colorpicker.BlackOutline3.BorderSizePixel = 0
colorpicker.BlackOutline3.BackgroundColor3 =
window.theme.outlinecolor2
colorpicker.BlackOutline3.Position = UDim2.fromOffset(-1, -1)
updateevent.Event:Connect(function(theme)
colorpicker.BlackOutline3.BackgroundColor3 =
theme.outlinecolor2
end)
colorpicker.hue = Instance.new("ImageLabel",
colorpicker.MainPicker)
colorpicker.hue.ZIndex = 101
colorpicker.hue.Position = UDim2.new(0,3,0,3)
colorpicker.hue.Size = UDim2.new(0,172,0,172)
colorpicker.hue.Image = "rbxassetid://4155801252"
colorpicker.hue.ScaleType = Enum.ScaleType.Stretch
colorpicker.hue.BackgroundColor3 = Color3.new(1,0,0)
colorpicker.hue.BorderColor3 = window.theme.outlinecolor2
updateevent.Event:Connect(function(theme)
colorpicker.hue.BorderColor3 = theme.outlinecolor2
end)
colorpicker.hueselectorpointer = Instance.new("ImageLabel",
colorpicker.MainPicker)
colorpicker.hueselectorpointer.ZIndex = 101
colorpicker.hueselectorpointer.BackgroundTransparency = 1
colorpicker.hueselectorpointer.BorderSizePixel = 0
colorpicker.hueselectorpointer.Position = UDim2.new(0, 0, 0, 0)
colorpicker.hueselectorpointer.Size = UDim2.new(0, 7, 0, 7)
colorpicker.hueselectorpointer.Image =
"rbxassetid://6885856475"
colorpicker.selector = Instance.new("TextLabel",
colorpicker.MainPicker)
colorpicker.selector.ZIndex = 100
colorpicker.selector.Position = UDim2.new(0,3,0,181)
colorpicker.selector.Size = UDim2.new(0,173,0,10)
colorpicker.selector.BackgroundColor3 =
Color3.fromRGB(255,255,255)
colorpicker.selector.BorderColor3 = window.theme.outlinecolor2
colorpicker.selector.Text = ""
updateevent.Event:Connect(function(theme)
colorpicker.selector.BorderColor3 = theme.outlinecolor2
end)
colorpicker.gradient = Instance.new("UIGradient",
colorpicker.selector)
colorpicker.gradient.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.new(1,0,0)),
ColorSequenceKeypoint.new(0.17, Color3.new(1,0,1)),
ColorSequenceKeypoint.new(0.33,Color3.new(0,0,1)),
ColorSequenceKeypoint.new(0.5,Color3.new(0,1,1)),
ColorSequenceKeypoint.new(0.67, Color3.new(0,1,0)),
ColorSequenceKeypoint.new(0.83, Color3.new(1,1,0)),
ColorSequenceKeypoint.new(1, Color3.new(1,0,0))
})
colorpicker.pointer = Instance.new("Frame",
colorpicker.selector)
colorpicker.pointer.ZIndex = 101
colorpicker.pointer.BackgroundColor3 = Color3.fromRGB(40, 40,
40)
colorpicker.pointer.Position = UDim2.new(0,0,0,0)
colorpicker.pointer.Size = UDim2.new(0,2,0,10)
colorpicker.pointer.BorderColor3 = Color3.fromRGB(255, 255,
255)
function colorpicker:RefreshHue()
local x = (mouse.X - colorpicker.hue.AbsolutePosition.X) /
colorpicker.hue.AbsoluteSize.X
local y = (mouse.Y - colorpicker.hue.AbsolutePosition.Y) /
colorpicker.hue.AbsoluteSize.Y
colorpicker.hueselectorpointer:TweenPosition(UDim2.new(math.clamp(x *
colorpicker.hue.AbsoluteSize.X, 0.5, 0.952 * colorpicker.hue.AbsoluteSize.X) /
colorpicker.hue.AbsoluteSize.X, 0, math.clamp(y * colorpicker.hue.AbsoluteSize.Y,
0.5, 0.885 * colorpicker.hue.AbsoluteSize.Y) / colorpicker.hue.AbsoluteSize.Y, 0),
Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.05)
colorpicker:Set(Color3.fromHSV(colorpicker.color,
math.clamp(x * colorpicker.hue.AbsoluteSize.X, 0.5, 1 *
colorpicker.hue.AbsoluteSize.X) / colorpicker.hue.AbsoluteSize.X, 1 - (math.clamp(y
* colorpicker.hue.AbsoluteSize.Y, 0.5, 1 * colorpicker.hue.AbsoluteSize.Y) /
colorpicker.hue.AbsoluteSize.Y)))
end
function colorpicker:RefreshSelector()
local pos = math.clamp((mouse.X -
colorpicker.hue.AbsolutePosition.X) / colorpicker.hue.AbsoluteSize.X, 0, 1)
colorpicker.color = 1 - pos
colorpicker.pointer:TweenPosition(UDim2.new(pos, 0, 0, 0),
Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.05)
colorpicker.hue.BackgroundColor3 = Color3.fromHSV(1 - pos,
1, 1)
local x =
(colorpicker.hueselectorpointer.AbsolutePosition.X -
colorpicker.hue.AbsolutePosition.X) / colorpicker.hue.AbsoluteSize.X
local y =
(colorpicker.hueselectorpointer.AbsolutePosition.Y -
colorpicker.hue.AbsolutePosition.Y) / colorpicker.hue.AbsoluteSize.Y
colorpicker:Set(Color3.fromHSV(colorpicker.color,
math.clamp(x * colorpicker.hue.AbsoluteSize.X, 0.5, 1 *
colorpicker.hue.AbsoluteSize.X) / colorpicker.hue.AbsoluteSize.X, 1 - (math.clamp(y
* colorpicker.hue.AbsoluteSize.Y, 0.5, 1 * colorpicker.hue.AbsoluteSize.Y) /
colorpicker.hue.AbsoluteSize.Y)))
end
function colorpicker:Set(value)
local color = Color3.new(math.clamp(value.r, 0, 1),
math.clamp(value.g, 0, 1), math.clamp(value.b, 0, 1))
colorpicker.value = color
if colorpicker.flag and colorpicker.flag ~= "" then
library.flags[colorpicker.flag] = color
end
local clr = Color3.new(math.clamp(color.R / 1.7, 0, 1),
math.clamp(color.G / 1.7, 0, 1), math.clamp(color.B / 1.7, 0, 1))
colorpicker.Gradient.Color =
ColorSequence.new({ ColorSequenceKeypoint.new(0.00, color),
ColorSequenceKeypoint.new(1.00, clr) })
pcall(colorpicker.callback, color)
end
function colorpicker:Get(value)
return colorpicker.value
end
colorpicker:Set(colorpicker.default)
colorpicker.selector.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
then
dragging_selector = true
colorpicker:RefreshSelector()
end
end)
colorpicker.selector.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
then
dragging_selector = false
colorpicker:RefreshSelector()
end
end)
colorpicker.hue.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
then
dragging_hue = true
colorpicker:RefreshHue()
end
end)
colorpicker.hue.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
then
dragging_hue = false
colorpicker:RefreshHue()
end
end)
uis.InputChanged:Connect(function(input)
if dragging_selector and input.UserInputType ==
Enum.UserInputType.MouseMovement then
colorpicker:RefreshSelector()
end
if dragging_hue and input.UserInputType ==
Enum.UserInputType.MouseMovement then
colorpicker:RefreshHue()
end
end)
colorpicker.MainPicker.Visible = not
colorpicker.MainPicker.Visible
window.OpenedColorPickers[colorpicker.MainPicker] =
colorpicker.MainPicker.Visible
if window.OpenedColorPickers[colorpicker.MainPicker]
then
colorpicker.BlackOutline2.BackgroundColor3 =
window.theme.accentcolor
else
colorpicker.BlackOutline2.BackgroundColor3 =
window.theme.outlinecolor2
end
end
end
colorpicker.Main.InputBegan:Connect(inputBegan)
colorpicker.Outline.InputBegan:Connect(inputBegan)
colorpicker.BlackOutline2.InputBegan:Connect(inputBegan)
table.insert(library.items, colorpicker)
return colorpicker
end
slider.value = slider.default
local dragging = false
function slider:Get()
return slider.value
end
function slider:Set(value)
slider.value = math.clamp(math.round(value *
slider.decimals) / slider.decimals, slider.min, slider.max)
local percent = 1 - ((slider.max - slider.value) /
(slider.max - slider.min))
if slider.flag and slider.flag ~= "" then
library.flags[slider.flag] = slider.value
end
slider.SlideBar:TweenSize(UDim2.fromOffset(percent *
slider.Main.AbsoluteSize.X, slider.Main.AbsoluteSize.Y), Enum.EasingDirection.In,
Enum.EasingStyle.Sine, 0.05)
slider.InputLabel.Text = slider.value
pcall(slider.callback, slider.value)
end
slider:Set(slider.default)
function slider:Refresh()
local mousePos = camera:WorldToViewportPoint(mouse.Hit.p)
local percent = math.clamp(mousePos.X -
slider.SlideBar.AbsolutePosition.X, 0, slider.Main.AbsoluteSize.X) /
slider.Main.AbsoluteSize.X
local value = math.floor((slider.min + (slider.max -
slider.min) * percent) * slider.decimals) / slider.decimals
value = math.clamp(value, slider.min, slider.max)
slider:Set(value)
end
slider.SlideBar.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
then
dragging = true
slider:Refresh()
end
end)
slider.SlideBar.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
then
dragging = false
end
end)
slider.Main.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
then
dragging = true
slider:Refresh()
end
end)
slider.Main.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1
then
dragging = false
end
end)
uis.InputChanged:Connect(function(input)
if dragging and input.UserInputType ==
Enum.UserInputType.MouseMovement then
slider:Refresh()
end
end)
sector:FixSize()
table.insert(library.items, slider)
return slider
end
toggle.Main.MouseButton1Down:Connect(function()
toggle:Set(not toggle.CheckedFrame.Visible)
end)
toggle.Label.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
toggle:Set(not toggle.CheckedFrame.Visible)
end
end)
toggle.Label.MouseEnter:Connect(MouseEnter)
toggle.Label.MouseLeave:Connect(MouseLeave)
toggle.BlackOutline2.MouseEnter:Connect(MouseEnter)
toggle.BlackOutline2.MouseLeave:Connect(MouseLeave)
sector:FixSize()
table.insert(library.items, toggle)
return toggle
end
function textbox:Set(text)
textbox.value = text
textbox.Main.Text = text
if textbox.flag and textbox.flag ~= "" then
library.flags[textbox.flag] = text
end
pcall(textbox.callback, text)
end
updateevent.Event:Connect(function(theme)
textbox.Main.Font = theme.font
end)
function textbox:Get()
return textbox.value
end
if textbox.default then
textbox:Set(textbox.default)
end
textbox.Main.FocusLost:Connect(function()
textbox:Set(textbox.Main.Text)
end)
textbox.BlackOutline2.MouseEnter:Connect(function()
textbox.BlackOutline2.BackgroundColor3 =
window.theme.accentcolor
end)
textbox.BlackOutline2.MouseLeave:Connect(function()
textbox.BlackOutline2.BackgroundColor3 =
window.theme.outlinecolor2
end)
sector:FixSize()
table.insert(library.items, textbox)
return textbox
end
slider.value = slider.default
local dragging = false
slider.BlackOutline2.MouseEnter:Connect(function()
slider.BlackOutline2.BackgroundColor3 =
window.theme.accentcolor
end)
slider.BlackOutline2.MouseLeave:Connect(function()
slider.BlackOutline2.BackgroundColor3 =
window.theme.outlinecolor2
end)
function slider:Get()
return slider.value
end
function slider:Set(value)
slider.value = math.clamp(math.round(value * slider.decimals) /
slider.decimals, slider.min, slider.max)
local percent = 1 - ((slider.max - slider.value) / (slider.max
- slider.min))
if slider.flag and slider.flag ~= "" then
library.flags[slider.flag] = slider.value
end
slider.SlideBar:TweenSize(UDim2.fromOffset(percent *
slider.Main.AbsoluteSize.X, slider.Main.AbsoluteSize.Y), Enum.EasingDirection.In,
Enum.EasingStyle.Sine, 0.05)
slider.InputLabel.Text = slider.value
pcall(slider.callback, slider.value)
end
slider:Set(slider.default)
slider.InputLabel.FocusLost:Connect(function(Return)
if not Return then
return
end
if (slider.InputLabel.Text:match("^%d+$")) then
slider:Set(tonumber(slider.InputLabel.Text))
else
slider.InputLabel.Text = tostring(slider.value)
end
end)
function slider:Refresh()
local mousePos = camera:WorldToViewportPoint(mouse.Hit.p)
local percent = math.clamp(mousePos.X -
slider.SlideBar.AbsolutePosition.X, 0, slider.Main.AbsoluteSize.X) /
slider.Main.AbsoluteSize.X
local value = math.floor((slider.min + (slider.max -
slider.min) * percent) * slider.decimals) / slider.decimals
value = math.clamp(value, slider.min, slider.max)
slider:Set(value)
end
slider.SlideBar.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
slider:Refresh()
end
end)
slider.SlideBar.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = false
end
end)
slider.Main.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
slider:Refresh()
end
end)
slider.Main.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = false
end
end)
uis.InputChanged:Connect(function(input)
if dragging and input.UserInputType ==
Enum.UserInputType.MouseMovement then
slider:Refresh()
end
end)
sector:FixSize()
table.insert(library.items, slider)
return slider
end
colorpicker.BlackOutline2.MouseEnter:Connect(function()
colorpicker.BlackOutline2.BackgroundColor3 =
window.theme.accentcolor
end)
colorpicker.BlackOutline2.MouseLeave:Connect(function()
if not window.OpenedColorPickers[colorpicker.MainPicker] then
colorpicker.BlackOutline2.BackgroundColor3 =
window.theme.outlinecolor2
end
end)
colorpicker.MainPicker = Instance.new("TextButton",
colorpicker.Main)
colorpicker.MainPicker.Name = "picker"
colorpicker.MainPicker.ZIndex = 100
colorpicker.MainPicker.Visible = false
colorpicker.MainPicker.AutoButtonColor = false
colorpicker.MainPicker.Text = ""
window.OpenedColorPickers[colorpicker.MainPicker] = false
colorpicker.MainPicker.Size = UDim2.fromOffset(180, 196)
colorpicker.MainPicker.BorderSizePixel = 0
colorpicker.MainPicker.BackgroundColor3 = Color3.fromRGB(40, 40,
40)
colorpicker.MainPicker.Rotation = 0.000000000000001
colorpicker.MainPicker.Position = UDim2.fromOffset(-
colorpicker.MainPicker.AbsoluteSize.X + colorpicker.Main.AbsoluteSize.X, 15)
colorpicker.BlackOutline3 = Instance.new("Frame",
colorpicker.MainPicker)
colorpicker.BlackOutline3.Name = "blackline"
colorpicker.BlackOutline3.ZIndex = 98
colorpicker.BlackOutline3.Size = colorpicker.MainPicker.Size +
UDim2.fromOffset(6, 6)
colorpicker.BlackOutline3.BorderSizePixel = 0
colorpicker.BlackOutline3.BackgroundColor3 =
window.theme.outlinecolor2
colorpicker.BlackOutline3.Position = UDim2.fromOffset(-3, -3)
updateevent.Event:Connect(function(theme)
colorpicker.BlackOutline3.BackgroundColor3 =
theme.outlinecolor2
end)
colorpicker.Outline2 = Instance.new("Frame",
colorpicker.MainPicker)
colorpicker.Outline2.Name = "blackline"
colorpicker.Outline2.ZIndex = 98
colorpicker.Outline2.Size = colorpicker.MainPicker.Size +
UDim2.fromOffset(4, 4)
colorpicker.Outline2.BorderSizePixel = 0
colorpicker.Outline2.BackgroundColor3 = window.theme.outlinecolor
colorpicker.Outline2.Position = UDim2.fromOffset(-2, -2)
updateevent.Event:Connect(function(theme)
colorpicker.Outline2.BackgroundColor3 = theme.outlinecolor
end)
colorpicker.BlackOutline3 = Instance.new("Frame",
colorpicker.MainPicker)
colorpicker.BlackOutline3.Name = "blackline"
colorpicker.BlackOutline3.ZIndex = 98
colorpicker.BlackOutline3.Size = colorpicker.MainPicker.Size +
UDim2.fromOffset(2, 2)
colorpicker.BlackOutline3.BorderSizePixel = 0
colorpicker.BlackOutline3.BackgroundColor3 =
window.theme.outlinecolor2
colorpicker.BlackOutline3.Position = UDim2.fromOffset(-1, -1)
updateevent.Event:Connect(function(theme)
colorpicker.BlackOutline3.BackgroundColor3 =
theme.outlinecolor2
end)
colorpicker.hue = Instance.new("ImageLabel",
colorpicker.MainPicker)
colorpicker.hue.ZIndex = 101
colorpicker.hue.Position = UDim2.new(0,3,0,3)
colorpicker.hue.Size = UDim2.new(0,172,0,172)
colorpicker.hue.Image = "rbxassetid://4155801252"
colorpicker.hue.ScaleType = Enum.ScaleType.Stretch
colorpicker.hue.BackgroundColor3 = Color3.new(1,0,0)
colorpicker.hue.BorderColor3 = window.theme.outlinecolor2
updateevent.Event:Connect(function(theme)
colorpicker.hue.BorderColor3 = theme.outlinecolor2
end)
colorpicker.hueselectorpointer = Instance.new("ImageLabel",
colorpicker.MainPicker)
colorpicker.hueselectorpointer.ZIndex = 101
colorpicker.hueselectorpointer.BackgroundTransparency = 1
colorpicker.hueselectorpointer.BorderSizePixel = 0
colorpicker.hueselectorpointer.Position = UDim2.new(0, 0, 0, 0)
colorpicker.hueselectorpointer.Size = UDim2.new(0, 7, 0, 7)
colorpicker.hueselectorpointer.Image = "rbxassetid://6885856475"
colorpicker.selector = Instance.new("TextLabel",
colorpicker.MainPicker)
colorpicker.selector.ZIndex = 100
colorpicker.selector.Position = UDim2.new(0,3,0,181)
colorpicker.selector.Size = UDim2.new(0,173,0,10)
colorpicker.selector.BackgroundColor3 = Color3.fromRGB(255,255,255)
colorpicker.selector.BorderColor3 = window.theme.outlinecolor2
colorpicker.selector.Text = ""
updateevent.Event:Connect(function(theme)
colorpicker.selector.BorderColor3 = theme.outlinecolor2
end)
colorpicker.gradient = Instance.new("UIGradient",
colorpicker.selector)
colorpicker.gradient.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.new(1,0,0)),
ColorSequenceKeypoint.new(0.17, Color3.new(1,0,1)),
ColorSequenceKeypoint.new(0.33,Color3.new(0,0,1)),
ColorSequenceKeypoint.new(0.5,Color3.new(0,1,1)),
ColorSequenceKeypoint.new(0.67, Color3.new(0,1,0)),
ColorSequenceKeypoint.new(0.83, Color3.new(1,1,0)),
ColorSequenceKeypoint.new(1, Color3.new(1,0,0))
})
function colorpicker:RefreshSelector()
local pos = math.clamp((mouse.X -
colorpicker.hue.AbsolutePosition.X) / colorpicker.hue.AbsoluteSize.X, 0, 1)
colorpicker.color = 1 - pos
colorpicker.pointer:TweenPosition(UDim2.new(pos, 0, 0, 0),
Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.05)
colorpicker.hue.BackgroundColor3 = Color3.fromHSV(1 - pos, 1,
1)
end
function colorpicker:RefreshHue()
local x = (mouse.X - colorpicker.hue.AbsolutePosition.X) /
colorpicker.hue.AbsoluteSize.X
local y = (mouse.Y - colorpicker.hue.AbsolutePosition.Y) /
colorpicker.hue.AbsoluteSize.Y
colorpicker.hueselectorpointer:TweenPosition(UDim2.new(math.clamp(x *
colorpicker.hue.AbsoluteSize.X, 0.5, 0.952 * colorpicker.hue.AbsoluteSize.X) /
colorpicker.hue.AbsoluteSize.X, 0, math.clamp(y * colorpicker.hue.AbsoluteSize.Y,
0.5, 0.885 * colorpicker.hue.AbsoluteSize.Y) / colorpicker.hue.AbsoluteSize.Y, 0),
Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.05)
colorpicker:Set(Color3.fromHSV(colorpicker.color, math.clamp(x
* colorpicker.hue.AbsoluteSize.X, 0.5, 1 * colorpicker.hue.AbsoluteSize.X) /
colorpicker.hue.AbsoluteSize.X, 1 - (math.clamp(y * colorpicker.hue.AbsoluteSize.Y,
0.5, 1 * colorpicker.hue.AbsoluteSize.Y) / colorpicker.hue.AbsoluteSize.Y)))
end
function colorpicker:Set(value)
local color = Color3.new(math.clamp(value.r, 0, 1),
math.clamp(value.g, 0, 1), math.clamp(value.b, 0, 1))
colorpicker.value = color
if colorpicker.flag and colorpicker.flag ~= "" then
library.flags[colorpicker.flag] = color
end
local clr = Color3.new(math.clamp(color.R / 1.7, 0, 1),
math.clamp(color.G / 1.7, 0, 1), math.clamp(color.B / 1.7, 0, 1))
colorpicker.Gradient.Color =
ColorSequence.new({ ColorSequenceKeypoint.new(0.00, color),
ColorSequenceKeypoint.new(1.00, clr) })
pcall(colorpicker.callback, color)
end
function colorpicker:Get()
return colorpicker.value
end
colorpicker:Set(colorpicker.default)
dropdown.defaultitems = items or { }
dropdown.default = default
dropdown.callback = callback or function() end
dropdown.multichoice = multichoice or false
dropdown.values = { }
dropdown.flag = flag or ((colorpicker.text or "") ..
tostring( #(sector.Items:GetChildren()) ))
dropdown.SelectedLabel = Instance.new("TextLabel",
dropdown.Main)
dropdown.SelectedLabel.BackgroundColor3 = Color3.fromRGB(255,
255, 255)
dropdown.SelectedLabel.BackgroundTransparency = 1
dropdown.SelectedLabel.Position = UDim2.fromOffset(5, 2)
dropdown.SelectedLabel.Size = UDim2.fromOffset(130, 13)
dropdown.SelectedLabel.Font = window.theme.font
dropdown.SelectedLabel.Text = colorpicker.text
dropdown.SelectedLabel.ZIndex = 5
dropdown.SelectedLabel.TextColor3 = Color3.fromRGB(255, 255,
255)
dropdown.SelectedLabel.TextSize = 15
dropdown.SelectedLabel.TextStrokeTransparency = 1
dropdown.SelectedLabel.TextXAlignment =
Enum.TextXAlignment.Left
updateevent.Event:Connect(function(theme)
dropdown.SelectedLabel.Font = theme.font
end)
dropdown.ItemsFrame = Instance.new("ScrollingFrame",
dropdown.Main)
dropdown.ItemsFrame.Name = "itemsframe"
dropdown.ItemsFrame.BorderSizePixel = 0
dropdown.ItemsFrame.BackgroundColor3 = Color3.fromRGB(40, 40,
40)
dropdown.ItemsFrame.Position = UDim2.fromOffset(0,
dropdown.Main.Size.Y.Offset + 8)
dropdown.ItemsFrame.ScrollBarThickness = 2
dropdown.ItemsFrame.ZIndex = 8
dropdown.ItemsFrame.ScrollingDirection = "Y"
dropdown.ItemsFrame.Visible = false
dropdown.ItemsFrame.CanvasSize =
UDim2.fromOffset(dropdown.Main.AbsoluteSize.X, 0)
dropdown.ListLayout = Instance.new("UIListLayout",
dropdown.ItemsFrame)
dropdown.ListLayout.FillDirection = Enum.FillDirection.Vertical
dropdown.ListLayout.SortOrder = Enum.SortOrder.LayoutOrder
dropdown.ListPadding = Instance.new("UIPadding",
dropdown.ItemsFrame)
dropdown.ListPadding.PaddingTop = UDim.new(0, 2)
dropdown.ListPadding.PaddingBottom = UDim.new(0, 2)
dropdown.ListPadding.PaddingLeft = UDim.new(0, 2)
dropdown.ListPadding.PaddingRight = UDim.new(0, 2)
dropdown.BlackOutline2Items = Instance.new("Frame",
dropdown.Main)
dropdown.BlackOutline2Items.Name = "blackline"
dropdown.BlackOutline2Items.ZIndex = 7
dropdown.BlackOutline2Items.Size = dropdown.ItemsFrame.Size +
UDim2.fromOffset(6, 6)
dropdown.BlackOutline2Items.BorderSizePixel = 0
dropdown.BlackOutline2Items.BackgroundColor3 =
window.theme.outlinecolor2
dropdown.BlackOutline2Items.Position =
dropdown.ItemsFrame.Position + UDim2.fromOffset(-3, -3)
dropdown.BlackOutline2Items.Visible = false
updateevent.Event:Connect(function(theme)
dropdown.BlackOutline2Items.BackgroundColor3 =
theme.outlinecolor2
end)
dropdown.BlackOutlineItems = Instance.new("Frame",
dropdown.Main)
dropdown.BlackOutlineItems.Name = "blackline"
dropdown.BlackOutlineItems.ZIndex = 7
dropdown.BlackOutlineItems.Size = dropdown.ItemsFrame.Size +
UDim2.fromOffset(-2, -2)
dropdown.BlackOutlineItems.BorderSizePixel = 0
dropdown.BlackOutlineItems.BackgroundColor3 =
window.theme.outlinecolor2
dropdown.BlackOutlineItems.Position =
dropdown.ItemsFrame.Position + UDim2.fromOffset(-1, -1)
dropdown.BlackOutlineItems.Visible = false
updateevent.Event:Connect(function(theme)
dropdown.BlackOutlineItems.BackgroundColor3 =
theme.outlinecolor2
end)
dropdown.IgnoreBackButtons = Instance.new("TextButton",
dropdown.Main)
dropdown.IgnoreBackButtons.BackgroundTransparency = 1
dropdown.IgnoreBackButtons.BorderSizePixel = 0
dropdown.IgnoreBackButtons.Position = UDim2.fromOffset(0,
dropdown.Main.Size.Y.Offset + 8)
dropdown.IgnoreBackButtons.Size = UDim2.new(0, 0, 0, 0)
dropdown.IgnoreBackButtons.ZIndex = 7
dropdown.IgnoreBackButtons.Text = ""
dropdown.IgnoreBackButtons.Visible = false
dropdown.IgnoreBackButtons.AutoButtonColor = false
function dropdown:isSelected(item)
for i, v in pairs(dropdown.values) do
if v == item then
return true
end
end
return false
end
function dropdown:updateText(text)
if #text >= 27 then
text = text:sub(1, 25) .. ".."
end
dropdown.SelectedLabel.Text = text
end
dropdown.Changed = Instance.new("BindableEvent")
function dropdown:Set(value)
if type(value) == "table" then
dropdown.values = value
dropdown:updateText(table.concat(value, ", "))
pcall(dropdown.callback, value)
else
dropdown:updateText(value)
dropdown.values = { value }
pcall(dropdown.callback, value)
end
dropdown.Changed:Fire(value)
if dropdown.flag and dropdown.flag ~= "" then
library.flags[dropdown.flag] = dropdown.multichoice and
dropdown.values or dropdown.values[1]
end
end
function dropdown:Get()
return dropdown.multichoice and dropdown.values or
dropdown.values[1]
end
dropdown.items = { }
function dropdown:Add(v)
local Item = Instance.new("TextButton",
dropdown.ItemsFrame)
Item.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
Item.TextColor3 = Color3.fromRGB(255, 255, 255)
Item.BorderSizePixel = 0
Item.Position = UDim2.fromOffset(0, 0)
Item.Size = UDim2.fromOffset(dropdown.Main.Size.X.Offset -
4, 20)
Item.ZIndex = 9
Item.Text = v
Item.Name = v
Item.AutoButtonColor = false
Item.Font = window.theme.font
Item.TextSize = 15
Item.TextXAlignment = Enum.TextXAlignment.Left
Item.TextStrokeTransparency = 1
dropdown.ItemsFrame.CanvasSize =
dropdown.ItemsFrame.CanvasSize + UDim2.fromOffset(0, Item.AbsoluteSize.Y)
Item.MouseButton1Down:Connect(function()
if dropdown.multichoice then
if dropdown:isSelected(v) then
for i2, v2 in pairs(dropdown.values) do
if v2 == v then
table.remove(dropdown.values, i2)
end
end
dropdown:Set(dropdown.values)
else
table.insert(dropdown.values, v)
dropdown:Set(dropdown.values)
end
return
else
dropdown.Nav.Rotation = 90
dropdown.ItemsFrame.Visible = false
dropdown.ItemsFrame.Active = false
dropdown.OutlineItems.Visible = false
dropdown.BlackOutlineItems.Visible = false
dropdown.BlackOutline2Items.Visible = false
dropdown.IgnoreBackButtons.Visible = false
dropdown.IgnoreBackButtons.Active = false
end
dropdown:Set(v)
return
end)
runservice.RenderStepped:Connect(function()
if dropdown.multichoice and dropdown:isSelected(v) or
dropdown.values[1] == v then
Item.BackgroundColor3 = Color3.fromRGB(64, 64, 64)
Item.TextColor3 = window.theme.accentcolor
Item.Text = " " .. v
else
Item.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
Item.TextColor3 = Color3.fromRGB(255, 255, 255)
Item.Text = v
end
end)
table.insert(dropdown.items, v)
dropdown.ItemsFrame.Size =
UDim2.fromOffset(dropdown.Main.Size.X.Offset, math.clamp(#dropdown.items *
Item.AbsoluteSize.Y, 20, 156) + 4)
dropdown.ItemsFrame.CanvasSize =
UDim2.fromOffset(dropdown.ItemsFrame.AbsoluteSize.X, (#dropdown.items *
Item.AbsoluteSize.Y) + 4)
dropdown.OutlineItems.Size = dropdown.ItemsFrame.Size +
UDim2.fromOffset(4, 4)
dropdown.BlackOutlineItems.Size = dropdown.ItemsFrame.Size
+ UDim2.fromOffset(2, 2)
dropdown.BlackOutline2Items.Size = dropdown.ItemsFrame.Size
+ UDim2.fromOffset(6, 6)
dropdown.IgnoreBackButtons.Size = dropdown.ItemsFrame.Size
end
function dropdown:Remove(value)
local item = dropdown.ItemsFrame:FindFirstChild(value)
if item then
for i,v in pairs(dropdown.items) do
if v == value then
table.remove(dropdown.items, i)
end
end
dropdown.ItemsFrame.Size =
UDim2.fromOffset(dropdown.Main.Size.X.Offset, math.clamp(#dropdown.items *
item.AbsoluteSize.Y, 20, 156) + 4)
dropdown.ItemsFrame.CanvasSize =
UDim2.fromOffset(dropdown.ItemsFrame.AbsoluteSize.X, (#dropdown.items *
item.AbsoluteSize.Y) + 4)
dropdown.OutlineItems.Size = dropdown.ItemsFrame.Size +
UDim2.fromOffset(2, 2)
dropdown.BlackOutlineItems.Size =
dropdown.ItemsFrame.Size + UDim2.fromOffset(4, 4)
dropdown.BlackOutline2Items.Size =
dropdown.ItemsFrame.Size + UDim2.fromOffset(6, 6)
dropdown.IgnoreBackButtons.Size =
dropdown.ItemsFrame.Size
item:Remove()
end
end
if dropdown.default then
dropdown:Set(dropdown.default)
end
dropdown.Main.MouseButton1Down:Connect(MouseButton1Down)
dropdown.Nav.MouseButton1Down:Connect(MouseButton1Down)
dropdown.BlackOutline2.MouseEnter:Connect(function()
dropdown.BlackOutline2.BackgroundColor3 =
window.theme.accentcolor
end)
dropdown.BlackOutline2.MouseLeave:Connect(function()
dropdown.BlackOutline2.BackgroundColor3 =
window.theme.outlinecolor2
end)
sector:FixSize()
table.insert(library.items, dropdown)
return dropdown
end
colorpicker.selector.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging_selector = true
colorpicker:RefreshSelector()
end
end)
colorpicker.selector.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging_selector = false
colorpicker:RefreshSelector()
end
end)
colorpicker.hue.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging_hue = true
colorpicker:RefreshHue()
end
end)
colorpicker.hue.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging_hue = false
colorpicker:RefreshHue()
end
end)
uis.InputChanged:Connect(function(input)
if dragging_selector and input.UserInputType ==
Enum.UserInputType.MouseMovement then
colorpicker:RefreshSelector()
end
if dragging_hue and input.UserInputType ==
Enum.UserInputType.MouseMovement then
colorpicker:RefreshHue()
end
end)
colorpicker.MainPicker.Visible = not
colorpicker.MainPicker.Visible
window.OpenedColorPickers[colorpicker.MainPicker] =
colorpicker.MainPicker.Visible
if window.OpenedColorPickers[colorpicker.MainPicker] then
colorpicker.BlackOutline2.BackgroundColor3 =
window.theme.accentcolor
else
colorpicker.BlackOutline2.BackgroundColor3 =
window.theme.outlinecolor2
end
end
end
colorpicker.Main.InputBegan:Connect(inputBegan)
colorpicker.Outline.InputBegan:Connect(inputBegan)
colorpicker.BlackOutline2.InputBegan:Connect(inputBegan)
sector:FixSize()
table.insert(library.items, colorpicker)
return colorpicker
end
function sector:AddKeybind(text,default,newkeycallback,callback,flag)
local keybind = { }
keybind.value = keybind.default
local shorter_keycodes = {
["LeftShift"] = "LSHIFT",
["RightShift"] = "RSHIFT",
["LeftControl"] = "LCTRL",
["RightControl"] = "RCTRL",
["LeftAlt"] = "LALT",
["RightAlt"] = "RALT"
}
function keybind:Set(value)
if value == "None" then
keybind.value = value
keybind.Bind.Text = "[" .. value .. "]"
keybind.value = value
keybind.Bind.Text = "[" .. (shorter_keycodes[value.Name or
value] or (value.Name or value)) .. "]"
function keybind:Get()
return keybind.value
end
uis.InputBegan:Connect(function(input, gameProcessed)
if not gameProcessed then
if keybind.Bind.Text == "[...]" then
keybind.Bind.TextColor3 = Color3.fromRGB(136, 136, 136)
if input.UserInputType == Enum.UserInputType.Keyboard
then
keybind:Set(input.KeyCode)
else
keybind:Set("None")
end
else
if keybind.value ~= "None" and input.KeyCode ==
keybind.value then
pcall(keybind.callback)
end
end
end
end)
sector:FixSize()
table.insert(library.items, keybind)
return keybind
end
updateevent.Event:Connect(function(theme)
dropdown.Label.Font = theme.font
dropdown.Label.TextColor3 = theme.itemscolor
end)
dropdown.ListPadding = Instance.new("UIPadding",
dropdown.ItemsFrame)
dropdown.ListPadding.PaddingTop = UDim.new(0, 2)
dropdown.ListPadding.PaddingBottom = UDim.new(0, 2)
dropdown.ListPadding.PaddingLeft = UDim.new(0, 2)
dropdown.ListPadding.PaddingRight = UDim.new(0, 2)
function dropdown:isSelected(item)
for i, v in pairs(dropdown.values) do
if v == item then
return true
end
end
return false
end
function dropdown:GetOptions()
return dropdown.values
end
function dropdown:updateText(text)
if #text >= 27 then
text = text:sub(1, 25) .. ".."
end
dropdown.SelectedLabel.Text = text
end
dropdown.Changed = Instance.new("BindableEvent")
function dropdown:Set(value)
if type(value) == "table" then
dropdown.values = value
dropdown:updateText(table.concat(value, ", "))
pcall(dropdown.callback, value)
else
dropdown:updateText(value)
dropdown.values = { value }
pcall(dropdown.callback, value)
end
dropdown.Changed:Fire(value)
if dropdown.flag and dropdown.flag ~= "" then
library.flags[dropdown.flag] = dropdown.multichoice and
dropdown.values or dropdown.values[1]
end
end
function dropdown:Get()
return dropdown.multichoice and dropdown.values or
dropdown.values[1]
end
dropdown.items = { }
function dropdown:Add(v)
local Item = Instance.new("TextButton", dropdown.ItemsFrame)
Item.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
Item.TextColor3 = Color3.fromRGB(255, 255, 255)
Item.BorderSizePixel = 0
Item.Position = UDim2.fromOffset(0, 0)
Item.Size = UDim2.fromOffset(dropdown.Main.Size.X.Offset - 4,
20)
Item.ZIndex = 9
Item.Text = v
Item.Name = v
Item.AutoButtonColor = false
Item.Font = window.theme.font
Item.TextSize = 15
Item.TextXAlignment = Enum.TextXAlignment.Left
Item.TextStrokeTransparency = 1
dropdown.ItemsFrame.CanvasSize = dropdown.ItemsFrame.CanvasSize
+ UDim2.fromOffset(0, Item.AbsoluteSize.Y)
Item.MouseButton1Down:Connect(function()
if dropdown.multichoice then
if dropdown:isSelected(v) then
for i2, v2 in pairs(dropdown.values) do
if v2 == v then
table.remove(dropdown.values, i2)
end
end
dropdown:Set(dropdown.values)
else
table.insert(dropdown.values, v)
dropdown:Set(dropdown.values)
end
return
else
dropdown.Nav.Rotation = 90
dropdown.ItemsFrame.Visible = false
dropdown.ItemsFrame.Active = false
dropdown.OutlineItems.Visible = false
dropdown.BlackOutlineItems.Visible = false
dropdown.BlackOutline2Items.Visible = false
dropdown.IgnoreBackButtons.Visible = false
dropdown.IgnoreBackButtons.Active = false
end
dropdown:Set(v)
return
end)
runservice.RenderStepped:Connect(function()
if dropdown.multichoice and dropdown:isSelected(v) or
dropdown.values[1] == v then
Item.BackgroundColor3 = Color3.fromRGB(64, 64, 64)
Item.TextColor3 = window.theme.accentcolor
Item.Text = " " .. v
else
Item.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
Item.TextColor3 = Color3.fromRGB(255, 255, 255)
Item.Text = v
end
end)
table.insert(dropdown.items, v)
dropdown.ItemsFrame.Size =
UDim2.fromOffset(dropdown.Main.Size.X.Offset, math.clamp(#dropdown.items *
Item.AbsoluteSize.Y, 20, 156) + 4)
dropdown.ItemsFrame.CanvasSize =
UDim2.fromOffset(dropdown.ItemsFrame.AbsoluteSize.X, (#dropdown.items *
Item.AbsoluteSize.Y) + 4)
dropdown.OutlineItems.Size = dropdown.ItemsFrame.Size +
UDim2.fromOffset(4, 4)
dropdown.BlackOutlineItems.Size = dropdown.ItemsFrame.Size +
UDim2.fromOffset(2, 2)
dropdown.BlackOutline2Items.Size = dropdown.ItemsFrame.Size +
UDim2.fromOffset(6, 6)
dropdown.IgnoreBackButtons.Size = dropdown.ItemsFrame.Size
end
function dropdown:Remove(value)
local item = dropdown.ItemsFrame:FindFirstChild(value)
if item then
for i,v in pairs(dropdown.items) do
if v == value then
table.remove(dropdown.items, i)
end
end
dropdown.ItemsFrame.Size =
UDim2.fromOffset(dropdown.Main.Size.X.Offset, math.clamp(#dropdown.items *
item.AbsoluteSize.Y, 20, 156) + 4)
dropdown.ItemsFrame.CanvasSize =
UDim2.fromOffset(dropdown.ItemsFrame.AbsoluteSize.X, (#dropdown.items *
item.AbsoluteSize.Y) + 4)
dropdown.OutlineItems.Size = dropdown.ItemsFrame.Size +
UDim2.fromOffset(2, 2)
dropdown.BlackOutlineItems.Size = dropdown.ItemsFrame.Size
+ UDim2.fromOffset(4, 4)
dropdown.BlackOutline2Items.Size = dropdown.ItemsFrame.Size
+ UDim2.fromOffset(6, 6)
dropdown.IgnoreBackButtons.Size = dropdown.ItemsFrame.Size
item:Remove()
end
end
if dropdown.default then
dropdown:Set(dropdown.default)
end
local MouseButton1Down = function()
if dropdown.Nav.Rotation == 90 then
tweenservice:Create(dropdown.Nav, TweenInfo.new(0.1,
Enum.EasingStyle.Linear, Enum.EasingDirection.In), { Rotation = -90 }):Play()
if dropdown.items and #dropdown.items ~= 0 then
dropdown.ItemsFrame.ScrollingEnabled = true
sector.Main.Parent.ScrollingEnabled = false
dropdown.ItemsFrame.Visible = true
dropdown.ItemsFrame.Active = true
dropdown.IgnoreBackButtons.Visible = true
dropdown.IgnoreBackButtons.Active = true
dropdown.OutlineItems.Visible = true
dropdown.BlackOutlineItems.Visible = true
dropdown.BlackOutline2Items.Visible = true
end
else
tweenservice:Create(dropdown.Nav, TweenInfo.new(0.1,
Enum.EasingStyle.Linear, Enum.EasingDirection.In), { Rotation = 90 }):Play()
dropdown.ItemsFrame.ScrollingEnabled = false
sector.Main.Parent.ScrollingEnabled = true
dropdown.ItemsFrame.Visible = false
dropdown.ItemsFrame.Active = false
dropdown.IgnoreBackButtons.Visible = false
dropdown.IgnoreBackButtons.Active = false
dropdown.OutlineItems.Visible = false
dropdown.BlackOutlineItems.Visible = false
dropdown.BlackOutline2Items.Visible = false
end
end
dropdown.Main.MouseButton1Down:Connect(MouseButton1Down)
dropdown.Nav.MouseButton1Down:Connect(MouseButton1Down)
dropdown.BlackOutline2.MouseEnter:Connect(function()
dropdown.BlackOutline2.BackgroundColor3 =
window.theme.accentcolor
end)
dropdown.BlackOutline2.MouseLeave:Connect(function()
dropdown.BlackOutline2.BackgroundColor3 =
window.theme.outlinecolor2
end)
sector:FixSize()
table.insert(library.items, dropdown)
return dropdown
end
function sector:AddSeperator(text)
local seperator = { }
seperator.text = text or ""
sector:FixSize()
return seperator
end
return sector
end
function tab:CreateConfigSystem(side)
local configSystem = { }
configSystem.Create = configSystem.sector:AddButton("Create",
function()
for i,v in pairs(listfiles(configSystem.configFolder)) do
Config:Remove(tostring(v):gsub(configSystem.configFolder ..
"\\", ""):gsub(".txt", ""))
end
writefile(configSystem.configFolder .. "/" ..
ConfigName:Get() .. ".txt", httpservice:JSONEncode(config))
configSystem.Delete = configSystem.sector:AddButton("Delete",
function()
for i,v in pairs(listfiles(configSystem.configFolder)) do
Config:Remove(tostring(v):gsub(configSystem.configFolder ..
"\\", ""):gsub(".txt", ""))
end
return configSystem
end
tab.SectorsLeft[#tab.SectorsLeft + 1] = 220
--tab.SectorsRight[#tab.SectorsLeft + 1].space = 220
list.items = { }
function list:AddPlayer(Player)
local player = { }
table.insert(list.items, Player)
list.Items.CanvasSize = UDim2.fromOffset(list.Items.AbsoluteSize.X,
(#list.items * 20))
list.Items.Size = UDim2.fromOffset(list.Items.AbsoluteSize.X,
math.clamp(list.Items.CanvasSize.Y.Offset, 0, 205))
return player
end
function list:RemovePlayer(Player)
local p = list.Items:FindFirstChild(Player)
if p then
for i,v in pairs(list.items) do
if v == Player then
table.remove(list.items, i)
end
end
p:Remove()
list.Items.CanvasSize =
UDim2.fromOffset(list.Items.AbsoluteSize.X, (#list.items * 90))
end
end
game:GetService("Players").PlayerAdded:Connect(function(v)
list:AddPlayer(v)
end)
return list
end
]]--
table.insert(window.Tabs, tab)
return tab
end
return window
end
local Version = {
Value = "0.0.1"
}
local target_aim = {
Aiming = {
Target = {
Enabled = nil,
Key = nil,
Prediction = nil,
Radius = nil,
TargetPart = nil,
Alerts = nil,
JumpOffset = nil,
TargetStats = nil,
LookAt = nil
}
}
}
local NotifyLibrary =
loadstring(game:HttpGet("https://raw.githubusercontent.com/Kinlei/Dynissimo/main/
Scripts/AkaliNotif.lua"))()
local Notify = NotifyLibrary.Notify
local Window = library:CreateWindow("Azure Rewrite | Mobile", Vector2.new(400,
550), Enum.KeyCode.RightShift)
FakeAnimationsSec:AddDropdown("Run", {"None","Rthro",
"Zombie","Werewolf","Ninja","Toy","Superhero","OldSchool","Cartoony","Stylish","Vam
pire"}, "None", false, function(dropdown)
zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx = dropdown
end)
game:GetService("RunService").Stepped:Connect(function ()
if zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx == "None" then
elseif zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx == "Rthro" then
player.Character.Animate.run.RunAnim.AnimationId =
"http://www.roblox.com/asset/?id=2510198475"
elseif zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx == "Werewolf" then
player.Character.Animate.run.RunAnim.AnimationId =
"http://www.roblox.com/asset/?id=1083216690"
elseif zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx == "Zombie" then
player.Character.Animate.run.RunAnim.AnimationId =
"http://www.roblox.com/asset/?id=616163682"
elseif zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx == "Ninja" then
player.Character.Animate.run.RunAnim.AnimationId =
"http://www.roblox.com/asset/?id=656118852"
elseif zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx == "Toy" then
player.Character.Animate.run.RunAnim.AnimationId =
"http://www.roblox.com/asset/?id=782842708"
elseif zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx == "Superhero" then
player.Character.Animate.run.RunAnim.AnimationId =
"http://www.roblox.com/asset/?id=616117076"
elseif zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx == "OldSchool" then
player.Character.Animate.run.RunAnim.AnimationId =
"http://www.roblox.com/asset/?id=5319844329"
elseif zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx == "Cartoony" then
player.Character.Animate.run.RunAnim.AnimationId =
"http://www.roblox.com/asset/?id=742638842"
elseif zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx == "Stylish" then
player.Character.Animate.run.RunAnim.AnimationId =
"http://www.roblox.com/asset/?id=616140816"
elseif zxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx == "Vampire" then
player.Character.Animate.run.RunAnim.AnimationId =
"http://www.roblox.com/asset/?id=1083462077"
end
end)
SpeedBindxd:AddKeybind()
spawn(function()
runservice.Heartbeat:Connect(function()
if speedenablelolol == true then
player.Character.HumanoidRootPart.CFrame =
player.Character.HumanoidRootPart.CFrame + player.Character.Humanoid.MoveDirection
* SpeedValue
end
end)
end)
targewttstrafebind:AddKeybind()
if UserInputService:IsKeyDown(Enum.KeyCode.W) then
velocity = velocity +
(workspace.CurrentCamera.CoordinateFrame.lookVector * speed)
end
if UserInputService:IsKeyDown(Enum.KeyCode.A) then
velocity = velocity +
(workspace.CurrentCamera.CoordinateFrame.rightVector * -speed)
end
if UserInputService:IsKeyDown(Enum.KeyCode.S) then
velocity = velocity +
(workspace.CurrentCamera.CoordinateFrame.lookVector * -speed)
end
if UserInputService:IsKeyDown(Enum.KeyCode.D) then
velocity = velocity +
(workspace.CurrentCamera.CoordinateFrame.rightVector * speed)
end
player.Character.HumanoidRootPart.Velocity = velocity
player.Character.Humanoid:ChangeState("Freefall")
end)
end)
end)
elseif parameter == false and FlyLoop then
FlyLoop:Disconnect()
player.Character.Humanoid:ChangeState("Landing")
end
end)
FlightBindxdxd:AddKeybind()
spawn(function()
runservice.Heartbeat:Connect(function()
if targetstrafeenabled and target_aim.Aiming.Target.Enabled and
TargetAimEnabled then
aroundtarget(speedtargetlocks,distancetargetlol,heighttargetlol,AZURE_TmKALRSX)
end
end)
end)
AASec:AddButton("Force Reset",function()
for _,parts in pairs(player.Character:GetChildren()) do
if parts:IsA("BasePart") then
parts:Destroy()
end
end
end)
AABindLOL:AddKeybind()
AASec:AddLabel""
spawn(function()
heartbeat:Connect(function()
if player.Character.Humanoid.Health <= 10 then
AABindLOL:Set(false)
end
end)
end)
spawn(function()
local hrp, c, vel, movel = nil, nil, nil, 0.1
c = lp.Character
hrp = lp.Character.HumanoidRootPart
while true do
heartbeat:Wait()
while aaenabled and not (c and c.Parent and hrp and hrp.Parent) do
heartbeat:Wait()
c = lp.Character
hrp = lp.Character.HumanoidRootPart
end
if aaenabled and c and c.Parent and hrp and hrp.Parent and aamodex ==
"Custom" then
vel = hrp.Velocity
hrp.Velocity = vel*-0+v3(x_val,y_val,z_val)
renderstepped:Wait()
hrp.Velocity = vel
stepped:Wait()
if c and c.Parent and hrp and hrp.Parent then
hrp.Velocity = vel + v3(0, movel, 0)
movel = movel * -1
end
elseif aaenabled and c and c.Parent and hrp and hrp.Parent and aamodex ==
"Prediction Changer" then
vel = hrp.Velocity
hrp.Velocity = vel*Custom123+v3(0,0,0)
renderstepped:Wait()
hrp.Velocity = vel
stepped:Wait()
if c and c.Parent and hrp and hrp.Parent then
hrp.Velocity = vel + v3(0, movel, 0)
movel = movel * -1
end
elseif aaenabled and c and c.Parent and hrp and hrp.Parent and aamodex ==
"Prediction Disabler" then
vel = hrp.Velocity
hrp.Velocity = vel*-0+v3(-0,-0,-0)
renderstepped:Wait()
hrp.Velocity = vel
stepped:Wait()
if c and c.Parent and hrp and hrp.Parent then
hrp.Velocity = vel + v3(0, movel, 0)
movel = movel * -1
end
elseif aaenabled and c and c.Parent and hrp and hrp.Parent and aamodex ==
"Up" then
vel = hrp.Velocity
hrp.Velocity = vel*-0+v3(-0,10000000000000000000,-0)
renderstepped:Wait()
hrp.Velocity = vel
stepped:Wait()
if c and c.Parent and hrp and hrp.Parent then
hrp.Velocity = vel + v3(0, movel, 0)
movel = movel * -1
end
elseif aaenabled and c and c.Parent and hrp and hrp.Parent and aamodex ==
"Down" then
vel = hrp.Velocity
hrp.Velocity = vel*-0+v3(-0,-10000000000000000000,-0)
renderstepped:Wait()
hrp.Velocity = vel
stepped:Wait()
if c and c.Parent and hrp and hrp.Parent then
hrp.Velocity = vel + v3(0, movel, 0)
movel = movel * -1
end
elseif aaenabled and c and c.Parent and hrp and hrp.Parent and aamodex
== "AirOrthodox" then
vel = hrp.Velocity
hrp.Velocity = vel*1+v3(77,77,77)
renderstepped:Wait()
hrp.Velocity = vel
stepped:Wait()
if c and c.Parent and hrp and hrp.Parent then
hrp.Velocity = vel + v3(0, movel, 0)
movel = movel * -1
end
elseif aaenabled and c and c.Parent and hrp and hrp.Parent
and aamodex == "Prediction Multiplier" then
vel = hrp.Velocity
hrp.Velocity = vel*7+v3(0,0,0)
renderstepped:Wait()
hrp.Velocity = vel
stepped:Wait()
if c and c.Parent and hrp and hrp.Parent then
hrp.Velocity = vel + v3(0, movel, 0)
movel = movel * -1
end
elseif aaenabled and c and c.Parent and hrp and hrp.Parent and aamodex ==
"Spinbot Desync" then
vel = hrp.Velocity
hrp.Velocity = vel * 0 + v3(0,10000000000000000000,0)
renderstepped:Wait()
if c and c.Parent and hrp and hrp.Parent then
hrp.Velocity = vel
end
player.Character.HumanoidRootPart.CFrame =
player.Character.HumanoidRootPart.CFrame * CFrame.Angles(0, math.rad(DesyncAngles),
0)
end
end
end)
spawn(function()
runservice.Heartbeat:Connect(function()
if AutoJumpXDlOLOLOL == true and player.Character.Humanoid:GetState() ~=
Enum.HumanoidStateType.Freefall and
player.Character.Humanoid.MoveDirection.Magnitude > 0 then
player.Character.Humanoid:ChangeState("Jumping")
settotruexdxd:Set(true)
end
end)
end)
spawn(function()
runservice.Heartbeat:Connect(function()
if nn_nojumpcooldown then
player.Character.Humanoid.UseJumpPower = false
else
player.Character.Humanoid.UseJumpPower = true
end
end)
end)
spawn(function()
runservice.Heartbeat:Connect(function()
if nn_noslowdown then
local bodyeffectsBounderies =
player.Character.BodyEffects.Movement:FindFirstChild('NoJumping') or
player.Character.BodyEffects.Movement:FindFirstChild('ReduceWalk') or
player.Character.BodyEffects.Movement:FindFirstChild('NoWalkSpeed')
if bodyeffectsBounderies then
bodyeffectsBounderies:Destroy()
end
if player.Character.BodyEffects.Reload.Value == true then
player.Character.BodyEffects.Reload.Value = false
end
end
end)
end)
AimingLockSection:AddKeybind("Keybind",nil,function (val)
botbindlol = val
end)
spawn(function()
runservice.Stepped:Connect(function()
if AZURE_TmKALxRxSX.Character.Humanoid:GetState() ==
Enum.HumanoidStateType.Freefall then
aimbotpartxd = jumppartvaluesxd
else
aimbotpartxd = oldvallol
end
end)
end)
spawn(function()
uis.InputBegan:Connect(function (input)
if input.KeyCode == botbindlol then
AimbotBindEnabled = not AimbotBindEnabled
if AimbotBindEnabled then
AZURE_TmKALxRxSX = targetchosen()
end
end
end)
end)
TargetLockSection:AddToggle("Enabled", false, function(parameter)
target_aim.Aiming.Target.Enabled = parameter
end)
TargetLockSection:AddKeybind("Keybind",nil,function (val)
target_aim.Aiming.Target.Key = val
end)
spawn(function()
runservice.Stepped:Connect(function()
if AZURE_TmKALRSX.Character.Humanoid:GetState() ==
Enum.HumanoidStateType.Freefall then
target_aim.Aiming.Target.JumpOffset = OriginalOffsetXDZX
else
target_aim.Aiming.Target.JumpOffset = 0
end
end)
end)
spawn(function()
runservice.Stepped:Connect(function()
if target_aim.Aiming.Target.Enabled and viewatxd and TargetAimEnabled then
workspace.CurrentCamera.CameraSubject =
AZURE_TmKALRSX.Character.Humanoid
spawn(function()
if viewatxd == false then
workspace.CurrentCamera.CameraSubject =
player.Character.Humanoid
end
end)
else
workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
end
end)
end)
dotenabled:AddColorpicker(Color3.fromRGB(168,122,207), function(ztx)
colorxdlololxdxd = ztx
end)
highlighxdxdxd:AddColorpicker(Color3.fromRGB(168,122,207), function(ztx)
fillcolorxd = ztx
end)
highlighxdxdxd:AddColorpicker(Color3.fromRGB(88,65,108), function(ztx)
outlinecolorxdxdxd = ztx
end)
spawn(function()
runservice.Stepped:Connect(function()
if target_aim.Aiming.Target.Enabled and hightlightendalbed and
TargetAimEnabled then
highlight_instance.Parent = AZURE_TmKALRSX.Character
highlight_instance.FillColor = fillcolorxd
highlight_instance.OutlineColor = outlinecolorxdxdxd
spawn(function()
if hightlightendalbed == false then
highlight_instance.Parent = game.CoreGui
end
end)
else
highlight_instance.Parent = game.CoreGui
end
end)
end)
task.spawn(function ()
newBillboard.Name = "azure_billboarddot"
newBillboard.Adornee = DotParent
newBillboard.Size = UDim2.new(0.6, 0, 0.6, 0)
newBillboard.AlwaysOnTop = true
newFrame.Size = UDim2.new(1, 0, 1, 0)
newFrame.BackgroundTransparency = 0
newUiCornor.CornerRadius = UDim.new(50, 50)
DotParent.CanCollide = false
DotParent.Anchored = true
DotParent.CFrame = CFrame.new(0,2000,0)
DotParent.Transparency = 1
end)
spawn(function()
runservice.Stepped:Connect(function()
if target_aim.Aiming.Target.Enabled and dotenabledlol then
dotDrawing.Color = colorxdlololxdxd
newFrame.BackgroundColor3 = colorxdlololxdxd
if TargetAimEnabled and dotenabledlol then
DotParent.CFrame =
CFrame.new(AZURE_TmKALRSX.Character[target_aim.Aiming.Target.TargetPart].Position+V
ector3.new(0,target_aim.Aiming.Target.JumpOffset,0)+
(AZURE_TmKALRSX.Character[target_aim.Aiming.Target.TargetPart].Velocity*target_aim.
Aiming.Target.Prediction))
dotDrawing.Visible = false
else
DotParent.CFrame = CFrame.new(0,9999,0)
if dotoncursorx then
dotDrawing.Visible = true
dotDrawing.Position = Vector2.new(mouse.X,mouse.Y +
game:GetService("GuiService"):GetGuiInset().Y)
spawn(function()
if dotoncursorx == false then
dotDrawing.Visible = false
end
end)
end
spawn(function()
if dotoncursorx == false then
dotDrawing.Visible = false
end
end)
end
else
DotParent.CFrame = CFrame.new(0,9999,0)
dotDrawing.Visible = false
end
end)
end)
spawn(function()
runservice.Stepped:Connect(function()
if randomizatxionxd then
wait(0.6)
player_gayparts =
{"Head","UpperTorso","LowerTorso","HumanoidRootPart","RightUpperLeg","RightLowerLeg
","LeftUpperLeg","LeftLowerLeg","RightUpperArm","RightLowerArm","LeftLowerArm","Lef
tUpperArm"}
target_aim.Aiming.Target.TargetPart =
player_gayparts[math.random(1,#player_gayparts)]
else
target_aim.Aiming.Target.TargetPart = hit_partxd
end
end)
end)
spawn(function()
runservice.RenderStepped:Connect(function()
if AimbotBindEnabled and aimbotenab and SmoothingEnabLOLL == false then
local main_cframe = CFrame.new(workspace.CurrentCamera.CFrame.p,
AZURE_TmKALxRxSX.Character[aimbotpartxd].Position +
AZURE_TmKALxRxSX.Character[aimbotpartxd].Velocity/aimbotprediction)
workspace.CurrentCamera.CFrame =
workspace.CurrentCamera.CFrame:Lerp(main_cframe, 1,
Enum.EasingStyle[smoothingtypexd], Enum.EasingDirection[easingdirectionxdxlol])
elseif AimbotBindEnabled and aimbotenab and SmoothingEnabLOLL == true then
local main_cframe = CFrame.new(workspace.CurrentCamera.CFrame.p,
AZURE_TmKALxRxSX.Character[aimbotpartxd].Position +
AZURE_TmKALxRxSX.Character[aimbotpartxd].Velocity/aimbotprediction)
workspace.CurrentCamera.CFrame =
workspace.CurrentCamera.CFrame:Lerp(main_cframe, SmoothingValIg,
Enum.EasingStyle[smoothingtypexd], Enum.EasingDirection[easingdirectionxdxlol])
end
end)
end)
spawn(function()
runservice.RenderStepped:Connect(function()
if TargetAimEnabled and target_aim.Aiming.Target.Enabled and
AZURE_TmKALRSX.Character:FindFirstChild("UpperTorso") then
if target_aim.Aiming.Target.LookAt then
player.Character.HumanoidRootPart.CFrame =
CFrame.new(player.Character.HumanoidRootPart.CFrame.Position,
Vector3.new(AZURE_TmKALRSX.Character.HumanoidRootPart.CFrame.X,
player.Character.HumanoidRootPart.CFrame.Position.Y,
AZURE_TmKALRSX.Character.HumanoidRootPart.CFrame.Z))
player.Character.Humanoid.AutoRotate = false
spawn(function ()
if target_aim.Aiming.Target.LookAt == false then
player.Character.Humanoid.AutoRotate = true
end
end)
end
else
spawn(function()
player.Character.Humanoid.AutoRotate = true
end)
end
end)
end)
spawn(function()
uis.InputBegan:Connect(function (input)
if input.KeyCode == target_aim.Aiming.Target.Key and
target_aim.Aiming.Target.Enabled then
TargetAimEnabled = not TargetAimEnabled
if TargetAimEnabled then
AZURE_TmKALRSX = targetchosen()
if target_aim.Aiming.Target.Alerts then
Notify({
Title = "Azure [v."..Version.Value.."]",
Description = "Targeting:
" ..tostring(AZURE_TmKALRSX.Character.Humanoid.DisplayName),
Duration = 3
})
end
elseif not TargetAimEnabled then
if target_aim.Aiming.Target.Alerts then
Notify({
Title = "Azure ["..Version.Value.."]",
Description = "Untargeting:
" ..tostring(AZURE_TmKALRSX.Character.Humanoid.DisplayName),
Duration = 3
})
end
end
end
end)
end)
local mt = getrawmetatable(game)
local old = mt.__namecall
setreadonly(mt, false)
mt.__namecall = newcclosure(function(...)
local args = {...}
if target_aim.Aiming.Target.Enabled and TargetAimEnabled and
getnamecallmethod() == "FireServer" and args[2] == "UpdateMousePos" then
args[3] =
AZURE_TmKALRSX.Character[target_aim.Aiming.Target.TargetPart].Position+Vector3.new(
0.01,target_aim.Aiming.Target.JumpOffset,0.01)+
(AZURE_TmKALRSX.Character[target_aim.Aiming.Target.TargetPart].Velocity*target_aim.
Aiming.Target.Prediction)
return old(unpack(args))
end
return old(...)
end)
spawn(function()
Azure_TargetStats.Name = "Azure_TargetStats"
Azure_TargetStats.Parent = game.CoreGui
Azure_TargetStats.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Background.Name = "Background"
Background.Parent = Azure_TargetStats
Background.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Background.BorderSizePixel = 0
Background.Position = UDim2.new(0.388957828, 0, 0.700122297, 0)
Background.Size = UDim2.new(0, 358, 0, 71)
Background.Visible = false
Picture.Name = "Picture"
Picture.Parent = Background
Picture.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Picture.BorderSizePixel = 0
Picture.Position = UDim2.new(0.0279329624, 0, 0.0704225376, 0)
Picture.Size = UDim2.new(0, 59, 0, 59)
Picture.Transparency = 1
Picture.Image = "rbxasset://textures/ui/GuiImagePlaceholder.png"
Top.Name = "Top"
Top.Parent = Background
Top.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Top.BorderSizePixel = 0
Top.Position = UDim2.new(0, 0, -0.101449274, 0)
Top.Size = UDim2.new(0, 358, 0, 7)
UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00,
Color3.fromRGB(184, 159, 227)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(102,
88, 156))}
UIGradient.Rotation = 90
UIGradient.Parent = Top
UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00,
Color3.fromRGB(52, 52, 52)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0,
0))}
UIGradient_2.Rotation = 90
UIGradient_2.Parent = Background
HealthBarBackground.Name = "HealthBarBackground"
HealthBarBackground.Parent = Background
HealthBarBackground.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
HealthBarBackground.BorderSizePixel = 0
HealthBarBackground.Position = UDim2.new(0.215083793, 0, 0.348234326, 0)
HealthBarBackground.Size = UDim2.new(0, 270, 0, 19)
HealthBarBackground.Transparency = 1
UIGradient_3.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00,
Color3.fromRGB(58, 58, 58)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(30, 30,
30))}
UIGradient_3.Rotation = 90
UIGradient_3.Parent = HealthBarBackground
HealthBar.Name = "HealthBar"
HealthBar.Parent = HealthBarBackground
HealthBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
HealthBar.BorderSizePixel = 0
HealthBar.Position = UDim2.new(-0.00336122862, 0, 0.164894029, 0)
HealthBar.Size = UDim2.new(0, 130, 0, 19)
UIGradient_4.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00,
Color3.fromRGB(184, 159, 227)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(102,
88, 156))}
UIGradient_4.Rotation = 90
UIGradient_4.Parent = HealthBar
NameOfTarget.Name = "NameOfTarget"
NameOfTarget.Parent = Background
NameOfTarget.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
NameOfTarget.BackgroundTransparency = 1.000
NameOfTarget.Position = UDim2.new(0.220670387, 0, 0.0704225376, 0)
NameOfTarget.Size = UDim2.new(0, 268, 0, 19)
NameOfTarget.Font = Enum.Font.Code
NameOfTarget.TextColor3 = Color3.fromRGB(255, 255, 255)
NameOfTarget.TextScaled = true
NameOfTarget.TextSize = 14.000
NameOfTarget.TextStrokeTransparency = 0.000
NameOfTarget.TextWrapped = true
end)
spawn(function()
while wait() do
if target_aim.Aiming.Target.TargetStats and
target_aim.Aiming.Target.Enabled and TargetAimEnabled then
if AZURE_TmKALRSX and IsAlive(AZURE_TmKALRSX) then
Background.Visible = true
NameOfTarget.Text =
tostring(AZURE_TmKALRSX.Character.Humanoid.DisplayName).."
["..tostring(AZURE_TmKALRSX.Name).."]"
Picture.Image =
"rbxthumb://type=AvatarHeadShot&id=" ..AZURE_TmKALRSX.UserId.. "&w=420&h=420"
HealthBar:TweenSize(UDim2.new(AZURE_TmKALRSX.Character.Humanoid.Health /
AZURE_TmKALRSX.Character.Humanoid.MaxHealth, 0, 1, 0), "In", "Linear", 0.25)
spawn(function()
if target_aim.Aiming.Target.TargetStats == false then
Background.Visible = false
end
end)
end
else
Background.Visible = false
end
end
end)
function targetchosen()
local distance = math.huge
local zclosest
local LocalPlayer = game.Players.LocalPlayer
for i, v in pairs(game.Players:GetPlayers()) do
if v ~= LocalPlayer and v.Character and
v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and
v.Character:FindFirstChild("HumanoidRootPart") then
local pos =
workspace.CurrentCamera:WorldToViewportPoint(v.Character.PrimaryPart.Position)
local magnitude = (Vector2.new(pos.X, pos.Y) -
Vector2.new(LocalPlayer:GetMouse().X, LocalPlayer:GetMouse().Y)).magnitude
if magnitude < distance then
zclosest = v
distance = magnitude
end
end
end
return zclosest
end
regera = 0