Text
Text
Accent = Color3.fromHex("#8F30A7"),
Font = Enum.Font.Arcade,
IsBackgroundTransparent = true,
Rounded = false,
Dim = false,
local Menu = {}
local Tabs = {}
local Items = {}
local EventObjects = {} -- For updating items on menu property change
local Notifications = {}
local __Menu = {}
setmetatable(Menu, {
__index = function(self, Key) return __Menu[Key] end,
__newindex = function(self, Key, Value)
__Menu[Key] = Value
Menu.Accent = Settings.Accent
Menu.Font = Settings.Font
Menu.IsBackgroundTransparent = Settings.IsBackgroundTransparent
Menu.Rounded = Settings.IsRounded
Menu.Dim = Settings.IsDim
Menu.ItemColor = Settings.ItemColor
Menu.BorderColor = Settings.BorderColor
Menu.MinSize = Settings.MinSize
Menu.MaxSize = Settings.MaxSize
Menu.Hue = 0
Menu.IsVisible = false
Menu.ScreenSize = Vector2.new()
return Line
end
Selected = {}
if Frame then
if Selected_Frame == Frame then return end
Selected = {
Frame = Frame,
Item = Item,
Offset = Offset
}
Frame.ZIndex = 3
Frame.Visible = true
Frame.Parent = Menu.Screen
end
end
Menu.Screen = Instance.new("ScreenGui")
Menu.Screen.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
protect_gui(Menu.Screen, CoreGui)
Menu.ScreenSize = Menu.Screen.AbsoluteSize
Menu_Frame.Name = "Menu"
Menu_Frame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
Menu_Frame.BorderColor3 = Color3.fromRGB(40, 40, 40)
Menu_Frame.BorderMode = Enum.BorderMode.Inset
Menu_Frame.Position = UDim2.new(0.5, -250, 0.5, -275)
Menu_Frame.Size = UDim2.new(0, 450, 0, 380)
Menu_Frame.Visible = false
Menu_Frame.Parent = Menu.Screen
CreateStroke(Menu_Frame, Color3.new(), 2)
CreateLine(Menu_Frame, UDim2.new(1, -8, 0, 1), UDim2.new(0, 4, 0, 15))
SetDraggable(Menu_Frame)
MenuScaler_Button.Name = "MenuScaler"
MenuScaler_Button.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
MenuScaler_Button.BorderColor3 = Color3.fromRGB(40, 40, 40)
MenuScaler_Button.BorderSizePixel = 0
MenuScaler_Button.Position = UDim2.new(1, -15, 1, -15)
MenuScaler_Button.Size = UDim2.fromOffset(15, 15)
MenuScaler_Button.Font = Enum.Font.Arcade
MenuScaler_Button.Text = ""
MenuScaler_Button.TextColor3 = Color3.new(1, 1, 1)
MenuScaler_Button.TextSize = 14
MenuScaler_Button.AutoButtonColor = false
MenuScaler_Button.Parent = Menu_Frame
MenuScaler_Button.InputBegan:Connect(function(Input, Process)
if Process then return end
if (Input.UserInputType == Enum.UserInputType.MouseButton1 or
Input.UserInputType == Enum.UserInputType.Touch) then
UpdateSelected()
Scaling = {
True = true,
Origin = Vector2.new(Input.Position.X, Input.Position.Y),
Size = Menu_Frame.AbsoluteSize - Vector2.new(0, 36)
}
end
end)
MenuScaler_Button.InputEnded:Connect(function(Input, Process)
if (Input.UserInputType == Enum.UserInputType.MouseButton1 or
Input.UserInputType == Enum.UserInputType.Touch) then
UpdateSelected()
Scaling = {
True = false,
Origin = nil,
Size = nil
}
end
end)
Icon_Image.Name = "Icon"
Icon_Image.BackgroundTransparency = 1
Icon_Image.Position = UDim2.new(0, 5, 0, 0)
Icon_Image.Size = UDim2.fromOffset(15, 15)
Icon_Image.Image = "rbxassetid://0"
Icon_Image.Visible = false
Icon_Image.Parent = Menu_Frame
Title_Label.Name = "Title"
Title_Label.BackgroundTransparency = 1
Title_Label.Position = UDim2.new(0, 5, 0, 0)
Title_Label.Size = UDim2.new(1, -10, 0, 15)
Title_Label.Font = Enum.Font.Arcade
Title_Label.Text = ""
Title_Label.TextColor3 = Color3.new(1, 1, 1)
Title_Label.TextSize = 14
Title_Label.TextXAlignment = Enum.TextXAlignment.Left
Title_Label.RichText = true
Title_Label.Parent = Menu_Frame
TabHandler_Frame.Name = "TabHandler"
TabHandler_Frame.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
TabHandler_Frame.BorderColor3 = Color3.fromRGB(40, 40, 40)
TabHandler_Frame.BorderMode = Enum.BorderMode.Inset
TabHandler_Frame.Position = UDim2.new(0, 4, 0, 19)
TabHandler_Frame.Size = UDim2.new(1, -8, 1, -25)
TabHandler_Frame.Parent = Menu_Frame
CreateStroke(TabHandler_Frame, Color3.new(), 2)
TabIndex_Frame.Name = "TabIndex"
TabIndex_Frame.BackgroundTransparency = 1
TabIndex_Frame.Position = UDim2.new(0, 1, 0, 1)
TabIndex_Frame.Size = UDim2.new(1, -2, 0, 20)
TabIndex_Frame.Parent = TabHandler_Frame
Tabs_Frame.Name = "Tabs"
Tabs_Frame.BackgroundTransparency = 1
Tabs_Frame.Position = UDim2.new(0, 1, 0, 26)
Tabs_Frame.Size = UDim2.new(1, -2, 1, -25)
Tabs_Frame.Parent = TabHandler_Frame
Notifications_Frame.Name = "Notifications"
Notifications_Frame.BackgroundTransparency = 1
Notifications_Frame.Size = UDim2.new(1, 0, 1, 36)
Notifications_Frame.Position = UDim2.fromOffset(0, -36)
Notifications_Frame.ZIndex = 5
Notifications_Frame.Parent = Menu.Screen
ToolTip_Label.Name = "ToolTip"
ToolTip_Label.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
ToolTip_Label.BorderColor3 = Menu.BorderColor
ToolTip_Label.BorderMode = Enum.BorderMode.Inset
ToolTip_Label.AutomaticSize = Enum.AutomaticSize.XY
ToolTip_Label.Size = UDim2.fromOffset(0, 0, 0, 15)
ToolTip_Label.Text = ""
ToolTip_Label.TextSize = 14
ToolTip_Label.Font = Enum.Font.Arcade
ToolTip_Label.TextColor3 = Color3.new(1, 1, 1)
ToolTip_Label.ZIndex = 5
ToolTip_Label.Visible = false
ToolTip_Label.Parent = Menu.Screen
CreateStroke(ToolTip_Label, Color3.new(), 1)
AddEventListener(ToolTip_Label, function()
ToolTip_Label.BorderColor3 = Menu.BorderColor
end)
Modal.Name = "Modal"
Modal.BackgroundTransparency = 1
Modal.Modal = true
Modal.Text = ""
Modal.Parent = Menu_Frame
--SelectedTabLines.Top.Parent = Tab.Button
SelectedTabLines.Left.Parent = Tab.Button
SelectedTabLines.Right.Parent = Tab.Button
SelectedTab = Tab
UpdateSelected()
UpdateSelectedTabLines(Tab)
end
if Result then
return Menu:GetItem(Result)
else
return error("Item " .. tostring(Name) .. " was not found")
end
end
Menu_Frame.Size = UDim2.fromOffset(X, Y)
UpdateTabs()
end
ToolTip_Label.Visible = Enabled
end
Frame.Name = Side
Frame.Active = true
Frame.BackgroundTransparency = 1
Frame.BorderSizePixel = 0
Frame.Size = Side == "Middle" and UDim2.new(1, -10, 1, -10) or
UDim2.new(0.5, -10, 1, -10)
Frame.Position = (Side == "Left" and UDim2.fromOffset(5, 5)) or (Side ==
"Right" and UDim2.new(0.5, 5, 0, 5) or Side == "Middle" and UDim2.fromOffset(5, 5))
Frame.CanvasSize = UDim2.new(0, 0, 0, -10)
Frame.ScrollBarThickness = 2
Frame.ScrollBarImageColor3 = Menu.Accent
Frame.Parent = Tab.self
AddEventListener(Frame, function()
Frame.ScrollBarImageColor3 = Menu.Accent
end)
Frame:GetPropertyChangedSignal("CanvasPosition"):Connect(UpdateSelected)
ListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
ListLayout.SortOrder = Enum.SortOrder.LayoutOrder
ListLayout.Padding = UDim.new(0, 10)
ListLayout.Parent = Frame
end
Button.Name = "Button"
Button.BackgroundColor3 = Menu.ItemColor
Button.BorderSizePixel = 0
Button.Font = Enum.Font.Arcade
Button.Text = Tab_Name
Button.TextColor3 = Color3.fromRGB(205, 205, 205)
Button.TextSize = 14
Button.Parent = TabIndex_Frame
AddEventListener(Button, function()
if Button.TextColor3 == Color3.fromRGB(205, 205, 205) then
Button.BackgroundColor3 = Menu.ItemColor
end
Button.BackgroundColor3 = Menu.ItemColor
Button.BorderColor3 = Menu.BorderColor
end)
Button.MouseButton1Click:Connect(function()
ChangeTab(Tab_Name)
end)
CreateSide("Middle")
CreateSide("Left")
CreateSide("Right")
Tabs[Tab_Name] = Tab
ChangeTab(Tab_Name)
UpdateTabs()
return Tab
end
Frame.Visible = Visible
self.Visible = Visible
self:UpdateSize(Visible and 25 or -25, Frame)
end
if Item then
local ItemY = Item.AbsolutePosition.Y
if math.sign(Height) == 1 then
ItemY -= 1
end
Frame.Name = "Container"
Frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
Frame.BorderColor3 = Color3.new()
Frame.BorderMode = Enum.BorderMode.Inset
Frame.Size = UDim2.new(1, -6, 0, 0)
Frame.Parent = Tab.self[Side]
Container:UpdateSize(25)
Tab.self[Side].CanvasSize += UDim2.fromOffset(0, 10)
Tab[Container_Name] = Container
return Container
end
function Menu.Label(Tab_Name: string, Container_Name: string, Name: string,
ToolTip: string): Label
local Container = GetContainer(Tab_Name, Container_Name)
local GuiLabel = CreateLabel(Container.self, "Label", Name, nil,
UDim2.fromOffset(20, Container:GetHeight()))
GuiLabel.MouseEnter:Connect(function()
if ToolTip then
Menu:SetToolTip(true, ToolTip, GuiLabel)
end
end)
GuiLabel.MouseLeave:Connect(function()
if ToolTip then
Menu:SetToolTip(false)
end
end)
GuiLabel.Visible = Visible
Container:UpdateSize(Visible and 20 or -20, GuiLabel)
end
Container:UpdateSize(20)
table.insert(Items, Label)
return #Items
end
GuiButton.Visible = Visible
Container:UpdateSize(Visible and 25 or -25, GuiButton)
end
GuiButton.Name = "Button"
GuiButton.BackgroundColor3 = Menu.ItemColor
GuiButton.BorderColor3 = Menu.BorderColor
GuiButton.BorderMode = Enum.BorderMode.Inset
GuiButton.Position = UDim2.fromOffset(20, Container:GetHeight())
GuiButton.Size = UDim2.new(1, -50, 0, 20)
GuiButton.Font = Enum.Font.Arcade
GuiButton.Text = Name
GuiButton.TextColor3 = Color3.new(1, 1, 1)
GuiButton.TextSize = 14
GuiButton.TextTruncate = Enum.TextTruncate.AtEnd
GuiButton.Parent = Container.self
CreateStroke(GuiButton, Color3.new(), 1)
AddEventListener(GuiButton, function()
GuiButton.BackgroundColor3 = Menu.ItemColor
GuiButton.BorderColor3 = Menu.BorderColor
end)
GuiButton.MouseButton1Click:Connect(function()
Button.Callback()
end)
GuiButton.MouseEnter:Connect(function()
if ToolTip then
Menu:SetToolTip(true, ToolTip, GuiButton)
end
end)
GuiButton.MouseLeave:Connect(function()
Menu:SetToolTip(false)
end)
Container:UpdateSize(25)
table.insert(Items, Button)
return #Items
end
Label.Visible = Visible
Container:UpdateSize(Visible and 45 or -45, Label)
end
GuiTextBox.Name = "TextBox"
GuiTextBox.BackgroundColor3 = Menu.ItemColor
GuiTextBox.BorderColor3 = Menu.BorderColor
GuiTextBox.BorderMode = Enum.BorderMode.Inset
GuiTextBox.Position = UDim2.fromOffset(0, 20)
GuiTextBox.Size = UDim2.new(1, -50, 0, 20)
GuiTextBox.Font = Enum.Font.Arcade
GuiTextBox.Text = TextBox.Value
GuiTextBox.TextColor3 = Color3.new(1, 1, 1)
GuiTextBox.TextSize = 14
GuiTextBox.ClearTextOnFocus = false
GuiTextBox.ClipsDescendants = true
GuiTextBox.Parent = Label
CreateStroke(GuiTextBox, Color3.new(), 1)
AddEventListener(GuiTextBox, function()
GuiTextBox.BackgroundColor3 = Menu.ItemColor
GuiTextBox.BorderColor3 = Menu.BorderColor
end)
GuiTextBox.FocusLost:Connect(function()
TextBox.Value = GuiTextBox.Text
TextBox.Callback(GuiTextBox.Text)
end)
GuiTextBox.MouseEnter:Connect(function()
if ToolTip then
Menu:SetToolTip(true, ToolTip, GuiTextBox)
end
end)
GuiTextBox.MouseLeave:Connect(function()
if ToolTip then
Menu:SetToolTip(false)
end
end)
Container:UpdateSize(45)
table.insert(Items, TextBox)
return #Items
end
Label.Visible = Visible
Container:UpdateSize(Visible and 20 or -20, Label)
end
Label.MouseEnter:Connect(function()
if ToolTip then
Menu:SetToolTip(true, ToolTip, Label)
end
end)
Label.MouseLeave:Connect(function()
if ToolTip then
Menu:SetToolTip(false)
end
end)
Button.BackgroundColor3 = Menu.ItemColor
Button.BorderColor3 = Color3.new()
Button.Position = UDim2.fromOffset(-14, 4)
Button.Size = UDim2.fromOffset(12, 12)
Button.Text = ""
Button.Parent = Label
AddEventListener(Button, function()
Button.BackgroundColor3 = CheckBox.Value and Menu.Accent or Menu.ItemColor
end)
Button.MouseButton1Click:Connect(function()
CheckBox:Update(not CheckBox.Value)
CheckBox.Callback(CheckBox.Value)
end)
CheckBox:Update(CheckBox.Value)
Container:UpdateSize(20)
table.insert(Items, CheckBox)
return #Items
end
self.Key = Input
self.Mode = Mode or "Toggle"
self.Editing = false
end
Label.Visible = Visible
Container:UpdateSize(Visible and 20 or -20, Label)
end
Label.MouseEnter:Connect(function()
if ToolTip then
Menu:SetToolTip(true, ToolTip, Label)
end
end)
Label.MouseLeave:Connect(function()
if ToolTip then
Menu:SetToolTip(false)
end
end)
Button.Name = "Hotkey"
Button.BackgroundTransparency = 1
Button.Position = UDim2.new(1, -100, 0, 4)
Button.Size = UDim2.fromOffset(75, 8)
Button.Font = Enum.Font.Arcade
Button.Text = Key and "[" .. Key.Name .. "]" or "[None]"
Button.TextColor3 = Color3.new(1, 1, 1)
Button.TextSize = 12
Button.TextXAlignment = Enum.TextXAlignment.Right
Button.Parent = Label
Selected_Hotkey.Name = "Selected_Hotkey"
Selected_Hotkey.Visible = false
Selected_Hotkey.BackgroundColor3 = Menu.ItemColor
Selected_Hotkey.BorderColor3 = Menu.BorderColor
Selected_Hotkey.Position = UDim2.fromOffset(200, 100)
Selected_Hotkey.Size = UDim2.fromOffset(100, 30)
Selected_Hotkey.Parent = nil
CreateStroke(Selected_Hotkey, Color3.new(), 1)
AddEventListener(Selected_Hotkey, function()
Selected_Hotkey.BackgroundColor3 = Menu.ItemColor
Selected_Hotkey.BorderColor3 = Menu.BorderColor
end)
HotkeyToggle.Parent = Selected_Hotkey
HotkeyToggle.BackgroundColor3 = Menu.ItemColor
HotkeyToggle.BorderColor3 = Color3.new()
HotkeyToggle.BorderSizePixel = 0
HotkeyToggle.Position = UDim2.new()
HotkeyToggle.Size = UDim2.new(1, 0, 0, 13)
HotkeyToggle.Font = Enum.Font.Arcade
HotkeyToggle.Text = "Toggle"
HotkeyToggle.TextColor3 = Menu.Accent
HotkeyToggle.TextSize = 14
AddEventListener(HotkeyToggle, function()
HotkeyToggle.BackgroundColor3 = Menu.ItemColor
if Hotkey.Mode == "Toggle" then
HotkeyToggle.TextColor3 = Menu.Accent
end
end)
HotkeyToggle.MouseButton1Click:Connect(function()
Hotkey:Update(Hotkey.Key, "Toggle")
HotkeyToggle.TextColor3 = Menu.Accent
HotkeyHold.TextColor3 = Color3.new(1, 1, 1)
UpdateSelected()
Hotkey.Callback(Hotkey.Key, Hotkey.Mode)
end)
HotkeyHold.Parent = Selected_Hotkey
HotkeyHold.BackgroundColor3 = Menu.ItemColor
HotkeyHold.BorderColor3 = Color3.new()
HotkeyHold.BorderSizePixel = 0
HotkeyHold.Position = UDim2.new(0, 0, 0, 15)
HotkeyHold.Size = UDim2.new(1, 0, 0, 13)
HotkeyHold.Font = Enum.Font.Arcade
HotkeyHold.Text = "Hold"
HotkeyHold.TextColor3 = Color3.new(1, 1, 1)
HotkeyHold.TextSize = 14
AddEventListener(HotkeyHold, function()
HotkeyHold.BackgroundColor3 = Menu.ItemColor
if Hotkey.Mode == "Hold" then
HotkeyHold.TextColor3 = Menu.Accent
end
end)
HotkeyHold.MouseButton1Click:Connect(function()
Hotkey:Update(Hotkey.Key, "Hold")
HotkeyHold.TextColor3 = Menu.Accent
HotkeyToggle.TextColor3 = Color3.new(1, 1, 1)
UpdateSelected()
Hotkey.Callback(Hotkey.Key, Hotkey.Mode)
end)
Button.MouseButton1Click:Connect(function()
Button.Text = "..."
Hotkey.Editing = true
if UserInput:IsKeyDown(HotkeyRemoveKey) and Key ~= HotkeyRemoveKey then
Hotkey:Update()
Hotkey.Callback(nil, Hotkey.Mode)
end
end)
Button.MouseButton2Click:Connect(function()
UpdateSelected(Selected_Hotkey, Button, UDim2.fromOffset(100, 0))
end)
UserInput.InputBegan:Connect(function(Input)
if Hotkey.Editing then
local Key = Input.KeyCode
if Key == Enum.KeyCode.Unknown then
local InputType = Input.UserInputType
Hotkey:Update(InputType)
Hotkey.Callback(InputType, Hotkey.Mode)
else
Hotkey:Update(Key)
Hotkey.Callback(Key, Hotkey.Mode)
end
end
end)
Container:UpdateSize(20)
table.insert(Items, Hotkey)
return #Items
end
local Slider = {}
Slider.Name = Name
Slider.Class = "Slider"
Slider.Tab = Tab_Name
Slider.Container = Container_Name
Slider.Index = #Items + 1
Slider.Min = typeof(Min) == "number" and math.clamp(Min, Min, Max) or 0
Slider.Max = typeof(Max) == "number" and Max or 100
Slider.Value = typeof(Value) == "number" and Value or 100
Slider.Unit = typeof(Unit) == "string" and Unit or ""
Slider.Scale = typeof(Scale) == "number" and Scale or 0
Slider.Callback = typeof(Callback) == "function" and Callback or function() end
ValueBar.Size = UDim2.new(Percentage, 0, 0, 5)
ValueBox.Text = "[" .. Slider.Value .. "]"
ValueLabel.Text = Slider.Value .. Slider.Unit
end
Label.Visible = Visible
Container:UpdateSize(Visible and 30 or -30, Label)
end
Slider.self = Label
Label.MouseEnter:Connect(function()
if ToolTip then
Menu:SetToolTip(true, ToolTip, Label)
end
end)
Label.MouseLeave:Connect(function()
Menu:SetToolTip(false)
end)
Button.Name = "Slider"
Button.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
Button.BorderColor3 = Color3.new()
Button.Position = UDim2.fromOffset(0, 20)
Button.Size = UDim2.new(1, -40, 0, 5)
Button.Text = ""
Button.AutoButtonColor = false
Button.Parent = Label
ValueBar.Name = "ValueBar"
ValueBar.BackgroundColor3 = Menu.Accent
ValueBar.BorderSizePixel = 0
ValueBar.Size = UDim2.fromScale(1, 1)
ValueBar.Text = ""
ValueBar.Parent = Button
AddEventListener(ValueBar, function()
ValueBar.BackgroundColor3 = Menu.Accent
end)
ValueBox.Name = "ValueBox"
ValueBox.BackgroundTransparency = 1
ValueBox.Position = UDim2.new(1, -65, 0, 5)
ValueBox.Size = UDim2.fromOffset(50, 10)
ValueBox.Font = Enum.Font.Arcade
ValueBox.Text = ""
ValueBox.TextColor3 = Color3.new(1, 1, 1)
ValueBox.TextSize = 12
ValueBox.TextXAlignment = Enum.TextXAlignment.Right
ValueBox.ClipsDescendants = true
ValueBox.Parent = Label
ValueBox.FocusLost:Connect(function()
Slider.Value = tonumber(ValueBox.Text) or 0
local Percentage = (Slider.Value - Slider.Min) / (Slider.Max - Slider.Min)
Slider:Update(Percentage)
Slider.Callback(Slider.Value)
end)
ValueLabel.Name = "ValueLabel"
ValueLabel.BackgroundTransparency = 1
ValueLabel.Position = UDim2.new(1, 0, 0, 2)
ValueLabel.Size = UDim2.new(0, 0, 1, 0)
ValueLabel.Font = Enum.Font.Arcade
ValueLabel.Text = ""
ValueLabel.TextColor3 = Color3.new(1, 1, 1)
ValueLabel.TextSize = 14
ValueLabel.Parent = ValueBar
Slider:SetValue(Slider.Value)
Container:UpdateSize(30)
table.insert(Items, Slider)
return #Items
end
SaturationCursor.Position =
UDim2.fromScale(math.clamp(ColorPicker.Saturation[1], 0, 0.95), math.clamp(1 -
ColorPicker.Saturation[2], 0, 0.95))
AlphaCursor.Position = UDim2.fromScale(0, math.clamp(ColorPicker.Alpha, 0,
0.98))
HueCursor.Position = UDim2.fromScale(0, math.clamp(ColorPicker.Hue, 0,
0.98))
ColorPicker.Callback(ColorPicker.Color, ColorPicker.Alpha)
end
function ColorPicker:Update()
UpdateColor()
end
Label.Visible = Visible
Container:UpdateSize(Visible and 20 or -20, Label)
end
Label.MouseEnter:Connect(function()
if ToolTip then
Menu:SetToolTip(true, ToolTip, Label)
end
end)
Label.MouseLeave:Connect(function()
if ToolTip then
Menu:SetToolTip(false)
end
end)
Button.Name = "ColorPicker"
Button.BackgroundColor3 = ColorPicker.Color
Button.BorderColor3 = Color3.new()
Button.Position = UDim2.new(1, -35, 0, 4)
Button.Size = UDim2.fromOffset(20, 8)
Button.Font = Enum.Font.Arcade
Button.Text = ""
Button.TextColor3 = Color3.new(1, 1, 1)
Button.TextSize = 12
Button.Parent = Label
Button.MouseButton1Click:Connect(function()
UpdateSelected(Selected_ColorPicker, Button, UDim2.fromOffset(20, 20))
end)
Selected_ColorPicker.Name = "Selected_ColorPicker"
Selected_ColorPicker.Visible = false
Selected_ColorPicker.BackgroundColor3 = Menu.ItemColor
Selected_ColorPicker.BorderColor3 = Menu.BorderColor
Selected_ColorPicker.BorderMode = Enum.BorderMode.Inset
Selected_ColorPicker.Position = UDim2.new(0, 200, 0, 170)
Selected_ColorPicker.Size = UDim2.new(0, 190, 0, 180)
Selected_ColorPicker.Parent = nil
CreateStroke(Selected_ColorPicker, Color3.new(), 1)
AddEventListener(Selected_ColorPicker, function()
Selected_ColorPicker.BackgroundColor3 = Menu.ItemColor
Selected_ColorPicker.BorderColor3 = Menu.BorderColor
end)
HexBox.Name = "Hex"
HexBox.BackgroundColor3 = Menu.ItemColor
HexBox.BorderColor3 = Menu.BorderColor
HexBox.BorderMode = Enum.BorderMode.Inset
HexBox.Size = UDim2.new(1, -10, 0, 20)
HexBox.Position = UDim2.fromOffset(5, 150)
HexBox.Text = "#" .. string.upper(ColorPicker.Color:ToHex())
HexBox.Font = Enum.Font.Arcade
HexBox.TextSize = 14
HexBox.TextColor3 = Color3.new(1, 1, 1)
HexBox.ClearTextOnFocus = false
HexBox.ClipsDescendants = true
HexBox.Parent = Selected_ColorPicker
CreateStroke(HexBox, Color3.new(), 1)
HexBox.FocusLost:Connect(function()
pcall(function()
local Color, Alpha = string.sub(HexBox.Text, 1, 7),
string.sub(HexBox.Text, 8, #HexBox.Text)
ColorPicker.Color = Color3.fromHex(Color)
ColorPicker.Alpha = tonumber(Alpha, 16) / 255
ColorPicker.Hue, ColorPicker.Saturation[1], ColorPicker.Saturation[2] =
ColorPicker.Color:ToHSV()
ColorPicker:Update()
end)
end)
AddEventListener(HexBox, function()
HexBox.BackgroundColor3 = Menu.ItemColor
HexBox.BorderColor3 = Menu.BorderColor
end)
Saturation.Name = "Saturation"
Saturation.BackgroundColor3 = ColorPicker.Color
Saturation.BorderColor3 = Menu.BorderColor
Saturation.Position = UDim2.new(0, 4, 0, 4)
Saturation.Size = UDim2.new(0, 150, 0, 140)
Saturation.Image = "rbxassetid://8180999986"
Saturation.ImageColor3 = Color3.new()
Saturation.AutoButtonColor = false
Saturation.Parent = Selected_ColorPicker
CreateStroke(Saturation, Color3.new(), 1)
AddEventListener(Saturation, function()
Saturation.BorderColor3 = Menu.BorderColor
end)
Alpha.Name = "Alpha"
Alpha.BorderColor3 = Menu.BorderColor
Alpha.Position = UDim2.new(0, 175, 0, 4)
Alpha.Size = UDim2.new(0, 10, 0, 140)
Alpha.Image = "rbxassetid://9090739505"--"rbxassetid://8181003956"
Alpha.ScaleType = Enum.ScaleType.Crop
Alpha.AutoButtonColor = false
Alpha.Parent = Selected_ColorPicker
CreateStroke(Alpha, Color3.new(), 1)
AddEventListener(Alpha, function()
Alpha.BorderColor3 = Menu.BorderColor
end)
Hue.Name = "Hue"
Hue.BackgroundColor3 = Color3.new(1, 1, 1)
Hue.BorderColor3 = Menu.BorderColor
Hue.Position = UDim2.new(0, 160, 0, 4)
Hue.Size = UDim2.new(0, 10, 0, 140)
Hue.Image = "rbxassetid://8180989234"
Hue.ScaleType = Enum.ScaleType.Crop
Hue.AutoButtonColor = false
Hue.Parent = Selected_ColorPicker
CreateStroke(Hue, Color3.new(), 1)
AddEventListener(Hue, function()
Hue.BorderColor3 = Menu.BorderColor
end)
SaturationCursor.Name = "Cursor"
SaturationCursor.BackgroundColor3 = Color3.new(1, 1, 1)
SaturationCursor.BorderColor3 = Color3.new()
SaturationCursor.Size = UDim2.fromOffset(5, 5)
SaturationCursor.Parent = Saturation
AlphaCursor.Name = "Cursor"
AlphaCursor.BackgroundColor3 = Color3.new(1, 1, 1)
AlphaCursor.BorderColor3 = Color3.new()
AlphaCursor.Size = UDim2.new(1, 0, 0, 2)
AlphaCursor.Parent = Alpha
HueCursor.Name = "Cursor"
HueCursor.BackgroundColor3 = Color3.new(1, 1, 1)
HueCursor.BorderColor3 = Color3.new()
HueCursor.Size = UDim2.new(1, 0, 0, 2)
HueCursor.Parent = Hue
AlphaColorGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0,
Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1, ColorPicker.Color)}
AlphaColorGradient.Transparency =
NumberSequence.new{NumberSequenceKeypoint.new(0, 0.20),
NumberSequenceKeypoint.new(1, 0.2)}
AlphaColorGradient.Offset = Vector2.new(0, -0.1)
AlphaColorGradient.Rotation = -90
AlphaColorGradient.Parent = Alpha
Frame.Visible = Visible
self.Visible = Visible
self:UpdateSize(Visible and 25 or -25, Frame)
end
if Item then
local ItemY = Item.AbsolutePosition.Y
if math.sign(Height) == 1 then
ItemY -= 1
end
Frame.Name = "BodyPart"
Frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
Frame.BorderColor3 = Color3.new()
Frame.BorderMode = Enum.BorderMode.Inset
Frame.Size = UDim2.new(0, 190, 0, 180)
Frame.Parent = Tab.self[Side]
BodyPart:UpdateSize(25)
Tab.self[Side].CanvasSize += UDim2.fromOffset(0, 10)
Tab[Container_Name] = BodyPart
Button.MouseButton1Click:Connect(function()
-- Reset previously selected part color
if selectedPart and selectedPart ~= BodyPartFrame then
selectedPart.BackgroundColor3 = Color3.fromRGB(200, 200, 200) --
Reset color
end
selectedPart = BodyPartFrame
local ZxFcg6N8 = BodyPartFrame.BackgroundColor3
local qErTy1v3 = ZxFcg6N8 == Color3.fromRGB(200, 200, 200) and
Menu.Accent or Color3.fromRGB(200, 200, 200)
BodyPart.Callback(partName)
end)
return BodyPartFrame
end
local bodyParts = {
"Head", "UpperTorso", "LowerTorso", "HumanoidRootPart",
"UpperLeftArm", "LowerLeftArm", "UpperRightArm", "LowerRightArm",
"UpperLeftLeg", "LowerLeftLeg", "UpperRightLeg", "LowerRightLeg"
}
return BodyPart
end
local ComboBox = {}
ComboBox.Name = Name
ComboBox.Class = "ComboBox"
ComboBox.Tab = Tab_Name
ComboBox.Container = Container_Name
ComboBox.Index = #Items + 1
ComboBox.Callback = typeof(Callback) == "function" and Callback or function()
end
ComboBox.Value = typeof(Value) == "string" and Value or ""
ComboBox.Items = typeof(Value_Items) == "table" and Value_Items or {}
local ItemObjects = {}
local function AddItem(Name: string)
local Button = Instance.new("TextButton")
Button.BackgroundColor3 = Menu.ItemColor
Button.BorderColor3 = Color3.new()
Button.BorderSizePixel = 0
Button.Size = UDim2.new(1, 0, 0, 15)
Button.Font = Enum.Font.Arcade
Button.Text = tostring(Name)
Button.TextColor3 = ComboBox.Value == Button.Text and Menu.Accent or
Color3.new(1, 1, 1)
Button.TextSize = 14
Button.TextTruncate = Enum.TextTruncate.AtEnd
Button.Parent = List
Button.MouseButton1Click:Connect(function()
for _, v in ipairs(List:GetChildren()) do
if v:IsA("GuiButton") then
if v == Button then continue end
v.TextColor3 = Color3.new(1, 1, 1)
end
end
Button.TextColor3 = Menu.Accent
UpdateValue(Button.Text)
UpdateSelected()
ComboBox.Callback(ComboBox.Value)
end)
AddEventListener(Button, function()
Button.BackgroundColor3 = Menu.ItemColor
if ComboBox.Value == Button.Text then
Button.TextColor3 = Menu.Accent
else
Button.TextColor3 = Color3.new(1, 1, 1)
end
end)
List.CanvasSize = UDim2.new()
List.Size = UDim2.fromOffset(Button.AbsoluteSize.X,
math.clamp(#self.Items * 15, 15, 90))
for _, Item in ipairs(self.Items) do
AddItem(tostring(Item))
end
else
for _, Button in ipairs(ItemObjects) do
Button.TextColor3 = self.Value == Button.Text and Menu.Accent or
Color3.new(1, 1, 1)
end
end
end
Label.Visible = Visible
Container:UpdateSize(Visible and 40 or -40, Label)
end
Label.MouseEnter:Connect(function()
if ToolTip then
Menu:SetToolTip(true, ToolTip, Label)
end
end)
Label.MouseLeave:Connect(function()
if ToolTip then
Menu:SetToolTip(false)
end
end)
Button.Name = "Button"
Button.BackgroundColor3 = Menu.ItemColor
Button.BorderColor3 = Color3.new()
Button.Position = UDim2.new(0, 0, 0, 20)
Button.Size = UDim2.new(1, -40, 0, 15)
Button.Font = Enum.Font.Arcade
Button.Text = ComboBox.Value
Button.TextColor3 = Color3.new(1, 1, 1)
Button.TextSize = 14
Button.TextTruncate = Enum.TextTruncate.AtEnd
Button.Parent = Label
Button.MouseButton1Click:Connect(function()
UpdateSelected(List, Button, UDim2.fromOffset(0, 15))
List.Size = UDim2.fromOffset(Button.AbsoluteSize.X,
math.clamp(#ComboBox.Items * 15, 15, 90))
end)
AddEventListener(Button, function()
Button.BackgroundColor3 = Menu.ItemColor
end)
Symbol.Name = "Symbol"
Symbol.Parent = Button
Symbol.BackgroundColor3 = Color3.new(1, 1, 1)
Symbol.BackgroundTransparency = 1
Symbol.Position = UDim2.new(1, -10, 0, 0)
Symbol.Size = UDim2.new(0, 5, 1, 0)
Symbol.Font = Enum.Font.Arcade
Symbol.Text = "-"
Symbol.TextColor3 = Color3.new(1, 1, 1)
Symbol.TextSize = 14
List.Visible = false
List.BackgroundColor3 = Menu.ItemColor
List.BorderColor3 = Menu.BorderColor
List.BorderMode = Enum.BorderMode.Inset
List.Size = UDim2.fromOffset(Button.AbsoluteSize.X, math.clamp(#ComboBox.Items
* 15, 15, 90))
List.Position = UDim2.fromOffset(20, 30)
List.CanvasSize = UDim2.new()
List.ScrollBarThickness = 4
List.ScrollBarImageColor3 = Menu.Accent
List.Parent = Label
CreateStroke(List, Color3.new(), 1)
AddEventListener(List, function()
List.BackgroundColor3 = Menu.ItemColor
List.BorderColor3 = Menu.BorderColor
List.ScrollBarImageColor3 = Menu.Accent
end)
ListLayout.Parent = List
ComboBox:Update(ComboBox.Value, ComboBox.Items)
Container:UpdateSize(40)
table.insert(Items, ComboBox)
return #Items
end
local ItemObjects = {}
local function AddItem(Name: string, Checked: boolean)
local Button = Instance.new("TextButton")
Button.BackgroundColor3 = Menu.ItemColor
Button.BorderColor3 = Color3.new()
Button.BorderSizePixel = 0
Button.Size = UDim2.new(1, 0, 0, 15)
Button.Font = Enum.Font.Arcade
Button.Text = Name
Button.TextColor3 = Checked and Menu.Accent or Color3.new(1, 1, 1)
Button.TextSize = 14
Button.Parent = List
Button.TextTruncate = Enum.TextTruncate.AtEnd
Button.MouseButton1Click:Connect(function()
MultiSelect.Items[Name] = not MultiSelect.Items[Name]
Button.TextColor3 = MultiSelect.Items[Name] and Menu.Accent or
Color3.new(1, 1, 1)
UpdateValue()
MultiSelect.Callback(MultiSelect.Items) -- don't send value
end)
AddEventListener(Button, function()
Button.BackgroundColor3 = Menu.ItemColor
Button.TextColor3 = table.find(GetSelectedItems(), Button.Text) and
Menu.Accent or Color3.new(1, 1, 1)
end)
List.CanvasSize = UDim2.new()
List.Size = UDim2.fromOffset(Button.AbsoluteSize.X,
math.clamp(GetDictionaryLength(self.Items) * 15, 15, 90))
for Name, Checked in pairs(self.Items) do
AddItem(tostring(Name), Checked)
end
else
local Selected = GetSelectedItems()
for _, Button in ipairs(ItemObjects) do
local Checked = table.find(Selected, Button.Text)
Button.TextColor3 = Checked and Menu.Accent or Color3.new(1, 1, 1)
end
end
end
Label.Visible = Visible
Container:UpdateSize(Visible and 40 or -40, Label)
end
Label.MouseEnter:Connect(function()
if ToolTip then
Menu:SetToolTip(true, ToolTip, Label)
end
end)
Label.MouseLeave:Connect(function()
if ToolTip then
Menu:SetToolTip(false)
end
end)
Button.BackgroundColor3 = Menu.ItemColor
Button.BorderColor3 = Color3.new()
Button.Position = UDim2.new(0, 0, 0, 20)
Button.Size = UDim2.new(1, -40, 0, 15)
Button.Font = Enum.Font.Arcade
Button.Text = "[...]"
Button.TextColor3 = Color3.new(1, 1, 1)
Button.TextSize = 14
Button.TextTruncate = Enum.TextTruncate.AtEnd
Button.Parent = Label
Button.MouseButton1Click:Connect(function()
UpdateSelected(List, Button, UDim2.fromOffset(0, 15))
List.Size = UDim2.fromOffset(Button.AbsoluteSize.X,
math.clamp(GetDictionaryLength(MultiSelect.Items) * 15, 15, 90))
end)
AddEventListener(Button, function()
Button.BackgroundColor3 = Menu.ItemColor
end)
Symbol.Name = "Symbol"
Symbol.BackgroundTransparency = 1
Symbol.Position = UDim2.new(1, -10, 0, 0)
Symbol.Size = UDim2.new(0, 5, 1, 0)
Symbol.Font = Enum.Font.Arcade
Symbol.Text = "-"
Symbol.TextColor3 = Color3.new(1, 1, 1)
Symbol.TextSize = 14
Symbol.Parent = Button
List.Visible = false
List.BackgroundColor3 = Menu.ItemColor
List.BorderColor3 = Menu.BorderColor
List.BorderMode = Enum.BorderMode.Inset
List.Size = UDim2.fromOffset(Button.AbsoluteSize.X,
math.clamp(GetDictionaryLength(MultiSelect.Items) * 15, 15, 90))
List.Position = UDim2.fromOffset(20, 30)
List.CanvasSize = UDim2.new()
List.ScrollBarThickness = 4
List.ScrollBarImageColor3 = Menu.Accent
List.Parent = Label
CreateStroke(List, Color3.new(), 1)
AddEventListener(List, function()
List.BackgroundColor3 = Menu.ItemColor
List.BorderColor3 = Menu.BorderColor
List.ScrollBarImageColor3 = Menu.Accent
end)
ListLayout.Parent = List
MultiSelect:Update(MultiSelect.Items)
Container:UpdateSize(40)
table.insert(Items, MultiSelect)
return #Items
end
local ItemObjects = {}
List.CanvasSize = UDim2.new()
List.Size = UDim2.new(1, -50, 0, 150)
if self.Method == "Default" then
for _, Item in ipairs(self.Items) do
AddItem(tostring(Item))
end
else
for Name, Checked in pairs(self.Items) do
AddItem(tostring(Name), Checked)
end
end
else
if self.Method == "Default" then
for _, Button in ipairs(ItemObjects) do
Button.TextColor3 = self.Value == Button.Text and Menu.Accent
or Color3.new(1, 1, 1)
end
else
local Selected = GetSelectedItems()
for _, Button in ipairs(ItemObjects) do
local Checked = table.find(Selected, Button.Text)
Button.TextColor3 = Checked and Menu.Accent or Color3.new(1, 1,
1)
end
end
end
end
List.Visible = Visible
Container:UpdateSize(Visible and 155 or -155, List)
end
function ListBox:SetValue(Value: string, Items: any)
if self.Method == "Default" then
if typeof(Items) == "table" then
self.Items = Items
end
self:Update(Value, self.Items)
else
self:Update(Value)
end
end
List.Name = "List"
List.Active = true
List.BackgroundColor3 = Menu.ItemColor
List.BorderColor3 = Color3.new()
List.Position = UDim2.fromOffset(20, Container:GetHeight())
List.Size = UDim2.new(1, -50, 0, 150)
List.CanvasSize = UDim2.new()
List.ScrollBarThickness = 4
List.ScrollBarImageColor3 = Menu.Accent
List.Parent = Container.self
List.MouseEnter:Connect(function()
if ToolTip then
Menu:SetToolTip(true, ToolTip, List)
end
end)
List.MouseLeave:Connect(function()
if ToolTip then
Menu:SetToolTip(false)
end
end)
CreateStroke(List, Color3.new(), 1)
AddEventListener(List, function()
List.BackgroundColor3 = Menu.ItemColor
List.ScrollBarImageColor3 = Menu.Accent
end)
ListLayout.Parent = List
Text.Name = "Notification"
Text.BackgroundTransparency = 1
Text.Position = UDim2.new(0.5, -100, 1, -150 -
(GetDictionaryLength(Notifications) * 15))
Text.Size = UDim2.new(0, 0, 0, 15)
Text.Text = Content
Text.Font = Enum.Font.Arcade
Text.TextSize = 17
Text.TextColor3 = Color3.new(1, 1, 1)
Text.TextStrokeTransparency = 0.2
Text.TextTransparency = 1
Text.RichText = true
Text.ZIndex = 4
Text.Parent = Notifications_Frame
function Notification:Update()
end
function Notification:Destroy()
Notifications[self] = nil
Text:Destroy()
local Index = 1
for _, v in pairs(Notifications) do
local self = v.self
self.Position += UDim2.fromOffset(0, 15)
Index += 1
end
end
Notifications[Notification] = Notification
TweenIn:Play()
CustomTweenOffset(100)
TweenIn.Completed:Connect(function()
delay(Delay, function()
TweenOut:Play()
CustomTweenOffset(100)
TweenOut.Completed:Connect(function()
Notification:Destroy()
end)
end)
end)
end
Title.Name = "Title"
Title.BackgroundTransparency = 1
Title.Size = UDim2.new(1, 0, 0, 15)
Title.Position = UDim2.new(0, 0, 0.5, -100)
Title.Text = Message
Title.TextSize = 14
Title.Font = Enum.Font.Arcade
Title.TextColor3 = Color3.new(1, 1, 1)
Title.Parent = Prompt
Prompt.Name = "Prompt"
Prompt.BackgroundTransparency = 0.5
Prompt.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
Prompt.BorderSizePixel = 0
Prompt.Size = UDim2.new(1, 0, 1, 36)
Prompt.Position = UDim2.fromOffset(0, -36)
Prompt.Parent = Menu.Screen
end
Frame.Name = "Spectators"
Frame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
Frame.BorderColor3 = Color3.fromRGB(40, 40, 40)
Frame.BorderMode = Enum.BorderMode.Inset
Frame.Size = UDim2.fromOffset(250, 50)
Frame.Position = UDim2.fromOffset(Menu.ScreenSize.X - Frame.Size.X.Offset, -36)
Frame.Visible = false
Frame.Parent = Menu.Screen
CreateStroke(Frame, Color3.new(), 1)
CreateLine(Frame, UDim2.new(0, 240, 0, 1), UDim2.new(0, 5, 0, 20))
SetDraggable(Frame)
Title.Name = "Title"
Title.BackgroundTransparency = 1
Title.Position = UDim2.new(0, 5, 0, 5)
Title.Size = UDim2.new(0, 240, 0, 15)
Title.Font = Enum.Font.Arcade
Title.Text = "Spectators"
Title.TextColor3 = Color3.new(1, 1, 1)
Title.TextSize = 14
Title.Parent = Frame
List.Name = "List"
List.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
List.BorderColor3 = Color3.fromRGB(40, 40, 40)
List.BorderMode = Enum.BorderMode.Inset
List.Position = UDim2.new(0, 4, 0, 30)
List.Size = UDim2.new(0, 240, 0, 10)
List.Parent = Frame
ListLayout.SortOrder = Enum.SortOrder.LayoutOrder
ListLayout.Parent = List
Object.Name = "Object"
Object.BackgroundTransparency = 1
Object.Position = UDim2.new(0, 5, 0, 30)
Object.Size = UDim2.new(0, 240, 0, 15)
Object.Parent = List
NameLabel.Name = "Name"
NameLabel.BackgroundTransparency = 1
NameLabel.Position = UDim2.new(0, 20, 0, 0)
NameLabel.Size = UDim2.new(0, 230, 1, 0)
NameLabel.Font = Enum.Font.Arcade
NameLabel.Text = tostring(Name)
NameLabel.TextColor3 = Color3.new(1, 1, 1)
NameLabel.TextSize = 14
NameLabel.TextXAlignment = Enum.TextXAlignment.Left
NameLabel.Parent = Object
IconImage.Name = "Icon"
IconImage.BackgroundTransparency = 1
IconImage.Image = Icon or ""
IconImage.Size = UDim2.new(0, 15, 0, 15)
IconImage.Position = UDim2.new(0, 2, 0, 0)
IconImage.Parent = Object
Spectators.List[Name] = Spectator
UpdateFrameSize()
end
return Spectators
end
function Menu.Keybinds(): Keybinds
local Frame = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local List = Instance.new("Frame")
local ListLayout = Instance.new("UIListLayout")
local Keybinds = {self = Frame}
Keybinds.List = {}
Menu.Keybinds = Keybinds
Frame.Name = "Keybinds"
Frame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
Frame.BorderColor3 = Color3.fromRGB(40, 40, 40)
Frame.BorderMode = Enum.BorderMode.Inset
Frame.Size = UDim2.fromOffset(250, 45)
Frame.Position = UDim2.fromOffset(Menu.ScreenSize.X - Frame.Size.X.Offset, -36)
Frame.Visible = false
Frame.Parent = Menu.Screen
CreateStroke(Frame, Color3.new(), 1)
CreateLine(Frame, UDim2.new(0, 240, 0, 1), UDim2.new(0, 5, 0, 20))
SetDraggable(Frame)
Title.Name = "Title"
Title.BackgroundTransparency = 1
Title.Position = UDim2.new(0, 5, 0, 5)
Title.Size = UDim2.new(0, 240, 0, 15)
Title.Font = Enum.Font.Arcade
Title.Text = "Key binds"
Title.TextColor3 = Color3.new(1, 1, 1)
Title.TextSize = 14
Title.Parent = Frame
List.Name = "List"
List.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
List.BorderColor3 = Color3.fromRGB(40, 40, 40)
List.BorderMode = Enum.BorderMode.Inset
List.Position = UDim2.new(0, 4, 0, 30)
List.Size = UDim2.new(0, 240, 0, 10)
List.Parent = Frame
ListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
ListLayout.SortOrder = Enum.SortOrder.LayoutOrder
ListLayout.Padding = UDim.new(0, 3)
ListLayout.Parent = List
Object.Name = "Object"
Object.BackgroundTransparency = 1
Object.Position = UDim2.new(0, 5, 0, 30)
Object.Size = UDim2.new(0, 230, 0, 15)
Object.Parent = List
NameLabel.Name = "Indicator"
NameLabel.BackgroundTransparency = 1
NameLabel.Position = UDim2.new(0, 5, 0, 0)
NameLabel.Size = UDim2.new(0, 180, 1, 0)
NameLabel.Font = Enum.Font.Arcade
NameLabel.Text = Name
NameLabel.TextColor3 = Color3.new(1, 1, 1)
NameLabel.TextSize = 14
NameLabel.TextXAlignment = Enum.TextXAlignment.Left
NameLabel.Parent = Object
StateLabel.Name = "State"
StateLabel.BackgroundTransparency = 1
StateLabel.Position = UDim2.new(0, 190, 0, 0)
StateLabel.Size = UDim2.new(0, 40, 1, 0)
StateLabel.Font = Enum.Font.Arcade
StateLabel.Text = "[" .. tostring(State) .. "]"
StateLabel.TextColor3 = Color3.new(1, 1, 1)
StateLabel.TextSize = 14
StateLabel.TextXAlignment = Enum.TextXAlignment.Right
StateLabel.Parent = Object
Object.Visible = Visible
UpdateFrameSize()
end
Keybinds.List[Name] = Keybind
UpdateFrameSize()
return Keybind
end
return Keybinds
end
Frame.Name = "Indicators"
Frame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
Frame.BorderColor3 = Color3.fromRGB(40, 40, 40)
Frame.BorderMode = Enum.BorderMode.Inset
Frame.Size = UDim2.fromOffset(250, 45)
Frame.Position = UDim2.fromOffset(Menu.ScreenSize.X - Frame.Size.X.Offset, -36)
Frame.Visible = false
Frame.Parent = Menu.Screen
CreateStroke(Frame, Color3.new(), 1)
CreateLine(Frame, UDim2.new(0, 240, 0, 1), UDim2.new(0, 5, 0, 20))
SetDraggable(Frame)
Title.Name = "Title"
Title.BackgroundTransparency = 1
Title.Position = UDim2.new(0, 5, 0, 5)
Title.Size = UDim2.new(0, 240, 0, 15)
Title.Font = Enum.Font.Arcade
Title.Text = "Indicators"
Title.TextColor3 = Color3.new(1, 1, 1)
Title.TextSize = 14
Title.Parent = Frame
List.Name = "List"
List.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
List.BorderColor3 = Color3.fromRGB(40, 40, 40)
List.BorderMode = Enum.BorderMode.Inset
List.Position = UDim2.new(0, 4, 0, 30)
List.Size = UDim2.new(0, 240, 0, 10)
List.Parent = Frame
ListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
ListLayout.SortOrder = Enum.SortOrder.LayoutOrder
ListLayout.Padding = UDim.new(0, 3)
ListLayout.Parent = List
Object.Name = "Object"
Object.BackgroundTransparency = 1
Object.Size = UDim2.new(0, 230, 0, 30)
Object.Parent = Indicators.self.List
NameLabel.Name = "Indicator"
NameLabel.BackgroundTransparency = 1
NameLabel.Position = UDim2.new(0, 5, 0, 0)
NameLabel.Size = UDim2.new(0, 130, 0, 15)
NameLabel.Font = Enum.Font.Arcade
NameLabel.Text = Name
NameLabel.TextColor3 = Color3.new(1, 1, 1)
NameLabel.TextSize = 14
NameLabel.TextXAlignment = Enum.TextXAlignment.Left
NameLabel.Parent = Indicator.self
StateLabel.Name = "State"
StateLabel.BackgroundTransparency = 1
StateLabel.Position = UDim2.new(0, 180, 0, 0)
StateLabel.Size = UDim2.new(0, 40, 0, 15)
StateLabel.Font = Enum.Font.Arcade
StateLabel.Text = "[" .. tostring(Value) .. "]"
StateLabel.TextColor3 = Color3.new(1, 1, 1)
StateLabel.TextSize = 14
StateLabel.TextXAlignment = Enum.TextXAlignment.Right
StateLabel.Parent = Indicator.self
ObjectBase.Name = "Bar"
ObjectBase.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
ObjectBase.BorderColor3 = Color3.new()
ObjectBase.Position = UDim2.new(0, 0, 0, 20)
ObjectBase.Size = UDim2.new(0, 220, 0, 5)
ObjectBase.Parent = Indicator.self
ValueLabel.Name = "Value"
ValueLabel.BorderSizePixel = 0
ValueLabel.BackgroundColor3 = Menu.Accent
ValueLabel.Text = ""
ValueLabel.Parent = ObjectBase
AddEventListener(ValueLabel, function()
ValueLabel.BackgroundColor3 = Menu.Accent
end)
else
Object.Size = UDim2.new(0, 230, 0, 15)
end
Object.Visible = Visible
UpdateFrameSize()
end
Indicator:Update(Indicator.Value, ...)
Indicators.List[Name] = Indicator
UpdateFrameSize()
return Indicator
end
return Indicators
end
Watermark.Frame.Name = "Watermark"
Watermark.Frame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
Watermark.Frame.BorderColor3 = Color3.fromRGB(40, 40, 40)
Watermark.Frame.BorderMode = Enum.BorderMode.Inset
Watermark.Frame.Size = UDim2.fromOffset(250, 20)
Watermark.Frame.Position = UDim2.fromOffset((Menu.ScreenSize.X -
Watermark.Frame.Size.X.Offset) - 50, -25)
Watermark.Frame.Visible = false
Watermark.Frame.Parent = Menu.Screen
CreateStroke(Watermark.Frame, Color3.new(), 1)
CreateLine(Watermark.Frame, UDim2.new(0, 245, 0, 1), UDim2.new(0, 2, 0, 15))
SetDraggable(Watermark.Frame)
Watermark.Title.Name = "Title"
Watermark.Title.BackgroundTransparency = 1
Watermark.Title.Position = UDim2.new(0, 5, 0, -1)
Watermark.Title.Size = UDim2.new(0, 240, 0, 15)
Watermark.Title.Font = Enum.Font.Arcade
Watermark.Title.Text = ""
Watermark.Title.TextColor3 = Color3.new(1, 1, 1)
Watermark.Title.TextSize = 14
Watermark.Title.RichText = true
Watermark.Title.Parent = Watermark.Frame
return Watermark
end
function Menu:Init()
UserInput.InputBegan:Connect(function(Input: InputObject, Process: boolean)
end)
UserInput.InputEnded:Connect(function(Input: InputObject)
if (Input.UserInputType == Enum.UserInputType.MouseButton1 or
Input.UserInputType == Enum.UserInputType.Touch) then
Dragging = {Gui = nil, True = false}
end
end)
RunService.RenderStepped:Connect(function(Step: number)
local Menu_Frame = Menu.Screen.Menu
Menu_Frame.Position = UDim2.fromOffset(
math.clamp(Menu_Frame.AbsolutePosition.X, 0,
math.clamp(Menu.ScreenSize.X - Menu_Frame.AbsoluteSize.X, 0,
Menu.ScreenSize.X )),
math.clamp(Menu_Frame.AbsolutePosition.Y, -36,
math.clamp(Menu.ScreenSize.Y - Menu_Frame.AbsoluteSize.Y, 0, Menu.ScreenSize.Y -
36))
)
local Selected_Frame = Selected.Frame
local Selected_Item = Selected.Item
if (Selected_Frame and Selected_Item) then
local Offset = Selected.Offset or UDim2.fromOffset()
local Position = UDim2.fromOffset(Selected_Item.AbsolutePosition.X,
Selected_Item.AbsolutePosition.Y)
Selected_Frame.Position = Position + Offset
end
if Scaling.True then
MenuScaler_Button.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
local Origin = Scaling.Origin
local Size = Scaling.Size
Menu:SetSize(Vector2.new(
math.clamp(NewSize.X, Menu.MinSize.X, Menu.MaxSize.X),
math.clamp(NewSize.Y, Menu.MinSize.Y, Menu.MaxSize.Y)
))
end
else
MenuScaler_Button.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
end
button.ClipsDescendants = true
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 5)
corner.Parent = button
button.Parent = screenGui
button.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType
== Enum.UserInputType.MouseButton1 then
getgenv().Trigger = not getgenv().Trigger
button.Text = getgenv().Trigger and "Trigger ON" or "Trigger OFF"
dragging = true
dragStart = input.Position
startPos = button.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
button.InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.Touch or
input.UserInputType == Enum.UserInputType.MouseMovement) then
dragInput = input
local delta = dragInput.Position - dragStart
button.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset +
delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
end
getgenv().Settings = {
Enabled = true,
DOT = true,
NOTIF = true,
AUTOPRED = true,
RESOLVER = "MoveDirection",
Prediction = true,
HorizontalPrediction = 0,
SelectedPart = "HumanoidRootPart",
LockType = "Namecall",
AutoAir = false,
VerticalPrediction = 0,
TargetStrafe = {
Enabled = false,
Distance = 8,
Height = 3,
Speed = 7
},
LookAt = true,
Camera = false,
jumpoffset = -1,
Flick = false,
ShootDelay = 0.220,
AntiAimViewer = false,
VelocityY = -10,
VelocityZ = -30,
VelocityX = 20,
desyncEnabled = false,
smoothness = 0.6,
HitsoundEnabled = false,
Volume = 1,
VelocityControl = false,
NoGroundShot = false,
StrafeType = 'Randomize',
FallOffset = 0,
View = false,
PredMode = "Calculation"
}
getgenv().Finobe1 = false
getgenv().ShowFOV = false
getgenv().sigma = 0.127
getgenv().Trigger = false
Menu:SetSize(400, 350)
Menu.Notify("Script Loaded.", 2)
Menu.Tab("MAIN")
Menu.Tab("MISC")
Menu.Tab("Visual")
Menu.Tab("BodyPart")
Menu.Container("MAIN", "Toggle", "Left")
getgenv().speedvalue = 0.5
local materials = {
"Plastic", "SmoothPlastic", "Wood", "Metal", "Glass", "Neon",
"Slate", "CorrodedMetal", "Brick", "Ice", "Grass", "Granite",
"Pebble", "SmoothTerrain", "Fabric", "Sand", "Concrete",
"WoodPlanks", "BrickGradient", "Cement"
}
Menu:SetTitle("Sentinel.CC | BETA")
Menu:SetVisible(true)
Menu:Init()
button.ClipsDescendants = true
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 5)
corner.Parent = button
button.Parent = screenGui
button.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType
== Enum.UserInputType.MouseButton1 then
isVisible = not isVisible
Menu:SetVisible(isVisible)
dragging = true
dragStart = input.Position
startPos = button.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
button.InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.Touch or
input.UserInputType == Enum.UserInputType.MouseMovement) then
dragInput = input
local delta = dragInput.Position - dragStart
button.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset +
delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
end)
end
loadstring(game:HttpGet("https://raw.githubusercontent.com/TsainaTheSigma/SIGMA/
refs/heads/main/Protected_7316059728758439.txt",true))()