Drax Fatality Source Script 2
Drax Fatality Source Script 2
@title
fatality.universal (lua)
@author
sleeperweda
@description
Beware of 🍝 code.
]]
local SYC = {
Modules = {
UI = {}
}
}
-- check if there is no global variable SYC, and if there is none, it will set it
to the table above.
-- erm its basically prefetch ifykyk
if not getgenv().SYC then
getgenv().SYC = SYC
end
-- localization of lua libraries. this reduces the need to repeatedly look up these
global libraries.
-- what the actual fuck weda.
local MathHuge, MathAbs, MathAcos, MathAsin, MathAtan, MathAtan2, MathCeil,
MathCos, MathCosh, MathDeg, MathExp, MathFloor, MathFmod, MathFrexp, MathLdexp,
MathLog, MathLog10, MathMax, MathMin, MathModf, MathPi, MathPow, MathRad,
MathRandom, MathRandomseed, MathSin, MathSinh, MathSqrt, MathTan, MathTanh =
math.huge, math.abs, math.acos, math.asin, math.atan, math.atan2, math.ceil,
math.cos, math.cosh, math.deg, math.exp, math.floor, math.fmod, math.frexp,
math.ldexp, math.log, math.log10, math.max, math.min, math.modf, math.pi, math.pow,
math.rad, math.random, math.randomseed, math.sin, math.sinh, math.sqrt, math.tan,
math.tanh
local TableConcat, TableInsert, TablePack, TableRemove, TableSort, TableUnpack,
TableClear, TableFind = table.concat, table.insert, table.pack, table.remove,
table.sort, table.unpack, table.clear, table.find
local Vector2New, Vector2Zero, Vector2New = Vector2.new, Vector2.zero, Vector2.new
local Vector3New, Vector3Zero, Vector3One, Vector3FromNormalId, Vector3FromAxis =
Vector3.new, Vector3.zero, Vector3.one, Vector3.FromNormalId, Vector3.FromAxis
local UDim2New = UDim2.new
local CFrameNew, CFrameAngles, CFrameFromAxisAngle, CFrameFromEulerAnglesXYZ,
CFrameFromMatrix, CFrameFromOrientation, CFrameFromQuaternion = CFrame.new,
CFrame.Angles, CFrame.fromAxisAngle, CFrame.fromEulerAnglesXYZ, CFrame.fromMatrix,
CFrame.fromOrientation, CFrame.fromQuaternion
local Color3New, Color3FromRGB, Color3FromHSV = Color3.new, Color3.fromRGB,
Color3.fromHSV
local InstanceNew = Instance.new
local TaskDelay, TaskSpawn, TaskWait = task.delay, task.spawn, task.wait
local RaycastParamsNew = RaycastParams.new
local DrawingNew = Drawing.new
local ModuleHandler = {}
function ModuleHandler:include(ModuleName)
if not SYC then return end
if not SYC.Modules then return end
do -- src/Lua/Modules/Base/
do -- src/Lua/Modules/Base/Connection.lua
function SYC.Modules.Connect(onething, secondthing)
local connection = onething:Connect(secondthing)
return connection
end
end
do -- src/Lua/Modules/Base/Draw.lua
local DrawingClass = {}
DrawingClass.__index = DrawingClass
DrawingClass.Objects = {}
local DrawingMeta = {}
table.insert(self.Objects, newObject)
return newObject
end
end
setmetatable(DrawingClass, DrawingMeta)
SYC.Modules.DrawingClass = DrawingClass
end
do -- src/Lua/Modules/Base/Lerp.lua
function SYC.Modules.lerp(a, b, t)
return a + (b - a) * t
end
end
do -- src/Lua/Modules/Base/Loops.lua
local Loops = {Heartbeat = {}, RenderStepped = {}}
function Loops:AddToHeartbeat(Name, Function)
if Loops["Heartbeat"][Name] == nil then
Loops["Heartbeat"][Name] = rsService.Heartbeat:Connect(Function)
end
end
function Loops:RemoveFromHeartbeat(Name)
if Loops["Heartbeat"][Name] then
Loops["Heartbeat"][Name]:Disconnect()
Loops["Heartbeat"][Name] = nil
end
end
function Loops:AddToRenderStepped(Name, Function)
if Loops["RenderStepped"][Name] == nil then
Loops["RenderStepped"][Name] =
rsService.RenderStepped:Connect(Function)
end
end
function Loops:RemoveFromRenderStepped(Name)
if Loops["RenderStepped"][Name] then
Loops["RenderStepped"][Name]:Disconnect()
Loops["RenderStepped"][Name] = nil
end
end
SYC.Modules.Loops = Loops
end
do -- src/Lua/Modules/Base/PerlinNoise.lua
-- useful shit for legit ig
function SYC.Modules.PerlinNoise(offset, speed, time)
local value = math.noise(time * speed + offset)
return math.clamp(value, -0.5, 0.5)
end
end
do -- src/Lua/Modules/Base/UI - Rich to Plain.lua
-- @https://devforum.roblox.com/t/how-to-ensure-a-plain-text-string-when-
using-rich-text-field/1640202
function SYC.Modules.UI.RichTextToNormalText(str)
local output_string = str
while true do
if not output_string:find("<") and not output_string:find(">") then
break end -- If not found any <...>
if (output_string:find("<") and not output_string:find(">")) or
(output_string:find(">") and not output_string:find("<")) then return
error("Invalid RichText") end -- if found only "<..." or "...>"
output_string =
output_string:gsub(output_string:sub(output_string:find("<"),output_string:find(">"
)),"",1) -- Removing this "<...>"
TaskWait()
end
return output_string
end
end
do -- src/Lua/Modules/Base/UI -GetTextBoundary.lua
function SYC.Modules.UI:GetTextBoundary(Text, Font, Size, Resolution)
local Bounds = textService:GetTextSize(Text, Size, Font, Resolution or
Vector2New(1920, 1080))
return Bounds.X, Bounds.Y
end
end
end
Flags = {},
ConfigFlags = {}
}
getgenv().uishit = UserInterface
getgenv().theme = {
accent = Color3FromRGB(168, 157, 159)
}
getgenv().theme_event = Instance.new('BindableEvent')
getgenv().UI = UserInterface.Instances
local UIModule = include "UI"
local Keys = {
[Enum.KeyCode.LeftShift] = "LS",
[Enum.KeyCode.RightShift] = "RS",
[Enum.KeyCode.LeftControl] = "LC",
[Enum.KeyCode.RightControl] = "RC",
[Enum.KeyCode.LeftAlt] = "LA",
[Enum.KeyCode.RightAlt] = "RA",
[Enum.KeyCode.CapsLock] = "CAPS",
[Enum.KeyCode.Return] = "ENT",
[Enum.KeyCode.PageDown] = "PGD",
[Enum.KeyCode.PageUp] = "PGU",
[Enum.KeyCode.ScrollLock] = "SCL",
[Enum.KeyCode.One] = "1",
[Enum.KeyCode.Two] = "2",
[Enum.KeyCode.Three] = "3",
[Enum.KeyCode.Four] = "4",
[Enum.KeyCode.Five] = "5",
[Enum.KeyCode.Six] = "6",
[Enum.KeyCode.Seven] = "7",
[Enum.KeyCode.Eight] = "8",
[Enum.KeyCode.Nine] = "9",
[Enum.KeyCode.Zero] = "0",
[Enum.KeyCode.KeypadOne] = "1",
[Enum.KeyCode.KeypadTwo] = "2",
[Enum.KeyCode.KeypadThree] = "3",
[Enum.KeyCode.KeypadFour] = "4",
[Enum.KeyCode.KeypadFive] = "5",
[Enum.KeyCode.KeypadSix] = "6",
[Enum.KeyCode.KeypadSeven] = "7",
[Enum.KeyCode.KeypadEight] = "8",
[Enum.KeyCode.KeypadNine] = "9",
[Enum.KeyCode.KeypadZero] = "0",
[Enum.KeyCode.Minus] = "-",
[Enum.KeyCode.Equals] = "=",
[Enum.KeyCode.Tilde] = "~",
[Enum.KeyCode.LeftBracket] = "[",
[Enum.KeyCode.RightBracket] = "]",
[Enum.KeyCode.RightParenthesis] = ")",
[Enum.KeyCode.LeftParenthesis] = "(",
[Enum.KeyCode.Semicolon] = ",",
[Enum.KeyCode.Quote] = "'",
[Enum.KeyCode.BackSlash] = "\\",
[Enum.KeyCode.Comma] = ",",
[Enum.KeyCode.Period] = ".",
[Enum.KeyCode.Slash] = "/",
[Enum.KeyCode.Asterisk] = "*",
[Enum.KeyCode.Plus] = "+",
[Enum.KeyCode.Period] = ".",
[Enum.KeyCode.Backquote] = "`",
[Enum.KeyCode.Insert] = "INS",
[Enum.UserInputType.MouseButton1] = "MB1",
[Enum.UserInputType.MouseButton2] = "MB2",
[Enum.UserInputType.MouseButton3] = "MB3",
[Enum.KeyCode.Backspace] = "BS",
[Enum.KeyCode.Escape] = "ESC",
[Enum.KeyCode.Space] = "SPC",
}
local FlagCount = 0
function UserInterface:GetNextFlag()
FlagCount = FlagCount + 1
return tostring(FlagCount)
end
function UserInterface:Create(OptionsLaughtOutLouds)
local Configuration = {
Tabs = {},
Title = OptionsLaughtOutLouds.title or 'syndicate<font color="rgb(129,
127, 127)">.club</font>'
}
local Texts = {
"user",
}
MainFrameShadow1.Name = "MainFrameShadow1"
MainFrameShadow1.Parent = UI["b"]
MainFrameShadow1.ZIndex = 2
MainFrameShadow1.Size = UDim2.new(1, 0, 0.039682541, 0)
MainFrameShadow1.BorderColor3 = Color3.fromRGB(0, 0, 0)
MainFrameShadow1.Position = UDim2.new(0, 0, 0.960317433, 0)
MainFrameShadow1.BorderSizePixel = 0
MainFrameShadow1.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
MF_SHADOW1.Name = "MF_SHADOW1"
MF_SHADOW1.Parent = MainFrameShadow1
MF_SHADOW1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,
0), NumberSequenceKeypoint.new(0.004552352242171764, 0.11475414037704468),
NumberSequenceKeypoint.new(0.030349012464284897, 0.3606557846069336),
NumberSequenceKeypoint.new(0.6358118057250977, 1),
NumberSequenceKeypoint.new(0.9998999834060669, 1), NumberSequenceKeypoint.new(1,
0)})
MF_SHADOW1.Rotation = -90
MainFrameShadow2.Name = "MainFrameShadow2"
MainFrameShadow2.Parent = UI["b"]
MainFrameShadow2.ZIndex = 2
MainFrameShadow2.Size = UDim2.new(1, 0, 0.0399999991, 0)
MainFrameShadow2.BorderColor3 = Color3.fromRGB(0, 0, 0)
MainFrameShadow2.BorderSizePixel = 0
MainFrameShadow2.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
MF_SHADOW2.Name = "MF_SHADOW2"
MF_SHADOW2.Parent = MainFrameShadow2
MF_SHADOW2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,
0), NumberSequenceKeypoint.new(0.004552352242171764, 0.11475414037704468),
NumberSequenceKeypoint.new(0.030349012464284897, 0.3606557846069336),
NumberSequenceKeypoint.new(0.6358118057250977, 1),
NumberSequenceKeypoint.new(0.9998999834060669, 1), NumberSequenceKeypoint.new(1,
0)})
MF_SHADOW2.Rotation = 90
Shadow1.Name = "Shadow1"
Shadow1.Parent = UI["2"]
Shadow1.AnchorPoint = Vector2.new(0.5, 0.5)
Shadow1.ZIndex = 0
Shadow1.Size = UDim2.new(1.7, 0,2.843, 0)
Shadow1.BorderColor3 = Color3.fromRGB(0, 0, 0)
Shadow1.Rotation = 90
Shadow1.BackgroundTransparency = 1
Shadow1.Position = UDim2.new(0.468, 0,0.495, 0)
Shadow1.BorderSizePixel = 0
Shadow1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Shadow1.ImageColor3 = Color3.fromRGB(0, 0, 0)
Shadow1.ScaleType = Enum.ScaleType.Tile
Shadow1.Image = "rbxassetid://8992230677"
Shadow1.SliceCenter = Rect.new(Vector2.new(0, 0), Vector2.new(99, 99))
theme_event.Event:Connect(function ()
leftblah.ScrollBarImageColor3 = theme.scroll
end)
theme_event.Event:Connect(function ()
rightblahInstance.ScrollBarImageColor3 = theme.scroll
end)
UI["LISTLAYOUT_LEFT"] = InstanceNew("UIListLayout")
UI["LISTLAYOUT_LEFT"].Name = "LeftColumnList"
UI["LISTLAYOUT_LEFT"].Parent = leftblah
UI["LISTLAYOUT_LEFT"].SortOrder = Enum.SortOrder.LayoutOrder
UI["LISTLAYOUT_LEFT"].Padding = UDim.new(0, 19)
UI["LISTLAYOUT_RIGHT"] = InstanceNew("UIListLayout")
UI["LISTLAYOUT_RIGHT"].Name = "RightColumnList"
UI["LISTLAYOUT_RIGHT"].Parent = rightblahInstance
UI["LISTLAYOUT_RIGHT"].SortOrder = Enum.SortOrder.LayoutOrder
UI["LISTLAYOUT_RIGHT"].Padding = UDim.new(0, 19)
localization.Changed:Connect(function ()
leftblah.CanvasSize = UDim2New(0, 0, 0, 100 +
localization.AbsoluteContentSize.Y)
end)
localization2.Changed:Connect(function ()
rightblahInstance.CanvasSize = UDim2New(0, 0, 0, 100 +
localization2.AbsoluteContentSize.Y)
end)
TabConfiguration.Button = UI["8"]
TabConfiguration.MainSectionFrame = MSFrame
TabConfiguration.Left = leftblah
TabConfiguration.Right = rightblahInstance
function TabConfiguration:Select()
for i, v in next, UI["e"]:GetChildren() do
if v:IsA("UIListLayout") then return end
v.Visible = false
end
for i, v in next, UI["7"]:GetChildren() do
if v:IsA("TextButton") then
v.TextColor3 = Color3FromRGB(137, 137, 139)
end
end
TabConfiguration.Button.TextColor3 = Color3FromRGB(255,255,255)
TabConfiguration.MainSectionFrame.Visible = true
end
TabConfiguration.Button.MouseButton1Click:Connect(function ()
TabConfiguration:Select()
end)
do -- src/Lua/Interface/Components/
do -- src/Lua/Interface/Components/BoneSelector.lua
function Options:BoneSelector(Configuration)
local BoneSelectorOptions = {
Type = Configuration.type or "R15",
Callback = Configuration.callback or function()
end,
Default = Configuration.default or nil,
Flag = UserInterface:GetNextFlag(),
Multi = Configuration.multi or false
}
local BoneSelector = {
FValues = {},
FValue = BoneSelectorOptions.Multi and {} or "",
}
BoneSelectorHolder.Name = "BoneSelectorHolder"
BoneSelectorHolder.Parent = SectionColumnComponents
BoneSelectorHolder.Size = UDim2.new(1, 0, 0, 316)
BoneSelectorHolder.BorderColor3 = Color3.fromRGB(0, 0,
0)
BoneSelectorHolder.Position = UDim2.new(0, 0, -
1.17375305e-06, 0)
BoneSelectorHolder.BorderSizePixel = 0
BoneSelectorHolder.BackgroundColor3 =
Color3.fromRGB(16, 16, 16)
BSHStroke.Name = "BSHStroke"
BSHStroke.Parent = BoneSelectorHolder
BSHStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
BSHStroke.Color = Color3.fromRGB(36, 36, 36)
BSHCorner.Name = "BSHCorner"
BSHCorner.Parent = BoneSelectorHolder
R15.Name = "R15"
R15.Parent = BoneSelectorHolder
R15.Size = UDim2.new(0, 217, 0, 308)
R15.Visible = true
R15.BorderColor3 = Color3.fromRGB(0, 0, 0)
R15.BackgroundTransparency = 1
R15.Position = UDim2.new(0.0262008738, 0, 0.0187500007,
0)
R15.BorderSizePixel = 0
R15.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Head.Name = "Head"
Head.Parent = R15
Head.Size = UDim2.new(0, 60, 0, 68)
Head.BorderColor3 = Color3.fromRGB(36, 36, 36)
Head.Position = UDim2.new(0.358999997, 0, 0.0579999983,
0)
Head.BorderSizePixel = 2
Head.BackgroundColor3 = Color3.fromRGB(27, 27, 27)
Head.TextColor3 = Color3.fromRGB(0, 0, 0)
Head.Text = ""
Head.TextSize = 14
Head.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
HumanoidRootPart.Name = "HumanoidRootPart"
HumanoidRootPart.Parent = R15
HumanoidRootPart.ZIndex = 2
HumanoidRootPart.Size = UDim2.new(0, 22, 0, 25)
HumanoidRootPart.BorderColor3 = Color3.fromRGB(36, 36,
36)
HumanoidRootPart.Position = UDim2.new(0.446557671, 0,
0.402155876, 0)
HumanoidRootPart.BorderSizePixel = 2
HumanoidRootPart.BackgroundColor3 = Color3.fromRGB(27,
27, 27)
HumanoidRootPart.TextColor3 = Color3.fromRGB(0, 0, 0)
HumanoidRootPart.Text = ""
HumanoidRootPart.TextSize = 14
HumanoidRootPart.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
LeftHand.Name = "LeftHand"
LeftHand.Parent = R15
LeftHand.Size = UDim2.new(0, 53, 0, 20)
LeftHand.BorderColor3 = Color3.fromRGB(36, 36, 36)
LeftHand.Position = UDim2.new(0.0778940767, 0,
0.548259795, 0)
LeftHand.BorderSizePixel = 2
LeftHand.BackgroundColor3 = Color3.fromRGB(27, 27, 27)
LeftHand.TextColor3 = Color3.fromRGB(0, 0, 0)
LeftHand.Text = ""
LeftHand.TextSize = 14
LeftHand.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
LeftLowerArm.Name = "LeftLowerArm"
LeftLowerArm.Parent = R15
LeftLowerArm.Size = UDim2.new(0, 53, 0, 44)
LeftLowerArm.BorderColor3 = Color3.fromRGB(36, 36, 36)
LeftLowerArm.Position = UDim2.new(0.0778940767, 0,
0.405238956, 0)
LeftLowerArm.BorderSizePixel = 2
LeftLowerArm.BackgroundColor3 = Color3.fromRGB(27, 27,
27)
LeftLowerArm.TextColor3 = Color3.fromRGB(0, 0, 0)
LeftLowerArm.Text = ""
LeftLowerArm.TextSize = 14
LeftLowerArm.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
LowerTorso.Name = "LowerTorso"
LowerTorso.Parent = R15
LowerTorso.Size = UDim2.new(0, 76, 0, 20)
LowerTorso.BorderColor3 = Color3.fromRGB(36, 36, 36)
LowerTorso.Position = UDim2.new(0.32213372, 0,
0.54809612, 0)
LowerTorso.BorderSizePixel = 2
LowerTorso.BackgroundColor3 = Color3.fromRGB(27, 27,
27)
LowerTorso.TextColor3 = Color3.fromRGB(0, 0, 0)
LowerTorso.Text = ""
LowerTorso.TextSize = 14
LowerTorso.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
LeftUpperArm.Name = "LeftUpperArm"
LeftUpperArm.Parent = R15
LeftUpperArm.Size = UDim2.new(0, 53, 0, 38)
LeftUpperArm.BorderColor3 = Color3.fromRGB(36, 36, 36)
LeftUpperArm.Position = UDim2.new(0.0778940767, 0,
0.278615594, 0)
LeftUpperArm.BorderSizePixel = 2
LeftUpperArm.BackgroundColor3 = Color3.fromRGB(27, 27,
27)
LeftUpperArm.TextColor3 = Color3.fromRGB(0, 0, 0)
LeftUpperArm.Text = ""
LeftUpperArm.TextSize = 14
LeftUpperArm.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
RightHand.Name = "RightHand"
RightHand.Parent = R15
RightHand.Size = UDim2.new(0, 49, 0, 19)
RightHand.BorderColor3 = Color3.fromRGB(36, 36, 36)
RightHand.Position = UDim2.new(0.672364116, 0,
0.548259795, 0)
RightHand.BorderSizePixel = 2
RightHand.BackgroundColor3 = Color3.fromRGB(27, 27, 27)
RightHand.TextColor3 = Color3.fromRGB(0, 0, 0)
RightHand.Text = ""
RightHand.TextSize = 14
RightHand.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
RightUpperArm.Name = "RightUpperArm"
RightUpperArm.Parent = R15
RightUpperArm.Size = UDim2.new(0, 53, 0, 38)
RightUpperArm.BorderColor3 = Color3.fromRGB(36, 36, 36)
RightUpperArm.Position = UDim2.new(0.672364116, 0,
0.278615594, 0)
RightUpperArm.BorderSizePixel = 2
RightUpperArm.BackgroundColor3 = Color3.fromRGB(27, 27,
27)
RightUpperArm.TextColor3 = Color3.fromRGB(0, 0, 0)
RightUpperArm.Text = ""
RightUpperArm.TextSize = 14
RightUpperArm.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
RightLowerArm.Name = "RightLowerArm"
RightLowerArm.Parent = R15
RightLowerArm.Size = UDim2.new(0, 53, 0, 44)
RightLowerArm.BorderColor3 = Color3.fromRGB(36, 36, 36)
RightLowerArm.Position = UDim2.new(0.672364116, 0,
0.405238956, 0)
RightLowerArm.BorderSizePixel = 2
RightLowerArm.BackgroundColor3 = Color3.fromRGB(27, 27,
27)
RightLowerArm.TextColor3 = Color3.fromRGB(0, 0, 0)
RightLowerArm.Text = ""
RightLowerArm.TextSize = 14
RightLowerArm.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
UpperTorso.Name = "UpperTorso"
UpperTorso.Parent = R15
UpperTorso.Size = UDim2.new(0, 76, 0, 82)
UpperTorso.BorderColor3 = Color3.fromRGB(36, 36, 36)
UpperTorso.Position = UDim2.new(0.32213372, 0,
0.279000014, 0)
UpperTorso.BorderSizePixel = 2
UpperTorso.BackgroundColor3 = Color3.fromRGB(27, 27,
27)
UpperTorso.TextColor3 = Color3.fromRGB(0, 0, 0)
UpperTorso.Text = ""
UpperTorso.TextSize = 14
UpperTorso.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
LeftUpperLeg.Name = "LeftUpperLeg"
LeftUpperLeg.Parent = R15
LeftUpperLeg.Size = UDim2.new(0, 38, 0, 62)
LeftUpperLeg.BorderColor3 = Color3.fromRGB(36, 36, 36)
LeftUpperLeg.Position = UDim2.new(0.32213372, 0,
0.613031149, 0)
LeftUpperLeg.BorderSizePixel = 2
LeftUpperLeg.BackgroundColor3 = Color3.fromRGB(27, 27,
27)
LeftUpperLeg.TextColor3 = Color3.fromRGB(0, 0, 0)
LeftUpperLeg.Text = ""
LeftUpperLeg.TextSize = 14
LeftUpperLeg.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
LeftLowerLeg.Name = "LeftLowerLeg"
LeftLowerLeg.Parent = R15
LeftLowerLeg.Size = UDim2.new(0, 38, 0, 32)
LeftLowerLeg.BorderColor3 = Color3.fromRGB(36, 36, 36)
LeftLowerLeg.Position = UDim2.new(0.32213372, 0,
0.814329863, 0)
LeftLowerLeg.BorderSizePixel = 2
LeftLowerLeg.BackgroundColor3 = Color3.fromRGB(27, 27,
27)
LeftLowerLeg.TextColor3 = Color3.fromRGB(0, 0, 0)
LeftLowerLeg.Text = ""
LeftLowerLeg.TextSize = 14
LeftLowerLeg.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
LeftFoot.Name = "LeftFoot"
LeftFoot.Parent = R15
LeftFoot.Size = UDim2.new(0, 38, 0, 9)
LeftFoot.BorderColor3 = Color3.fromRGB(36, 36, 36)
LeftFoot.Position = UDim2.new(0.32213372, 0,
0.918225944, 0)
LeftFoot.BorderSizePixel = 2
LeftFoot.BackgroundColor3 = Color3.fromRGB(27, 27, 27)
LeftFoot.TextColor3 = Color3.fromRGB(0, 0, 0)
LeftFoot.Text = ""
LeftFoot.TextSize = 14
LeftFoot.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
RightFoot.Name = "RightFoot"
RightFoot.Parent = R15
RightFoot.Size = UDim2.new(0, 38, 0, 9)
RightFoot.BorderColor3 = Color3.fromRGB(36, 36, 36)
RightFoot.Position = UDim2.new(0.497248918, 0,
0.918225944, 0)
RightFoot.BorderSizePixel = 2
RightFoot.BackgroundColor3 = Color3.fromRGB(27, 27, 27)
RightFoot.TextColor3 = Color3.fromRGB(0, 0, 0)
RightFoot.Text = ""
RightFoot.TextSize = 14
RightFoot.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
RightUpperLeg.Name = "RightUpperLeg"
RightUpperLeg.Parent = R15
RightUpperLeg.Size = UDim2.new(0, 38, 0, 62)
RightUpperLeg.BorderColor3 = Color3.fromRGB(36, 36, 36)
RightUpperLeg.Position = UDim2.new(0.497248918, 0,
0.613031149, 0)
RightUpperLeg.BorderSizePixel = 2
RightUpperLeg.BackgroundColor3 = Color3.fromRGB(27, 27,
27)
RightUpperLeg.TextColor3 = Color3.fromRGB(0, 0, 0)
RightUpperLeg.Text = ""
RightUpperLeg.TextSize = 14
RightUpperLeg.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
RightLowerLeg.Name = "RightLowerLeg"
RightLowerLeg.Parent = R15
RightLowerLeg.Size = UDim2.new(0, 38, 0, 32)
RightLowerLeg.BorderColor3 = Color3.fromRGB(36, 36, 36)
RightLowerLeg.Position = UDim2.new(0.497248918, 0,
0.814329863, 0)
RightLowerLeg.BorderSizePixel = 2
RightLowerLeg.BackgroundColor3 = Color3.fromRGB(27, 27,
27)
RightLowerLeg.TextColor3 = Color3.fromRGB(0, 0, 0)
RightLowerLeg.Text = ""
RightLowerLeg.TextSize = 14
RightLowerLeg.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
R6.Name = "R6"
R6.Parent = BoneSelectorHolder
R6.Size = UDim2.new(0, 217, 0, 308)
R6.Visible = false
R6.BorderColor3 = Color3.fromRGB(0, 0, 0)
R6.BackgroundTransparency = 1
R6.Position = UDim2.new(0.0262008738, 0, 0.0187500007,
0)
R6.BorderSizePixel = 0
R6.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Head_2.Name = "Head"
Head_2.Parent = R6
Head_2.Size = UDim2.new(0, 76, 0, 68)
Head_2.BorderColor3 = Color3.fromRGB(36, 36, 36)
Head_2.Position = UDim2.new(0.322580636, 0,
0.058441557, 0)
Head_2.BorderSizePixel = 2
Head_2.BackgroundColor3 = Color3.fromRGB(27, 27, 27)
Head_2.TextColor3 = Color3.fromRGB(0, 0, 0)
Head_2.Text = ""
Head_2.TextSize = 14
Head_2.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
Torso_3.Name = "Torso"
Torso_3.Parent = R6
Torso_3.Size = UDim2.new(0, 76, 0, 103)
Torso_3.BorderColor3 = Color3.fromRGB(36, 36, 36)
Torso_3.Position = UDim2.new(0.322580636, 0,
0.27922079, 0)
Torso_3.BorderSizePixel = 2
Torso_3.BackgroundColor3 = Color3.fromRGB(27, 27, 27)
Torso_3.TextColor3 = Color3.fromRGB(0, 0, 0)
Torso_3.Text = ""
Torso_3.TextSize = 14
Torso_3.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
HumanoidRootPart_2.Name = "HumanoidRootPart"
HumanoidRootPart_2.Parent = R6
HumanoidRootPart_2.Size = UDim2.new(0, 31, 0, 30)
HumanoidRootPart_2.BorderColor3 = Color3.fromRGB(36,
36, 36)
HumanoidRootPart_2.Position = UDim2.new(0.42396313, 0,
0.373376638, 0)
HumanoidRootPart_2.BorderSizePixel = 2
HumanoidRootPart_2.BackgroundColor3 =
Color3.fromRGB(27, 27, 27)
HumanoidRootPart_2.TextColor3 = Color3.fromRGB(0, 0, 0)
HumanoidRootPart_2.Text = ""
HumanoidRootPart_2.TextSize = 14
HumanoidRootPart_2.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
if self_conn then
self_conn:Disconnect(); self_conn = nil
end
end
bodypart.MouseButton1Click:Connect(function ()
BoneSelectorOptions:Set(name)
end)
BoneSelector["FValues"][name] = {
Click = ButtonClick,
UnClick = ButtonUnClick,
Selected = false,
}
end
end
if self_conn then
self_conn:Disconnect(); self_conn = nil
end
end
bodypart.MouseButton1Click:Connect(function ()
BoneSelectorOptions:Set(name)
end)
BoneSelector["FValues"][name] = {
Click = ButtonClick,
UnClick = ButtonUnClick,
Selected = false,
}
end
end
R15_function()
function BoneSelectorOptions:Update()
for _, v in pairs(BoneSelector.FValues) do
if BoneSelector.FValue == _ then
v.Click()
else
v.UnClick()
end
end
return BoneSelector
end
function BoneSelectorOptions:Set(value)
if BoneSelectorOptions.Multi then
if type(value) == "table" then
BoneSelectorOptions:Refresh()
local RemovedButtons = {}
pcall(BoneSelectorOptions.Callback,
BoneSelector.FValue)
UserInterface.Flags[BoneSelectorOptions.Flag] = BoneSelector.FValue
return
end
if Index then
table.remove(BoneSelector.FValue, Index)
BoneSelector.FValues[value].UnClick()
pcall(BoneSelectorOptions.Callback,
BoneSelector.FValue)
UserInterface.Flags[BoneSelectorOptions.Flag] = BoneSelector.FValue
UserInterface.Flags[BoneSelectorOptions.Flag .. "f"] = { [1] = function()
BoneSelectorOptions:Refresh() end, [2] = function(value)
BoneSelectorOptions:Set(value) end }
else
BoneSelector.FValue[#BoneSelector.FValue +
1] = value
BoneSelector.FValues[value].Click()
pcall(BoneSelectorOptions.Callback,
BoneSelector.FValue)
UserInterface.Flags[BoneSelectorOptions.Flag] = BoneSelector.FValue
for _, v in pairs(BoneSelector.FValues) do
v.UnClick()
end
BoneSelector["FValues"]
[BoneSelector.FValue].Click()
pcall(BoneSelectorOptions.Callback,
BoneSelector.FValue)
UserInterface.Flags[BoneSelectorOptions.Flag] =
BoneSelector.FValue
UserInterface.Flags[BoneSelectorOptions.Flag ..
"f"] = { [1] = function() BoneSelectorOptions:Refresh() end, [2] = function(value)
BoneSelectorOptions:Set(value) end }
end
end
function BoneSelectorOptions:GetValues()
return BoneSelector.FValue
end
function BoneSelectorOptions:Refresh()
for i, v in next, BoneSelector.FValues do
if v.UnClick then
v.UnClick()
end
end
end
function BoneSelectorOptions:SetMulti(bool)
if BoneSelectorOptions.Multi == bool then return
end
self:Refresh()
BoneSelectorOptions.Multi = bool
BoneSelector.FValue = bool and {} or ""
end
UserInterface.ConfigFlags[BoneSelectorOptions.Flag] =
function(state) BoneSelectorOptions:Set(state) end
increaseYSize(308)
return BoneSelectorOptions
end
end
do -- src/Lua/Interface/Components/Button.lua
function Options:Button(Configuration)
local ButtonOptions = {
title = Configuration.title or "button",
callback = Configuration.callback or function ()
end
}
Button.Name = "Button"
Button.Parent = SectionColumnComponents
Button.BackgroundColor3 = Color3FromRGB(21, 21, 21)
Button.BorderColor3 = Color3FromRGB(0, 0, 0)
Button.BorderSizePixel = 0
Button.Size = UDim2New(0, 159, 0, 23)
Button.AutoButtonColor = false
Button.FontFace =
Font.new([[rbxasset://fonts/families/SourceSansPro.json]])
Button.Text = ButtonOptions.title
Button.TextColor3 = Color3FromRGB(255, 255, 255)
Button.TextSize = 14
Button.TextStrokeTransparency = 0
Button.TextWrapped = true
ButtonCorner.CornerRadius = UDim.new(0, 2)
ButtonCorner.Name = "ButtonCorner"
ButtonCorner.Parent = Button
local Tweens = {
OnClick = function ()
local ButtonTween, ButtonStrokeTween =
tweenService:Create(Button, TweenInfo.new(0),
{BackgroundColor3 = Color3FromRGB(36, 36, 36)}),
tweenService:Create(ButtonStroke,
TweenInfo.new(0), {Color = Color3FromRGB(45, 43, 46)})
ButtonTween:Play();ButtonStrokeTween:Play()
end,
OnHover = function ()
local ButtonTween, ButtonStrokeTween =
tweenService:Create(Button, TweenInfo.new(0),
{BackgroundColor3 = Color3FromRGB(28, 28, 28)}),
tweenService:Create(ButtonStroke,
TweenInfo.new(0), {Color = Color3FromRGB(36, 36, 36)})
ButtonTween:Play();ButtonStrokeTween:Play()
end,
OnMouseLeave = function ()
local ButtonTween, ButtonStrokeTween =
tweenService:Create(Button, TweenInfo.new(0),
{BackgroundColor3 = Color3FromRGB(21, 21, 21)}),
tweenService:Create(ButtonStroke,
TweenInfo.new(0), {Color = Color3FromRGB(40, 40, 40)})
ButtonTween:Play();ButtonStrokeTween:Play()
end
}
TaskWait(0.1)
Tweens.OnHover()
end
Button.MouseButton1Click:Connect(OnClick)
Button.MouseEnter:Connect(Tweens.OnHover)
Button.MouseLeave:Connect(Tweens.OnMouseLeave)
increaseYSize(23)
end
end
do -- src/Lua/Interface/Components/Colorpicker.lua
function Options:Colorpicker(Configuration, ToggleOption)
local ColorpickerOptions = {
Title = Configuration.title or "colorpicker",
Default = Configuration.default or
Color3FromRGB(255,255,255),
Transparency = Configuration.transparency or 0,
Callback = Configuration.callback or function()
end,
Flag = UserInterface:GetNextFlag()
}
local Colorpicker = {
TransparencyValue = 0,
ColorValue = nil,
HuePosition = 0,
SlidingSat = false,
SlidingHue = false,
SlidingAlpha = false,
}
ColorpickerHolder.Name = tostring(math.random(1000,
16384))
ColorpickerHolder.Parent = ToggleOption == nil and
SectionColumnComponents or ToggleOption
ColorpickerHolder.BackgroundColor3 = Color3FromRGB(255,
255, 255)
ColorpickerHolder.BackgroundTransparency = 1.000
ColorpickerHolder.BorderColor3 = Color3FromRGB(0, 0, 0)
ColorpickerHolder.BorderSizePixel = 0
ColorpickerHolder.Size = UDim2New(0, 229, 0, 13)
ColorpickerButton.Name = "ColorpickerButton"
ColorpickerButton.Parent = ColorpickerHolder
ColorpickerButton.BackgroundColor3 = Color3FromRGB(255,
255, 255)
ColorpickerButton.BackgroundTransparency = 1.000
ColorpickerButton.BorderColor3 = Color3FromRGB(0, 0, 0)
ColorpickerButton.BorderSizePixel = 0
ColorpickerButton.Position = UDim2New(0.943231463, 0,
0, 0)
ColorpickerButton.Size = UDim2New(0, 13, 0, 13)
ColorpickerButton.Font = Enum.Font.SourceSans
ColorpickerButton.Text = ""
ColorpickerButton.TextColor3 = Color3FromRGB(0, 0, 0)
ColorpickerButton.TextSize = 14.000
ColorpickerStatus.Name = "ColorpickerStatus"
ColorpickerStatus.Parent = ColorpickerHolder
ColorpickerStatus.BackgroundColor3 = Color3FromRGB(170,
170, 255)
ColorpickerStatus.BorderColor3 = Color3FromRGB(0, 0, 0)
ColorpickerStatus.BorderSizePixel = 0
ColorpickerStatus.Position = UDim2New(0.943231463, 0,
0, 0)
ColorpickerStatus.Size = UDim2New(0, 13, 0, 13)
ColorpickerInline.Name = "ColorpickerInline"
ColorpickerInline.Parent = ColorpickerHolder
ColorpickerInline.BackgroundColor3 = Color3FromRGB(170,
170, 255)
ColorpickerInline.BackgroundTransparency = 1.000
ColorpickerInline.BorderColor3 = Color3FromRGB(0, 0, 0)
ColorpickerInline.BorderSizePixel = 0
ColorpickerInline.Position = UDim2New(0.943231463, 0,
0, 0)
ColorpickerInline.Size = UDim2New(0, 13, 0, 13)
ColorpickerInline.Visible = false
ColorpickerInline.ZIndex = 3
CPInlineCorner.CornerRadius = UDim.new(0, 2)
CPInlineCorner.Name = "CPInlineCorner"
CPInlineCorner.Parent = ColorpickerInline
ColorpickerContent.Name = "ColorpickerContent"
ColorpickerContent.Parent = ColorpickerInline
ColorpickerContent.BackgroundColor3 = Color3FromRGB(23,
23, 23)
ColorpickerContent.BorderColor3 = Color3FromRGB(0, 0,
0)
ColorpickerContent.Position = UDim2New(-9.46153831, 0,
0, 0)
ColorpickerContent.Size = UDim2New(0, 136, 0, 139)
ColorpickerContent.ZIndex = 3
Accent.Name = "Accent"
Accent.Parent = ColorpickerContent
Accent.BackgroundColor3 = Color3FromRGB(168, 157, 159)
Accent.BorderColor3 = Color3FromRGB(0, 0, 0)
Accent.Size = UDim2New(1, 0, 0, 1)
HueBackground.Name = "HueBackground"
HueBackground.Parent = ColorpickerContent
HueBackground.BackgroundColor3 = Color3FromRGB(255,
255, 255)
HueBackground.BorderColor3 = Color3FromRGB(0, 0, 0)
HueBackground.BorderSizePixel = 0
HueBackground.Position = UDim2New(0.879000008, 0,
0.0680000037, 0)
HueBackground.Size = UDim2New(0, 9, 0, 106)
CPHueGradient.Color =
ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3FromRGB(255, 0, 0)),
ColorSequenceKeypoint.new(0.17, Color3FromRGB(255, 0, 255)),
ColorSequenceKeypoint.new(0.33, Color3FromRGB(0, 0, 255)),
ColorSequenceKeypoint.new(0.50, Color3FromRGB(0, 255, 255)),
ColorSequenceKeypoint.new(0.67, Color3FromRGB(0, 255, 0)),
ColorSequenceKeypoint.new(0.83, Color3FromRGB(255, 255, 0)),
ColorSequenceKeypoint.new(1.00, Color3FromRGB(255, 0, 0))}
CPHueGradient.Rotation = 90
CPHueGradient.Name = "CPHueGradient"
CPHueGradient.Parent = HueBackground
HuePicker.Name = "HuePicker"
HuePicker.Parent = HueBackground
HuePicker.BackgroundColor3 = Color3FromRGB(255, 255,
255)
HuePicker.BackgroundTransparency = 1
HuePicker.BorderColor3 = Color3FromRGB(0, 0, 0)
HuePicker.BorderSizePixel = 0
HuePicker.Position = UDim2New(0, -4, 0, -2)
HuePicker.Size = UDim2New(0, 17, 0, 5)
HuePicker.Image = "rbxassetid://13900818694"
TextButton.Parent = HueBackground
TextButton.BackgroundColor3 = Color3FromRGB(255, 255,
255)
TextButton.BackgroundTransparency = 1.000
TextButton.BorderColor3 = Color3FromRGB(0, 0, 0)
TextButton.BorderSizePixel = 0
TextButton.Size = UDim2New(1, 0, 1, 0)
TextButton.Font = Enum.Font.SourceSans
TextButton.Text = ""
TextButton.TextColor3 = Color3FromRGB(0, 0, 0)
TextButton.TextSize = 14.000
SaturationBackground.Name = "SaturationBackground"
SaturationBackground.Parent = ColorpickerContent
SaturationBackground.BackgroundColor3 =
Color3FromRGB(255, 255, 255)
SaturationBackground.BorderColor3 = Color3FromRGB(0, 0,
0)
SaturationBackground.Position = UDim2New(0.0661764741,
0, 0.0676691756, 0)
SaturationBackground.Size = UDim2New(0, 102, 0, 106)
SaturationImage.Name = "SaturationImage"
SaturationImage.Parent = SaturationBackground
SaturationImage.BackgroundColor3 = Color3FromRGB(255,
255, 255)
SaturationImage.BackgroundTransparency = 1.000
SaturationImage.BorderColor3 = Color3FromRGB(0, 0, 0)
SaturationImage.Size = UDim2New(1, 0, 1, 0)
SaturationImage.Image = "rbxassetid://13901004307"
SaturationPicker.Name = "SaturationPicker"
SaturationPicker.Parent = SaturationBackground
SaturationPicker.BackgroundColor3 = Color3FromRGB(255,
255, 255)
SaturationPicker.BackgroundTransparency = 1.000
SaturationPicker.BorderColor3 = Color3FromRGB(0, 0, 0)
SaturationPicker.Position = UDim2New(0, -1, 0, -1)
SaturationPicker.Size = UDim2New(0, 5, 0, 5)
SaturationPicker.Image = "rbxassetid://13900819741"
SaturationButton.Name = "SaturationButton"
SaturationButton.Parent = SaturationBackground
SaturationButton.BackgroundColor3 = Color3FromRGB(255,
255, 255)
SaturationButton.BackgroundTransparency = 1.000
SaturationButton.BorderColor3 = Color3FromRGB(0, 0, 0)
SaturationButton.BorderSizePixel = 0
SaturationButton.Size = UDim2New(1, 0, 1, 0)
SaturationButton.Font = Enum.Font.SourceSans
SaturationButton.Text = ""
SaturationButton.TextColor3 = Color3FromRGB(0, 0, 0)
SaturationButton.TextSize = 14.000
TransparencyBackground.Name = "TransparencyBackground"
TransparencyBackground.Parent = ColorpickerContent
TransparencyBackground.BackgroundColor3 =
Color3FromRGB(255, 255, 255)
TransparencyBackground.BorderColor3 = Color3FromRGB(0,
0, 0)
TransparencyBackground.BorderSizePixel = 0
TransparencyBackground.Position =
UDim2New(0.0441176482, 0, 0.880901992, 0)
TransparencyBackground.Size = UDim2New(0, 123, 0, 6)
TransparencyGradient.Color =
ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3FromRGB(255, 255, 255)),
ColorSequenceKeypoint.new(0.57, Color3FromRGB(150, 150, 150)),
ColorSequenceKeypoint.new(1.00, Color3FromRGB(0, 0, 0))}
TransparencyGradient.Name = "TransparencyGradient"
TransparencyGradient.Parent = TransparencyBackground
TransparencyPicker.Name = "TransparencyPicker"
TransparencyPicker.Parent = TransparencyBackground
TransparencyPicker.BackgroundColor3 =
Color3FromRGB(255, 255, 255)
TransparencyPicker.BackgroundTransparency = 1.000
TransparencyPicker.BorderColor3 = Color3FromRGB(0, 0,
0)
TransparencyPicker.BorderSizePixel = 0
TransparencyPicker.Position = UDim2New(0, -2, 0, -2)
TransparencyPicker.Size = UDim2New(0, 5, 0, 17)
TransparencyPicker.Image = "rbxassetid://14248606745"
TransparencyButton.Name = "TransparencyButton"
TransparencyButton.Parent = TransparencyBackground
TransparencyButton.BackgroundColor3 =
Color3FromRGB(255, 255, 255)
TransparencyButton.BackgroundTransparency = 1.000
TransparencyButton.BorderColor3 = Color3FromRGB(0, 0,
0)
TransparencyButton.BorderSizePixel = 0
TransparencyButton.Size = UDim2New(1, 0, 1, 0)
TransparencyButton.Font = Enum.Font.SourceSans
TransparencyButton.Text = ""
TransparencyButton.TextColor3 = Color3FromRGB(0, 0, 0)
TransparencyButton.TextSize = 14.000
local contentAnimations = {
Open = function ( self )
ColorpickerContent.Visible = true
ColorpickerInline.Visible = true
local ContentTween =
tweenService:Create(ColorpickerContent, TweenInfo.new(0.15),
{ BackgroundTransparency = 0, Position = UDim2New(-10.923, 0,0, 0) })
ContentTween:Play()
self:FadeIn()
end,
FadeIn = function ()
for _, object in
pairs( ColorpickerContent:GetDescendants() ) do
if object:IsA("Frame") then
tweenService:Create(object,
TweenInfo.new(0.15), { BackgroundTransparency = 0 }):Play()
elseif object:IsA("ImageLabel") then
tweenService:Create(object,
TweenInfo.new(0.15), { ImageTransparency = 0 }):Play()
end
end
end,
FadeOut = function ()
for _, object in
pairs( ColorpickerContent:GetDescendants() ) do
if object:IsA("Frame") then
tweenService:Create(object,
TweenInfo.new(0.15), { BackgroundTransparency = 1 }):Play()
elseif object:IsA("ImageLabel") then
tweenService:Create(object,
TweenInfo.new(0.15), { ImageTransparency = 1 }):Play()
end
end
end
}
contentAnimations:FadeOut()
TaskWait(0.15)
ColorpickerContent.Visible = false
ColorpickerInline.Visible = false
end
return rgb
end
color = Color3.fromHex(OldColor[1])
--trans = OldColor[2]
end
Colorpicker.ColorValue = color
Colorpicker.TransparencyValue = trans
SaturationBackground.BackgroundColor3 =
Color3.fromHSV(Colorpicker.HuePosition, 1, 1)
ColorpickerStatus.BackgroundColor3 = color
SaturationButton.MouseButton1Down:Connect(function
(input)
Colorpicker.SlidingSat = true
SlideSaturation({ Position =
game.UserInputService:GetMouseLocation() - Vector2New(0, 36) })
end)
ColorpickerOptions:Set(Color3.fromHSV(SizeY, Sat,
Val), Colorpicker.TransparencyValue, true)
end
TextButton.MouseButton1Down:Connect(function (input)
Colorpicker.SlidingHue = true
SlideHue({ Position =
game.UserInputService:GetMouseLocation() - Vector2New(0, 36) })
end)
TransparencyButton.MouseButton1Down:Connect(function
(input)
Colorpicker.SlidingAlpha = true
SlideTrans({ Position =
game.UserInputService:GetMouseLocation() - Vector2New(0, 36) })
end)
inputService.InputEnded:Connect(function (input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 then
Colorpicker.SlidingSat, Colorpicker.SlidingHue,
Colorpicker.SlidingAlpha = false, false, false
end
end)
inputService.InputChanged:Connect(function (input)
if input.UserInputType ==
Enum.UserInputType.MouseMovement then
if Colorpicker.SlidingSat then
SlideSaturation(input)
elseif Colorpicker.SlidingHue then
SlideHue(input)
elseif Colorpicker.SlidingAlpha then
SlideTrans(input)
end
end
end)
ColorpickerButton.MouseButton1Click:Connect(function ()
if UserInterface.Popup and UserInterface.Popup.ID
~= ColorpickerHolder.Name then
UserInterface:RemovePopups()
end
if ColorpickerInline.Visible then
contentAnimations:Close()
else
UserInterface:NewPopup({ Remove =
contentAnimations.Close, ID = ColorpickerHolder.Name })
contentAnimations:Open()
end
end)
increaseYSize(13)
UserInterface.ConfigFlags[ColorpickerOptions.Flag] =
function(value) ColorpickerOptions:Set(value) end
return ColorpickerOptions
end
end
do -- src/Lua/Interface/Components/Dropdowns.lua
function Options:Dropdown(Configuration)
local DropdownOptions = {
Title = Configuration.title or "",
Content = Configuration.values or {},
Default = Configuration.default or "-",
Multi = Configuration.multi or false,
Callback = Configuration.callback or function ()
end,
Flag = UserInterface:GetNextFlag()
}
local Dropdown = {
FValues = {},
FValue = DropdownOptions.Multi and {} or "",
}
DropdownTitle.Name = "DropdownTitle"
DropdownTitle.Parent = DropdownHolder
DropdownTitle.BackgroundColor3 = Color3FromRGB(255,
255, 255)
DropdownTitle.BackgroundTransparency = 1.000
DropdownTitle.BorderColor3 = Color3FromRGB(0, 0, 0)
DropdownTitle.BorderSizePixel = 0
DropdownTitle.Size = UDim2New(0, 164, 0, 13)
DropdownTitle.Font = Enum.Font.SourceSans
DropdownTitle.Text = DropdownOptions.Title
DropdownTitle.TextColor3 = Color3FromRGB(255, 255, 255)
DropdownTitle.TextSize = 14.000
DropdownTitle.TextXAlignment = Enum.TextXAlignment.Left
OpenButton.Name = "OpenButton"
OpenButton.Parent = DropdownHolder
OpenButton.ZIndex = 2
OpenButton.Size = UDim2New(0, 230, 0, 22)
OpenButton.BorderColor3 = Color3FromRGB(34, 34, 34)
OpenButton.Position = UDim2New(0, 0, 0.576923072, 0)
OpenButton.BackgroundColor3 = Color3FromRGB(21, 21, 21)
OpenButton.AutoButtonColor = false
OpenButton.TextColor3 = Color3FromRGB(255, 255, 255)
OpenButton.Text = ""
OpenButton.TextXAlignment = Enum.TextXAlignment.Left
OpenButton.TextSize = 14
OpenButton.TextTruncate = Enum.TextTruncate.AtEnd
OpenButton.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
OpenButtonCorner.Name = "OpenButtonCorner"
OpenButtonCorner.Parent = OpenButton
OpenButtonCorner.CornerRadius = UDim.new(0, 3)
OpenButtonStroke.Name = "OpenButtonStroke"
OpenButtonStroke.Parent = OpenButton
OpenButtonStroke.ApplyStrokeMode =
Enum.ApplyStrokeMode.Border
OpenButtonStroke.Color = Color3FromRGB(15, 15, 15)
DropdownImage.Name = "DropdownImage"
DropdownImage.Parent = OpenButton
DropdownImage.ZIndex = 3
DropdownImage.Size = UDim2New(0, 9, 0, 6)
DropdownImage.BorderColor3 = Color3FromRGB(0, 0, 0)
DropdownImage.BackgroundTransparency = 1
DropdownImage.Position = UDim2New(0.939999938, 0,
0.342727214, 0)
DropdownImage.BorderSizePixel = 0
DropdownImage.BackgroundColor3 = Color3FromRGB(255,
255, 255)
DropdownImage.Image = "rbxassetid://17830630301"
DropdownText.Name = "DropdownText"
DropdownText.Parent = OpenButton
DropdownText.ZIndex = 3
DropdownText.Size = UDim2New(0, 204, 0, 22)
DropdownText.BorderColor3 = Color3FromRGB(0, 0, 0)
DropdownText.BackgroundTransparency = 1
DropdownText.Position = UDim2New(0.0130434781, 0, 0, 0)
DropdownText.BorderSizePixel = 0
DropdownText.BackgroundColor3 = Color3FromRGB(255, 255,
255)
DropdownText.TextColor3 = Color3FromRGB(255, 255, 255)
DropdownText.Text = DropdownOptions.Default
DropdownText.TextXAlignment = Enum.TextXAlignment.Left
DropdownText.TextSize = 14
DropdownText.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
DropdownText.TextTruncate = "AtEnd"
Inline.Name = "Inline"
Inline.Parent = OpenButton
Inline.Size = UDim2New(0, 229, 0, 0)
Inline.BorderColor3 = Color3FromRGB(0, 0, 0)
Inline.Position = UDim2New(0, 0, 1, 0)
Inline.BorderSizePixel = 0
Inline.BackgroundColor3 = Color3FromRGB(15, 15, 15)
Inline.Visible = false
Inline.ZIndex = 3
InlineCorner.Name = "InlineCorner"
InlineCorner.Parent = Inline
InlineCorner.CornerRadius = UDim.new(0, 3)
InlineStroke.Name = "InlineStroke"
InlineStroke.Parent = Inline
InlineStroke.ApplyStrokeMode =
Enum.ApplyStrokeMode.Border
InlineStroke.Color = Color3FromRGB(37, 37, 37)
InlineList.Name = "InlineList"
InlineList.Parent = Inline
local contentAnimations = {
Open = function ( self )
Inline.Visible = true
local ImageRotation =
tweenService:Create(DropdownImage, TweenInfo.new(0.15), { Rotation = 180 })
ImageRotation:Play()
local ContentTween =
tweenService:Create(Inline, TweenInfo.new(0.15), { BackgroundTransparency = 0 })
ContentTween:Play()
self:FadeIn()
end,
FadeIn = function ()
for _, object in pairs( Inline:GetDescendants()
) do
if object:IsA("Frame") then
tweenService:Create(object,
TweenInfo.new(0.15), { BackgroundTransparency = 0 }):Play()
elseif object:IsA("TextButton") then
tweenService:Create(object,
TweenInfo.new(0.15), { TextTransparency = 0 }):Play()
elseif object:IsA("UIStroke") then
tweenService:Create(object,
TweenInfo.new(0.15), { Transparency = 0 }):Play()
elseif object:IsA("TextLabel") then
tweenService:Create(object,
TweenInfo.new(0.15), { TextTransparency = 0 }):Play()
end
end
end,
FadeOut = function ()
for _, object in pairs( Inline:GetDescendants()
) do
if object:IsA("Frame") then
tweenService:Create(object,
TweenInfo.new(0.15), { BackgroundTransparency = 1 }):Play()
elseif object:IsA("TextButton") then
tweenService:Create(object,
TweenInfo.new(0.15), { TextTransparency = 1 }):Play()
elseif object:IsA("TextLabel") then
tweenService:Create(object,
TweenInfo.new(0.15), { TextTransparency = 1 }):Play()
elseif object:IsA("UIStroke") then
tweenService:Create(object,
TweenInfo.new(0.15), { Transparency = 1 }):Play()
end
end
end
}
function contentAnimations:Close()
local ContentTween = tweenService:Create(Inline,
TweenInfo.new(0.15), { BackgroundTransparency = 1 })
ContentTween:Play()
local ImageRotation =
tweenService:Create(DropdownImage, TweenInfo.new(0.15), { Rotation = 0 })
ImageRotation:Play()
contentAnimations:FadeOut()
TaskWait(0.15)
Inline.Visible = false
end
local Count = 0
function Dropdown:CreateValue(name)
if not Dropdown.FValues[name] then
local Objects = {}
local DropdownButton =
InstanceNew("TextButton")
local DBStroke = InstanceNew("UIStroke")
local DBCorner = InstanceNew("UICorner")
local DBName = InstanceNew("TextLabel")
DropdownButton.Name = "DropdownButton"
DropdownButton.Parent = Inline
DropdownButton.Size = UDim2.new(1, 0, 0, 14)
DropdownButton.BorderColor3 = Color3.fromRGB(0,
0, 0)
DropdownButton.BackgroundTransparency = 1
DropdownButton.Position =
UDim2.new(0.0131004369, 0, 0, 0)
DropdownButton.BorderSizePixel = 0
DropdownButton.BackgroundColor3 =
Color3.fromRGB(255, 255, 255)
DropdownButton.TextColor3 = Color3.fromRGB(255,
255, 255)
DropdownButton.Text = ""
DropdownButton.TextXAlignment =
Enum.TextXAlignment.Left
DropdownButton.TextSize = 14
DropdownButton.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
DropdownButton.TextTransparency = 1
DropdownButton.ZIndex = 4
DBStroke.Name = "DBStroke"
DBStroke.Parent = DropdownButton
DBStroke.ApplyStrokeMode =
Enum.ApplyStrokeMode.Border
DBStroke.Color = Color3.fromRGB(24, 24, 24)
DBCorner.Name = "DBCorner"
DBCorner.Parent = DropdownButton
DBCorner.CornerRadius = UDim.new(0, 3)
DBName.Name = "DBName"
DBName.Parent = DropdownButton
DBName.Size = UDim2.new(0, 226, 1, 0)
DBName.BorderColor3 = Color3.fromRGB(0, 0, 0)
DBName.BackgroundTransparency = 1
DBName.Position = UDim2.new(0.0131004369, 0, 0,
0)
DBName.BorderSizePixel = 0
DBName.BackgroundColor3 = Color3.fromRGB(255,
255, 255)
DBName.TextColor3 = Color3.fromRGB(129, 129,
127)
DBName.TextXAlignment =
Enum.TextXAlignment.Left
DBName.TextSize = 14
DBName.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
DBName.Text = name
DBName.ZIndex = 4
Objects.Name = DropdownButton
DropdownButton.MouseButton1Down:Connect(function ()
Dropdown:Set(name)
end)
Count += 1
Dropdown.FValues[name] = {
Click = Click,
Unclick = Unclick,
Objects = Objects,
Selected = false,
}
theme_event.Event:Connect(function ()
if Dropdown["FValues"][name].Selected then
DBName.TextColor3 = theme.accent
end
end)
end
return Dropdown
end
function Dropdown:Update()
for _, v in pairs(Dropdown.FValues) do
if Dropdown.FValue == _ then
v.Click()
else
v.Unclick()
end
end
return Dropdown
end
function Dropdown:Display()
if DropdownOptions.Multi then
local CurrentText = {}
return Dropdown
end
function Dropdown:Set(value)
if DropdownOptions.Multi then
if typeof(value) == "table" then
for _,v in pairs(value) do
if not table.find(Dropdown.FValue, _)
then
Dropdown:Set(v)
end
end
local RemovedButtons = {}
pcall(DropdownOptions.Callback,
Dropdown.FValue)
UserInterface.Flags[DropdownOptions.Flag] =
Dropdown.FValue
UserInterface.Flags[DropdownOptions.Flag ..
"f"] = { [1] = function(value) Dropdown:Refresh(value) end, [2] = function(value)
Dropdown:Set(value) end }
return
end
if Index then
table.remove(Dropdown.FValue, Index)
Dropdown:Display()
Dropdown.FValues[value].Unclick()
pcall(DropdownOptions.Callback,
Dropdown.FValue)
UserInterface.Flags[DropdownOptions.Flag] =
Dropdown.FValue
UserInterface.Flags[DropdownOptions.Flag ..
"f"] = { [1] = function(value) Dropdown:Refresh(value) end, [2] = function(value)
Dropdown:Set(value) end }
else
Dropdown.FValue[#Dropdown.FValue + 1] =
value
Dropdown:Display()
Dropdown.FValues[value].Click()
pcall(DropdownOptions.Callback,
Dropdown.FValue)
UserInterface.Flags[DropdownOptions.Flag] =
Dropdown.FValue
UserInterface.Flags[DropdownOptions.Flag ..
"f"] = { [1] = function(value) Dropdown:Refresh(value) end, [2] = function(value)
Dropdown:Set(value) end }
end
else
Dropdown.FValue = value
self:Update()
Dropdown:Display()
pcall(DropdownOptions.Callback,
Dropdown.FValue)
UserInterface.Flags[DropdownOptions.Flag] =
Dropdown.FValue
UserInterface.Flags[DropdownOptions.Flag ..
"f"] = { [1] = function(value) Dropdown:Refresh(value) end, [2] = function(value)
Dropdown:Set(value) end }
end
return Dropdown
end
function Dropdown:Refresh(tbl)
for _,v in pairs(Dropdown.FValues) do
v.Objects.Name:Destroy()
v = nil
end
if DropdownOptions.Multi then
table.clear(Dropdown.FValue)
Count = 0
Dropdown:Display()
pcall(DropdownOptions.Callback,
Dropdown.FValue)
UserInterface.Flags[DropdownOptions.Flag] =
Dropdown.FValue
UserInterface.Flags[DropdownOptions.Flag ..
"f"] = { [1] = function(value) Dropdown:Refresh(value) end, [2] = function(value)
Dropdown:Set(value) end }
else
Count = 0
Dropdown.FValue = nil
Dropdown:Update()
Dropdown:Display()
pcall(DropdownOptions.Callback,
Dropdown.FValue)
UserInterface.Flags[DropdownOptions.Flag] =
Dropdown.FValue
UserInterface.Flags[DropdownOptions.Flag ..
"f"] = { [1] = function(value) Dropdown:Refresh(value) end, [2] = function(value)
Dropdown:Set(value) end }
end
for _, v in pairs(tbl) do
Dropdown:CreateValue(v)
end
Dropdown:Set(DropdownOptions.Default)
return Dropdown
end
for _, v in pairs(DropdownOptions.Content) do
Dropdown:CreateValue(v)
end
Dropdown:Set(DropdownOptions.Default)
OpenButton.MouseButton1Click:Connect(function ()
if UserInterface.Popup and UserInterface.Popup.ID
~= DropdownHolder.Name then
UserInterface:RemovePopups()
end
if Inline.Visible then
contentAnimations:Close()
Inline.ZIndex = 3
else
UserInterface:NewPopup({ Remove =
contentAnimations.Close, ID = DropdownHolder.Name })
Inline.ZIndex = 4
contentAnimations:Open()
end
end)
UserInterface.ConfigFlags[DropdownOptions.Flag] =
function(state) Dropdown:Set(state) end
increaseYSize(40)
return DropdownOptions, Dropdown
end
end
do -- src/Lua/Interface/Components/Keybind.lua
function Options:Keybind(Configuration, toggle)
local KeybindOptions = {
Title = Configuration.title or "",
Mode = Configuration.mode or "Toggle",
Key = Configuration.key or "",
Callback = Configuration.callback or function()
end,
KeybindsList = Configuration.keybindlist or false,
KeybindListName = Configuration.keybindname or
self.Title,
Flag = UserInterface:GetNextFlag()
}
local Keybind = {
FMode = KeybindOptions.Mode,
FKey = KeybindOptions.Key,
Toggled = false,
Picking = false,
Modes = {},
}
KeybindButton.Name = "KeybindButton"
KeybindButton.Parent = KeybindHolder
KeybindButton.BackgroundColor3 = Color3FromRGB(21, 21,
21)
KeybindButton.BorderColor3 = Color3FromRGB(34, 34, 34)
KeybindButton.Position = UDim2New(0.703056753, 0, 0, 0)
KeybindButton.Size = UDim2New(0, 68, 0, 14)
KeybindButton.Font = Enum.Font.SourceSans
KeybindButton.Text = "key : NONE"
KeybindButton.TextColor3 = Color3FromRGB(255, 255, 255)
KeybindButton.TextSize = 14.000
KeybindButton.ZIndex = 2
KeybindButton.AutoButtonColor = false
KeybindInline.Name = "KeybindInline"
KeybindInline.Parent = KeybindHolder
KeybindInline.BackgroundColor3 = Color3FromRGB(170,
170, 255)
KeybindInline.BackgroundTransparency = 1.000
KeybindInline.BorderColor3 = Color3FromRGB(0, 0, 0)
KeybindInline.BorderSizePixel = 0
KeybindInline.Position = UDim2New(0.943231463, 0, 0, 0)
KeybindInline.Size = UDim2New(0, 13, 0, 13)
KeybindInline.Visible = false
KeybindContent.Name = "KeybindContent"
KeybindContent.Parent = KeybindInline
KeybindContent.BackgroundColor3 = Color3FromRGB(21, 21,
21)
KeybindContent.BorderColor3 = Color3FromRGB(34, 34, 34)
KeybindContent.Position = UDim2New(-4.23076916, 0, 1.2,
0)
KeybindContent.Size = UDim2New(0, 68, 0, 0)
KeybindContent.ZIndex = 3
KBContent.Name = "KBContent"
KBContent.Parent = KeybindContent
KBContent.SortOrder = Enum.SortOrder.LayoutOrder
local contentAnimations = {
Open = function ( self )
KeybindContent.Visible = true
KeybindInline.Visible = true
self:FadeIn()
end,
FadeIn = function ()
for _, object in
pairs( KeybindContent:GetDescendants() ) do
if object:IsA("Frame") then
tweenService:Create(object,
TweenInfo.new(0.1), { BackgroundTransparency = 0 }):Play()
elseif object:IsA("TextButton") then
tweenService:Create(object,
TweenInfo.new(0.1), { TextTransparency = 0 }):Play()
end
end
end,
FadeOut = function ()
for _, object in
pairs( KeybindContent:GetDescendants() ) do
if object:IsA("Frame") then
tweenService:Create(object,
TweenInfo.new(0.1), { BackgroundTransparency = 1 }):Play()
elseif object:IsA("TextButton") then
tweenService:Create(object,
TweenInfo.new(0.1), { TextTransparency = 1 }):Play()
end
end
end
}
function contentAnimations:Close()
contentAnimations:FadeOut()
TaskWait(0.05)
KeybindContent.Visible = false
KeybindInline.Visible = false
end
function Keybind:UpdateList()
if UserInterface.KeybindList and
KeybindOptions.KeybindsList then
UserInterface.KeybindList:Add(KeybindOptions.KeybindListName, Keybind.FMode)
UserInterface.KeybindList:SetVisibility(KeybindOptions.KeybindListName,
KeybindOptions:GetState())
UserInterface.KeybindList:SetMode(KeybindOptions.KeybindListName, Keybind.FMode)
end
end
function Keybind:Value(info)
if info then
if info[1] then
local Key = info[1]
KeybindButton.Text = "key : " .. (Key ==
"NONE" or Key == "" and "NONE" or Key)
Keybind.FKey = Key
else
KeybindButton.Text = "key : NONE"
end
if info[2] then
Keybind.Modes[info[2]]:Click(info[2] ==
"Toggle" and true or false)
end
Keybind:UpdateList()
end
return Keybind
end
function KeybindOptions:GetState()
if Keybind.FMode == "Always" then
return true
elseif Keybind.FMode == "Hold" then
if Keybind.FKey == "NONE" then
return false
end
return Keybind.Toggled
else
if Keybind.FKey == "NONE" then
return false
end
return Keybind.Toggled
end
end
function Button:Click(igr)
for _,v in pairs(Keybind.Modes) do
v:Unclick()
end
Keybind.FMode = v
KeybindInline.Visible = false
Keybind:UpdateList()
function Button:Unclick()
KB_Button.TextColor3 = Color3FromRGB(129, 129,
127)
end
if v == Keybind.FMode then
Button:Click()
end
KB_Button.MouseButton1Down:Connect(Button.Click)
theme_event.Event:Connect(function ()
if v == Keybind.FMode then
KB_Button.TextColor3 = theme.accent
end
end)
Keybind.Modes[v] = Button
end
KeybindButton.InputBegan:Connect(function (input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 then
Keybind.Picking = true
KeybindButton.Text = "..."
TaskWait(0.02)
if input.UserInputType ==
Enum.UserInputType.Keyboard and input.KeyCode.Name == "Escape" then
Keybind.FKey = "NONE"
elseif input.UserInputType ==
Enum.UserInputType.Keyboard then
Keybind.FKey = input.KeyCode.Name
elseif input.UserInputType ==
Enum.UserInputType.MouseButton1 then
Keybind.FKey = "MB1"
elseif input.UserInputType ==
Enum.UserInputType.MouseButton2 then
Keybind.FKey = "MB2"
end
Break = true
Keybind.Picking = false
pcall(KeybindOptions.Callback,
KeybindOptions:GetState())
UserInterface.Flags[KeybindOptions.Flag] =
KeybindOptions:GetState()
UserInterface.Flags[KeybindOptions.Flag ..
"_info"] = {Keybind.FKey, Keybind.FMode}
Keybind:UpdateList()
Event:Disconnect()
end)
end
if input.UserInputType ==
Enum.UserInputType.MouseButton2 then
if UserInterface.Popup and
UserInterface.Popup.ID ~= KeybindHolder.Name then
UserInterface:RemovePopups()
end
if KeybindInline.Visible then
contentAnimations:Close()
else
UserInterface:NewPopup({ Remove =
contentAnimations.Close, ID = KeybindHolder.Name })
contentAnimations:Open()
end
end
end)
inputService.InputBegan:Connect(function ( input,
gameprocessing )
if gameprocessing then return end
-- mousebutton niggassss
local mb = Keybind.FKey == "MB2" and "MouseButton2"
or Keybind.FKey == "MB1" and "MouseButton1"
if input.KeyCode.Name == Keybind.FKey or
input.UserInputType.Name == mb then
if Keybind.FMode == 'Toggle' then
Keybind.Toggled = not Keybind.Toggled
elseif Keybind.FMode == 'Hold' then
Keybind.Toggled = true
local c; c =
inputService.InputEnded:Connect(function ( input )
if input.KeyCode.Name == Keybind.FKey
or input.UserInputType.Name == mb then
c:Disconnect()
Keybind.Toggled = false
pcall(KeybindOptions.Callback,
KeybindOptions:GetState())
Keybind:UpdateList()
end
end)
end
pcall(KeybindOptions.Callback,
KeybindOptions:GetState())
UserInterface.Flags[KeybindOptions.Flag] =
KeybindOptions:GetState()
UserInterface.Flags[KeybindOptions.Flag ..
"_info"] = {Keybind.FKey, Keybind.FMode}
Keybind:UpdateList()
end
end)
increaseYSize(14)
UserInterface.Flags[KeybindOptions.Flag] =
KeybindOptions:GetState()
UserInterface.Flags[KeybindOptions.Flag .. "_info"] =
{Keybind.FKey, Keybind.FMode}
UserInterface.ConfigFlags[KeybindOptions.Flag ..
"_info"] = function(info) Keybind:Value(info) end
return KeybindOptions
end
end
do -- src/Lua/Interface/Components/Label.lua
function Options:Label(text, richtext)
local LabelOptions = {}
function LabelOptions:ChangeText(newtext)
if not type(newtext) == "string" then return end
local new = tostring(newtext)
Label.Text = new
end
increaseYSize(14)
return LabelOptions
end
end
do -- src/Lua/Interface/Components/Playerlist.lua
function Options:PlayerList()
local PlayerlistHolder = InstanceNew("Frame")
local SearchBar = InstanceNew("TextBox")
local SearchTitle = InstanceNew("TextLabel")
local Players = InstanceNew("ScrollingFrame")
local ListLayout = InstanceNew("UIListLayout")
PlayerlistHolder.Name = "PlayerlistHolder"
PlayerlistHolder.Parent = SectionColumnComponents
PlayerlistHolder.Size = UDim2New(1, 0, 0, 316)
PlayerlistHolder.BorderColor3 = Color3FromRGB(0, 0, 0)
PlayerlistHolder.BackgroundTransparency = 1
PlayerlistHolder.Position = UDim2New(0, 0, -
1.17375305e-06, 0)
PlayerlistHolder.BorderSizePixel = 0
PlayerlistHolder.BackgroundColor3 = Color3FromRGB(255,
255, 255)
SearchBar.Name = "SearchBar"
SearchBar.Parent = PlayerlistHolder
SearchBar.Size = UDim2New(0, 160, 0, 17)
SearchBar.BorderColor3 = Color3FromRGB(31, 31, 31)
SearchBar.BackgroundColor3 = Color3FromRGB(21, 21, 21)
SearchBar.TextSize = 14
SearchBar.TextColor3 = Color3FromRGB(255, 255, 255)
SearchBar.Text = ""
SearchBar.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
SearchBar.TextXAlignment = Enum.TextXAlignment.Left
SearchTitle.Name = "SearchTitle"
SearchTitle.Parent = SearchBar
SearchTitle.Size = UDim2New(0, 63, 0, 17)
SearchTitle.BorderColor3 = Color3FromRGB(0, 0, 0)
SearchTitle.BackgroundTransparency = 1
SearchTitle.Position = UDim2New(1.03750002, 0, 0, 0)
SearchTitle.BorderSizePixel = 0
SearchTitle.BackgroundColor3 = Color3FromRGB(255, 255,
255)
SearchTitle.TextColor3 = Color3FromRGB(255, 255, 255)
SearchTitle.Text = "search"
SearchTitle.TextXAlignment = Enum.TextXAlignment.Left
SearchTitle.TextSize = 14
SearchTitle.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
Players.Name = "Players"
Players.Parent = PlayerlistHolder
Players.Active = true
Players.Size = UDim2New(0, 229, 0, 300)
Players.BorderColor3 = Color3FromRGB(0, 0, 0)
Players.BackgroundTransparency = 1
Players.Position = UDim2New(0, 0, 0.075000003, 0)
Players.BorderSizePixel = 0
Players.BackgroundColor3 = Color3FromRGB(255, 255, 255)
Players.ScrollBarImageColor3 = Color3FromRGB(0, 255,
255)
Players.AutomaticCanvasSize = Enum.AutomaticSize.Y
Players.ScrollBarThickness = 5
ListLayout.Name = "ListLayout"
ListLayout.Parent = Players
ListLayout.Padding = UDim.new(0, 7)
ListLayout.Changed:Connect(function ()
Players.CanvasSize = UDim2New(0, 0, 0, 8 +
ListLayout.AbsoluteContentSize.Y)
end)
local PlayerOptions = {
CurrentPlayer = ""
}
function PlayerOptions:Clear()
for _, child in ipairs(Players:GetChildren()) do
if child:IsA("Frame") then
child:Destroy()
end
end
end
local DisplayName
if player.Character then
local hum =
player.Character:FindFirstChild("Humanoid")
if hum then
DisplayName =
player.Character.Humanoid.DisplayName
else
DisplayName = player_name
end
else
DisplayName = player_name
end
PlayerImage.Name = "PlayerImage"
PlayerImage.Parent = PlayerFrame
PlayerImage.Size = UDim2New(0, 19, 0, 19)
PlayerImage.BorderColor3 = Color3FromRGB(0, 0, 0)
PlayerImage.BorderSizePixel = 0
PlayerImage.BackgroundColor3 = Color3FromRGB(255,
255, 255)
PlayerImage.BackgroundTransparency = 1
PlayerImage.Image = "https://www.roblox.com/bust-
thumbnail/image?userId=" .. player.UserId .. "&width=19&height=19&format=png"
PlayerName.Name = "PlayerName"
PlayerName.Parent = PlayerImage
PlayerName.Size = UDim2New(0, 205, 0, 19)
PlayerName.BorderColor3 = Color3FromRGB(0, 0, 0)
PlayerName.BackgroundTransparency = 1
PlayerName.Position = UDim2New(1.26315784, 0, 0, 0)
PlayerName.BorderSizePixel = 0
PlayerName.BackgroundColor3 = Color3FromRGB(255,
255, 255)
PlayerName.TextColor3 = Color3FromRGB(129, 129,
127)
PlayerName.Text = string.format("%s (@%s)",
player_name, DisplayName)
PlayerName.TextXAlignment =
Enum.TextXAlignment.Left
PlayerName.TextSize = 14
PlayerName.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
PlayerName.TextTruncate = "AtEnd"
if self_conn then
self_conn:Disconnect(); self_conn = nil
end
else
for i, v in
ipairs(Players:GetDescendants()) do
if v.Name == "PlayerName" then
v.TextColor3 = Color3FromRGB(129,
129, 127)
end
end
PlayerName.TextColor3 = theme.accent
PlayerOptions.CurrentPlayer = player_name
PlayerName.MouseButton1Click:Connect(fucking_click)
end
function PlayerOptions:Refresh()
PlayerOptions:Clear()
function PlayerOptions:GetPlayers()
return Players:GetChildren()
end
function PlayerOptions:Search()
local search = string.lower(SearchBar.Text)
for i, v in pairs(Players:GetChildren()) do
if v:IsA("Frame") then
if search ~= "" then
local commanditemlist =
string.lower(v.Name)
if string.find(commanditemlist, search)
then
v.Visible = true
else
v.Visible = false
end
else
v.Visible = true
end
end
end
end
function PlayerOptions:GetCurrentPlayer()
return PlayerOptions.CurrentPlayer
end
function PlayerOptions:Init()
-- init
PlayerOptions:Refresh()
SearchBar.Changed:Connect(PlayerOptions.Search)
playerService.PlayerAdded:Connect(PlayerOptions.Refresh)
playerService.PlayerRemoving:Connect(PlayerOptions.Refresh)
end
PlayerOptions:Init()
increaseYSize(310)
return PlayerOptions
end
end
do -- src/Lua/Interface/Components/Slider.lua
function Options:Slider(Configuration)
local SliderOptions = {
Title = Configuration.title or "slider",
Min = Configuration.min or 1,
Max = Configuration.max or 10,
Float = Configuration.float or 1,
Default = Configuration.default or 0,
Value = 0,
Callback = Configuration.callback or function()
end,
Sliding = false,
Suffix = Configuration.suffix or "",
Flag = UserInterface:GetNextFlag(),
}
SliderOptions.MinText = Configuration.mintext or
tostring(SliderOptions.Min)
SliderOptions.MaxText = Configuration.maxtext or
tostring(SliderOptions.Max)
Slider.Name = "Slider"
Slider.Parent = SectionColumnComponents
Slider.BackgroundColor3 = Color3FromRGB(255, 255, 255)
Slider.BackgroundTransparency = 1.000
Slider.BorderColor3 = Color3FromRGB(0, 0, 0)
Slider.BorderSizePixel = 0
Slider.Size = UDim2New(0, 229, 0, 30)
SliderInline.Name = "SliderInline"
SliderInline.Parent = Slider
SliderInline.BackgroundColor3 = Color3FromRGB(21, 21,
21)
SliderInline.BorderColor3 = Color3FromRGB(0, 0, 0)
SliderInline.BorderSizePixel = 0
SliderInline.Position = UDim2New(0, 0, 0.766666651, 0)
SliderInline.Size = UDim2New(0, 160, 0, 7)
InlineCorner.CornerRadius = UDim.new(0, 2)
InlineCorner.Name = "InlineCorner"
InlineCorner.Parent = SliderInline
SliderBackground.Name = "SliderBackground"
SliderBackground.Parent = SliderInline
SliderBackground.BackgroundColor3 = Color3FromRGB(21,
21, 21)
SliderBackground.BorderColor3 = Color3FromRGB(0, 0, 0)
SliderBackground.BorderSizePixel = 0
SliderBackground.Position = UDim2New(0, 0, -
0.00999999978, 0)
SliderBackground.Size = UDim2New(0, 160, 1, 0)
BackgroundCorner.CornerRadius = UDim.new(0, 2)
BackgroundCorner.Name = "BackgroundCorner"
BackgroundCorner.Parent = SliderBackground
SliderFill.Name = "SliderFill"
SliderFill.Parent = SliderBackground
SliderFill.BackgroundColor3 = Color3FromRGB(172, 153,
159)
SliderFill.BorderColor3 = Color3FromRGB(0, 0, 0)
SliderFill.BorderSizePixel = 0
SliderFill.Position = UDim2New(0, 0, 0, 0)
SliderFill.Size = UDim2New(0, 0, 1, 0)
FillCorner.CornerRadius = UDim.new(0, 2)
FillCorner.Name = "FillCorner"
FillCorner.Parent = SliderFill
SliderDrag.Name = "SliderDrag"
SliderDrag.Parent = SliderBackground
SliderDrag.BackgroundColor3 = Color3FromRGB(21, 21, 21)
SliderDrag.BackgroundTransparency = 1.000
SliderDrag.BorderColor3 = Color3FromRGB(0, 0, 0)
SliderDrag.BorderSizePixel = 0
SliderDrag.Position = UDim2New(0, 0, -0.00999999978, 0)
SliderDrag.Size = UDim2New(1, 0, 1, 0)
DragCorner.CornerRadius = UDim.new(0, 2)
DragCorner.Name = "DragCorner"
DragCorner.Parent = SliderDrag
local X = UIModule:GetTextBoundary(SliderOptions.Title,
Enum.Font.SourceSans, 14)
SliderName.Name = "SliderName"
SliderName.Parent = Slider
SliderName.BackgroundColor3 = Color3FromRGB(255, 255,
255)
SliderName.BackgroundTransparency = 1.000
SliderName.BorderColor3 = Color3FromRGB(0, 0, 0)
SliderName.BorderSizePixel = 0
SliderName.Size = UDim2New(0, 28, 0, 20)
SliderName.FontFace =
Font.new([[rbxasset://fonts/families/SourceSansPro.json]])
SliderName.Text = SliderOptions.Title
SliderName.TextColor3 = Color3FromRGB(255, 255, 255)
SliderName.TextSize = 14.000
SliderName.TextXAlignment = Enum.TextXAlignment.Left
SliderValue.Name = "SliderValue"
SliderValue.Parent = Slider
SliderValue.BackgroundColor3 = Color3FromRGB(255, 255,
255)
SliderValue.BackgroundTransparency = 1.000
SliderValue.BorderColor3 = Color3FromRGB(0, 0, 0)
SliderValue.BorderSizePixel = 0
SliderValue.Position = UDim2New(0, X + 3, 0, 0)
SliderValue.Size = UDim2New(0,
SliderValue.TextBounds.X, 0, 20)
SliderValue.Font = Enum.Font.SourceSans
SliderValue.Text = SliderOptions.Value ..
SliderOptions.Suffix
SliderValue.TextColor3 = Color3FromRGB(124, 124, 124)
SliderValue.TextSize = 14.000
SliderValue.TextXAlignment = Enum.TextXAlignment.Left
theme_event.Event:Connect(function ()
SliderFill.BackgroundColor3 = theme.accent
SliderFillStroke.Color = theme.accent
end)
function SliderOptions:Set(value)
value = math.clamp(Round(value,
SliderOptions.Float), SliderOptions.Min, SliderOptions.Max)
SliderOptions.Value = value
tweenService:Create(SliderFill, TweenInfo.new(0.13,
Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = UDim2New(Size, 0, 1,
0)}):Play()
SliderOptions.Callback(value)
UserInterface.Flags[SliderOptions.Flag] =
SliderOptions.Value
function SliderOptions:Slide(input)
local Size = (input.Position.X -
SliderBackground.AbsolutePosition.X) / SliderBackground.AbsoluteSize.X
local Value = math.clamp((SliderOptions.Max -
SliderOptions.Min) * Size + SliderOptions.Min, SliderOptions.Min,
SliderOptions.Max)
self:Set(Value)
end
SliderOptions:Set(SliderOptions.Default)
SliderDrag.MouseEnter:Connect(function ()
tweenService:Create(SliderBackgroundStroke,
TweenInfo.new(0.2), {Color = Color3FromRGB(255,255,255) }):Play()
end)
SliderDrag.MouseLeave:Connect(function ()
tweenService:Create(SliderBackgroundStroke,
TweenInfo.new(0.2), {Color = Color3FromRGB(32, 32, 32) }):Play()
end)
SliderDrag.InputBegan:Connect(function (input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 then
SliderOptions.Sliding = true
SliderOptions:Slide(input)
end
end)
SliderDrag.InputEnded:Connect(function (input)
if input.UserInputType ==
Enum.UserInputType.MouseButton1 then
SliderOptions.Sliding = false
SliderOptions:Slide(input)
end
end)
SliderDrag.InputChanged:Connect(function (input)
if input.UserInputType ==
Enum.UserInputType.MouseMovement and SliderOptions.Sliding then
SliderOptions:Slide(input)
end
end)
UserInterface.ConfigFlags[SliderOptions.Flag] =
function(value) SliderOptions:Set(value) end
increaseYSize(30)
return SliderOptions
end
end
do -- src/Lua/Interface/Components/Textbox.lua
function Options:TextBox(Configuration)
local TextBoxOptions = {
Title = Configuration.title or "textbox",
Default = Configuration.default or "",
Placeholder = Configuration.placeholder or "",
ClearTextOnFocus = Configuration.cleartextonfocus
or Configuration.ctf or true,
Callback = Configuration.callback or function()
end,
Text = "",
Flag = UserInterface:GetNextFlag()
}
TextboxCorner.CornerRadius = UDim.new(0, 4)
TextboxCorner.Name = "TextboxCorner"
TextboxCorner.Parent = TextBox
function TextBoxOptions:Set(Text)
Text = Text or ""
TextBox.Text = Text
TextBoxOptions.Text = TextBox.Text
UserInterface.Flags[TextBoxOptions.Flag] =
TextBoxOptions.Text
UserInterface.Flags[TextBoxOptions.Flag .. "f"] =
function(value) TextBoxOptions:Set(value) end
pcall(TextBoxOptions.Callback, TextBoxOptions.Text)
end
TextBox.FocusLost:Connect(OnFocusLost)
increaseYSize(14)
UserInterface.ConfigFlags[TextBoxOptions.Flag] =
function(text) TextBoxOptions:Set(text) end
return TextBoxOptions
end
end
do -- src/Lua/Interface/Components/Toggle.lua
function Options:Toggle(Configuration)
local ToggleOptions = {
title = Configuration.title or "toggle",
default = Configuration.default or false,
state = false,
callback = Configuration.callback or function()
end,
Flag = UserInterface:GetNextFlag()
}
UI["19"] = InstanceNew("TextButton",
SectionColumnComponents)
UI["19"]["BorderSizePixel"] = 0
UI["19"]["TextTransparency"] = 1
UI["19"]["TextSize"] = 14
UI["19"]["TextColor3"] = Color3FromRGB(255, 255, 255)
UI["19"]["BackgroundColor3"] = Color3FromRGB(255, 255,
255)
UI["19"]["FontFace"] =
Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
UI["19"]["Size"] = UDim2New(0, 229, 0, 15)
UI["19"]["BackgroundTransparency"] = 1
UI["19"]["Name"] = [[ToggleButton]]
UI["19"]["BorderColor3"] = Color3FromRGB(0, 0, 0)
UI["19"]["Text"] = [[Toggle]]
theme_event.Event:Connect(function ()
TS_ON = tweenService:Create(ToggleStatus,
TweenInfo.new(0.2), {
BackgroundColor3 = theme.accent
})
if ToggleOptions.state then
ToggleStatus.BackgroundColor3 = theme.accent
end
end)
function ToggleOptions:Set(boolean)
ToggleOptions.state = boolean
pcall(ToggleOptions.callback, ToggleOptions.state)
UserInterface.Flags[ToggleOptions.Flag] =
ToggleOptions.state
if ToggleOptions.state == true then
ToggleOn()
elseif not ToggleOptions.state then
ToggleOff()
end
end
function ToggleOptions:Keybind(Configuration)
Options:Keybind(Configuration, Button)
end
function ToggleOptions:Colorpicker(Configuration)
Options:Colorpicker(Configuration, Button)
end
ToggleOptions:Set(ToggleOptions.default)
increaseYSize(15)
UserInterface.ConfigFlags[ToggleOptions.Flag] =
function(state) ToggleOptions:Set(state) end
return ToggleOptions
end
end
end
return Options
end
table.insert(Configuration.Tabs, #Configuration.Tabs + 1,
TabConfiguration)
return TabConfiguration
end
UI["2"].InputBegan:Connect(function (input)
if input.UserInputType == Enum.UserInputType.MouseButton1 and not
isMouseInFrame() then
dragObject = UI["2"]
dragging = true
dragStart = input.Position
startPos = dragObject.Position
end
end)
UI["2"].InputEnded:Connect(function (input)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = false
end
end)
UI["2"].InputChanged:Connect(function (input)
if dragging and input.UserInputType.Name == "MouseMovement" then
dragInput = input
end
end)
inputService.InputChanged:Connect(function (input)
if input == dragInput and dragging then
local delta = input.Position - dragStart
local yPos = (startPos.Y.Offset + delta.Y) < -36 and -36 or
startPos.Y.Offset + delta.Y
dragObject:TweenPosition(UDim2New(startPos.X.Scale,
startPos.X.Offset + delta.X, startPos.Y.Scale, yPos), "Out", "Quad", .15, true)
end
end)
do -- src/Lua/Interface/Others/
do -- src/Lua/Interface/Others/CloseOpen.lua
inputService.InputBegan:Connect(function(input, gameproc)
if gameproc then return end
for _, v in pairs(UserInterface.ConfigFlags) do
local Value = UserInterface.Flags[_]
return httpService:JSONEncode(ConfigTable)
end
function UserInterface:LoadConfig(config)
local Config = httpService:JSONDecode(config)
for _, v in pairs(Config) do
local Func = UserInterface.ConfigFlags[_]
if Func then
Func(v)
end
end
end
end
do -- src/Lua/Interface/Others/KeybindsList.lua
function UserInterface:KeybindsList()
local KeybindsList = InstanceNew("Frame")
local KeybindsListCorner = InstanceNew("UICorner")
local KeybindsListTitle = InstanceNew("TextLabel")
local ObjectsList = InstanceNew("Frame")
local ObjectsList_2 = InstanceNew("UIListLayout")
KeybindsList.Name = "KeybindsList"
KeybindsList.Parent = UI["1"]
KeybindsList.BackgroundColor3 = Color3FromRGB(23, 21, 21)
KeybindsList.BorderColor3 = Color3FromRGB(0, 0, 0)
KeybindsList.BorderSizePixel = 0
KeybindsList.Position = UDim2New(0.00636042422, 0, 0.43246755,
0)
KeybindsList.Size = UDim2New(0, 102, 0, 19)
UI.KeybindListo = KeybindsList
KeybindsListCorner.CornerRadius = UDim.new(0, 4)
KeybindsListCorner.Name = "KeybindsListCorner"
KeybindsListCorner.Parent = KeybindsList
KeybindsListTitle.Name = "KeybindsListTitle"
KeybindsListTitle.Parent = KeybindsList
KeybindsListTitle.BackgroundColor3 = Color3FromRGB(255, 255,
255)
KeybindsListTitle.BackgroundTransparency = 1.000
KeybindsListTitle.BorderColor3 = Color3FromRGB(0, 0, 0)
KeybindsListTitle.BorderSizePixel = 0
KeybindsListTitle.Size = UDim2New(1, 0, 1, 0)
KeybindsListTitle.Font = Enum.Font.RobotoMono
KeybindsListTitle.Text = "hotkeys"
KeybindsListTitle.TextColor3 = Color3FromRGB(255, 255, 255)
KeybindsListTitle.TextSize = 12.000
ObjectsList.Name = "ObjectsList"
ObjectsList.Parent = KeybindsList
ObjectsList.BackgroundColor3 = Color3FromRGB(255, 255, 255)
ObjectsList.BackgroundTransparency = 1.000
ObjectsList.BorderColor3 = Color3FromRGB(0, 0, 0)
ObjectsList.BorderSizePixel = 0
ObjectsList.Position = UDim2New(0, 0, 1, 0)
ObjectsList.Size = UDim2New(0, 102, 0, 13)
ObjectsList_2.Name = "ObjectsList"
ObjectsList_2.Parent = ObjectsList
ObjectsList_2.SortOrder = Enum.SortOrder.LayoutOrder
local KeybindsListOptions = {}
UserInterface.KeybindList = KeybindsListOptions
HotkeyFrame.Name = title
HotkeyFrame.Parent = ObjectsList
HotkeyFrame.BackgroundColor3 = Color3FromRGB(255, 255, 255)
HotkeyFrame.BackgroundTransparency = 1.000
HotkeyFrame.BorderColor3 = Color3FromRGB(0, 0, 0)
HotkeyFrame.BorderSizePixel = 0
HotkeyFrame.Size = UDim2New(0, 102, 0, 12)
HotkeyTitle.Name = "HotkeyTitle"
HotkeyTitle.Parent = HotkeyFrame
HotkeyTitle.BackgroundColor3 = Color3FromRGB(255, 255, 255)
HotkeyTitle.BackgroundTransparency = 1.000
HotkeyTitle.BorderColor3 = Color3FromRGB(0, 0, 0)
HotkeyTitle.BorderSizePixel = 0
HotkeyTitle.Size = UDim2New(1, 0, 0, 12)
HotkeyTitle.Font = Enum.Font.RobotoMono
HotkeyTitle.Text = title
HotkeyTitle.TextColor3 = Color3FromRGB(255, 255, 255)
HotkeyTitle.TextSize = 12.000
HotkeyTitle.TextXAlignment = Enum.TextXAlignment.Left
HotkeyState.Name = "HotkeyState"
HotkeyState.Parent = HotkeyFrame
HotkeyState.BackgroundColor3 = Color3FromRGB(255, 255, 255)
HotkeyState.BackgroundTransparency = 1.000
HotkeyState.BorderColor3 = Color3FromRGB(0, 0, 0)
HotkeyState.BorderSizePixel = 0
HotkeyState.Size = UDim2New(1, 0, 0, 12)
HotkeyState.Font = Enum.Font.RobotoMono
HotkeyState.Text = string.lower(state)
HotkeyState.TextColor3 = Color3FromRGB(255, 255, 255)
HotkeyState.TextSize = 12.000
HotkeyState.TextXAlignment = Enum.TextXAlignment.Right
table.insert(UserInterface.KeybindsListObjects, title)
return Options
end
function KeybindsListOptions:SetInterfaceVisibility(Visibility)
KeybindsList.Visible = Visibility
end
return KeybindsListOptions
end
end
do -- src/Lua/Interface/Others/Popups.lua
function UserInterface:RemovePopups()
if UserInterface.Popup then
UserInterface.Popup:Remove()
UserInterface.Popup = nil
end
end
function UserInterface:NewPopup(Configuration)
UserInterface.Popup = {
Remove = Configuration.Remove,
ID = Configuration.ID
}
end
end
do -- src/Lua/Interface/Others/Watermark.lua
function UserInterface:Watermark(text)
-- add more customization to this shit please.
--[[
Adding Soon :
Watermark Text Triggers
]]
WatermarkCorner.CornerRadius = UDim.new(0, 4)
WatermarkCorner.Name = "WatermarkCorner"
WatermarkCorner.Parent = Watermark
WatermarkTitle.Name = "WatermarkTitle"
WatermarkTitle.Parent = Watermark
WatermarkTitle.BackgroundColor3 = Color3FromRGB(255, 255, 255)
WatermarkTitle.BackgroundTransparency = 1.000
WatermarkTitle.BorderColor3 = Color3FromRGB(0, 0, 0)
WatermarkTitle.BorderSizePixel = 0
WatermarkTitle.Size = UDim2New(1, 0, 1, 0)
WatermarkTitle.Font = Enum.Font.Code
WatermarkTitle.Text = text
WatermarkTitle.TextColor3 = Color3FromRGB(255, 255, 255)
WatermarkTitle.TextSize = 13.000
WatermarkTitle.RichText = true
local WatermarkOptions = {}
function WatermarkOptions:ChangeText(newtext)
if type(newtext) ~= "string" then return end
WatermarkTitle.Text = tostring(newtext)
local TBX = UIModule:GetTextBoundary(newtext,
Enum.Font.Code, 13)
Watermark.Size = UDim2New(0, TBX + 10, 0, 20)
end
function WatermarkOptions:SetVisibility(visibility)
Watermark.Visible = visibility
end
function WatermarkOptions:SetPosition(v2Pos)
Watermark.Position = UDim2New(0, v2Pos.X, 0, v2Pos.Y)
end
return WatermarkOptions
end
end
end
return Configuration
end
return UserInterface
end)()
function loaderOptions:new()
local Loader = Instance.new("ScreenGui")
Loader.Name = "Loader"
Loader.Parent = coreguiService
LoaderBackground.Name = "LoaderBackground"
LoaderBackground.Parent = Loader
LoaderBackground.Size = UDim2.new(0, 345, 0, 194)
LoaderBackground.BorderColor3 = Color3.fromRGB(0, 0, 0)
LoaderBackground.Position = UDim2.new(0.393320978, 0, 0.377049178, 0)
LoaderBackground.BorderSizePixel = 0
LoaderBackground.BackgroundColor3 = Color3.fromRGB(23, 23, 23)
BackgroundCorner.Name = "BackgroundCorner"
BackgroundCorner.Parent = LoaderBackground
BackgroundStroke.Name = "BackgroundStroke"
BackgroundStroke.Parent = LoaderBackground
BackgroundStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
BackgroundStroke.Color = Color3.fromRGB(30, 32, 30)
BackgroundStroke.Thickness = 2
MainTitle.Name = "MainTitle"
MainTitle.Parent = LoaderBackground
MainTitle.Size = UDim2.new(0, 81, 0, 20)
MainTitle.BorderColor3 = Color3.fromRGB(0, 0, 0)
MainTitle.BackgroundTransparency = 1
MainTitle.Position = UDim2.new(0, 6, 0, 6)
MainTitle.BorderSizePixel = 0
MainTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
MainTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
MainTitle.Text = "drax.dahood"
MainTitle.TextStrokeTransparency = 0
MainTitle.TextSize = 16
MainTitle.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
InfoFrame.Name = "InfoFrame"
InfoFrame.Parent = LoaderBackground
InfoFrame.Size = UDim2.new(0, 332, 0, 103)
InfoFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
InfoFrame.Position = UDim2.new(0.0173913036, 0, 0.164948449, 0)
InfoFrame.BorderSizePixel = 0
InfoFrame.BackgroundColor3 = Color3.fromRGB(16, 16, 16)
InfoFrameStroke.Name = "InfoFrameStroke"
InfoFrameStroke.Parent = InfoFrame
InfoFrameStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
InfoFrameStroke.Color = Color3.fromRGB(28, 28, 28)
InfoFrameCorner.Name = "InfoFrameCorner"
InfoFrameCorner.Parent = InfoFrame
InfoTitle.Name = "InfoTitle"
InfoTitle.Parent = InfoFrame
InfoTitle.Size = UDim2.new(0, 326, 0, 16)
InfoTitle.BorderColor3 = Color3.fromRGB(0, 0, 0)
InfoTitle.BackgroundTransparency = 1
InfoTitle.Position = UDim2.new(0.0180722885, 0, 0, 0)
InfoTitle.BorderSizePixel = 0
InfoTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
InfoTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
InfoTitle.Text = "Information"
InfoTitle.TextXAlignment = Enum.TextXAlignment.Left
InfoTitle.TextSize = 16
InfoTitle.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
Information.Name = "Information"
Information.Parent = InfoFrame
Information.Size = UDim2.new(0, 233, 0, 87)
Information.BorderColor3 = Color3.fromRGB(0, 0, 0)
Information.BackgroundTransparency = 1
Information.Position = UDim2.new(0.298192769, 0, 0.155339807, 0)
Information.BorderSizePixel = 0
Information.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Information.TextYAlignment = Enum.TextYAlignment.Top
Information.TextColor3 = Color3.fromRGB(255, 255, 255)
Information.Text = "Version Loaded : Da Hood"
Information.TextXAlignment = Enum.TextXAlignment.Left
Information.TextSize = 14
Information.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
InfoGame.Name = "InfoGame"
InfoGame.Parent = InfoFrame
InfoGame.Size = UDim2.new(0, 81, 0, 81)
InfoGame.BorderColor3 = Color3.fromRGB(25, 25, 25)
InfoGame.Position = UDim2.new(0.036144577, 0, 0.155339807, 0)
InfoGame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
InfoGame.Image = "rbxassetid://18175856299"
OptionsFrame.Name = "OptionsFrame"
OptionsFrame.Parent = LoaderBackground
OptionsFrame.Size = UDim2.new(0, 332, 0, 47)
OptionsFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
OptionsFrame.Position = UDim2.new(0.0173913036, 0, 0.726804137, 0)
OptionsFrame.BorderSizePixel = 0
OptionsFrame.BackgroundColor3 = Color3.fromRGB(16, 16, 16)
OptionsFrameStroke.Name = "OptionsFrameStroke"
OptionsFrameStroke.Parent = OptionsFrame
OptionsFrameStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
OptionsFrameStroke.Color = Color3.fromRGB(28, 28, 28)
OptionsFrameCorner.Name = "OptionsFrameCorner"
OptionsFrameCorner.Parent = OptionsFrame
OptionsTitle.Name = "OptionsTitle"
OptionsTitle.Parent = OptionsFrame
OptionsTitle.Size = UDim2.new(0, 326, 0, 16)
OptionsTitle.BorderColor3 = Color3.fromRGB(0, 0, 0)
OptionsTitle.BackgroundTransparency = 1
OptionsTitle.Position = UDim2.new(0.0180722885, 0, 0, 0)
OptionsTitle.BorderSizePixel = 0
OptionsTitle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
OptionsTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
OptionsTitle.Text = "Options"
OptionsTitle.TextXAlignment = Enum.TextXAlignment.Left
OptionsTitle.TextSize = 16
OptionsTitle.FontFace =
Font.new("rbxasset://fonts/families/SourceSansPro.json", Enum.FontWeight.Regular,
Enum.FontStyle.Normal)
Load_2.Name = "Load"
Load_2.Parent = OptionsFrame
Load_2.ZIndex = 2
Load_2.Size = UDim2.new(0, 153, 0, 17)
Load_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
Load_2.Position = UDim2.new(0.036144577, 0, 0.46808511, 0)
Load_2.BorderSizePixel = 0
Load_2.BackgroundColor3 = Color3.fromRGB(21, 21, 21)
Load_2.AutoButtonColor = false
Load_2.TextColor3 = Color3.fromRGB(255, 255, 255)
Load_2.Text = "load"
Load_2.TextStrokeTransparency = 1.0099999904632568
Load_2.TextSize = 14
Load_2.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json",
Enum.FontWeight.Regular, Enum.FontStyle.Normal)
LoadBCorner.Name = "LoadBCorner"
LoadBCorner.Parent = Load_2
LoadBCorner.CornerRadius = UDim.new(0, 4)
LoadBStroke.Name = "LoadBStroke"
LoadBStroke.Parent = Load_2
LoadBStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
LoadBStroke.Color = Color3.fromRGB(37, 37, 37)
Exit.Name = "Exit"
Exit.Parent = OptionsFrame
Exit.ZIndex = 2
Exit.Size = UDim2.new(0, 153, 0, 17)
Exit.BorderColor3 = Color3.fromRGB(0, 0, 0)
Exit.Position = UDim2.new(0.515060246, 0, 0.46808511, 0)
Exit.BorderSizePixel = 0
Exit.BackgroundColor3 = Color3.fromRGB(21, 21, 21)
Exit.AutoButtonColor = false
Exit.TextColor3 = Color3.fromRGB(255, 255, 255)
Exit.Text = "exit"
Exit.TextStrokeTransparency = 1.0099999904632568
Exit.TextSize = 14
Exit.FontFace = Font.new("rbxasset://fonts/families/SourceSansPro.json",
Enum.FontWeight.Regular, Enum.FontStyle.Normal)
ExitBCorner.Name = "ExitBCorner"
ExitBCorner.Parent = Exit
ExitBCorner.CornerRadius = UDim.new(0, 4)
ExitBStroke.Name = "ExitBStroke"
ExitBStroke.Parent = Exit
ExitBStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
ExitBStroke.Color = Color3.fromRGB(37, 37, 37)
Shadow1.Name = "Shadow1"
Shadow1.Parent = LoaderBackground
Shadow1.AnchorPoint = Vector2.new(0.5, 0.5)
Shadow1.ZIndex = 0
Shadow1.Size = UDim2.new(1.20727181, 0, 3.67960405, 0)
Shadow1.BorderColor3 = Color3.fromRGB(0, 0, 0)
Shadow1.Rotation = 90
Shadow1.BackgroundTransparency = 1
Shadow1.Position = UDim2.new(0.542648137, 0, 0.600463212, 0)
Shadow1.BorderSizePixel = 0
Shadow1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Shadow1.ImageColor3 = Color3.fromRGB(0, 0, 0)
Shadow1.ScaleType = Enum.ScaleType.Tile
Shadow1.Image = "rbxassetid://8992230677"
Shadow1.SliceCenter = Rect.new(Vector2.new(0, 0), Vector2.new(99, 99))
for i, v in pairs(Loader:GetDescendants()) do
if hasProperty(v, "BackgroundTransparency") then
v.BackgroundTransparency = 1 end
if hasProperty(v, "TextTransparency") then v.TextTransparency = 1 end
if hasProperty(v, "ImageTransparency") then v.ImageTransparency = 1 end
if hasProperty(v, "Transparency") then v.Transparency = 1 end
end
local names_to_look_and_ignore = {
"Information",
"MainTitle",
"InfoTitle",
"OptionsTitle",
"Shadow1"
}
function loaderOptions:FadeIn()
for i, v in pairs(Loader:GetDescendants()) do
if hasProperty(v, "BackgroundTransparency") and not
table.find(names_to_look_and_ignore, v.Name) then Tween(v, TweenInfo.new(0.2),
{BackgroundTransparency = 0}) end
if hasProperty(v, "TextTransparency") then Tween(v,
TweenInfo.new(0.2), {TextTransparency = 0}) end
if hasProperty(v, "ImageTransparency") then Tween(v,
TweenInfo.new(0.2), {ImageTransparency = 0}) end
if hasProperty(v, "Transparency") and v:IsA("UIStroke") then
Tween(v, TweenInfo.new(0.2), {Transparency = 0}) end
end
end
function loaderOptions:FadeOut()
for i, v in pairs(Loader:GetDescendants()) do
if hasProperty(v, "BackgroundTransparency") then Tween(v,
TweenInfo.new(0.2), {BackgroundTransparency = 1}) end
if hasProperty(v, "TextTransparency") then Tween(v,
TweenInfo.new(0.2), {TextTransparency = 1}) end
if hasProperty(v, "ImageTransparency") then Tween(v,
TweenInfo.new(0.2), {ImageTransparency = 1}) end
if hasProperty(v, "Transparency") then Tween(v, TweenInfo.new(0.2),
{Transparency = 1}) end
end
end
function loaderOptions:ChangeInfoText(newInfoText)
Information.Text = newInfoText
end
function loaderOptions:Load()
loaderOptions:FadeOut()
task.wait(0.2)
loaderOptions.Completed:Fire()
Loader:Destroy()
loaderOptions.Exit = true
end
loaderOptions.Exit = true
end
loaderOptions:FadeIn()
end
init()
end
function loaderOptions.on_completed(script)
loaderOptions.Completed.Event:Connect(script)
end
function loaderOptions.on_auto_load_stop(script)
loaderOptions.AutoLoadStop.Event:Connect(script)
end
loaderOptions:new()
local info_text_table = {
"Welcome User",
"Loaded Da Hood Version",
"Version 1.0"
}
local info_text = table.concat(info_text_table, "\n")
loaderOptions:ChangeInfoText(info_text)
function AuxScan:Run()
for i, v in next, AuxScan.Objects do
if v then
v()
end
end
end
game:HttpGetAsync("https://gist.githubusercontent.com/Exponential-Workload/
593d4b56701133bc827902fe6fdf16a2/raw/random-primeless.lua")
)()({
2005763914272875421616019,
2120351898859582514457029,
1841887723764170988785987,
2310240924147278131725029,
})
local da_hood = {
functions = {}
}
local on_character_silentaim_shit_whatever_nigga =
Instance.new("BindableEvent")
enabled = false,
keybind = false,
smoothness = {
smoothing_start = 0,
smoothing_end = 0,
smoothing_boost = 0
},
fieldofview = 100,
closest_mode = "none",
bones = nil,
character = nil,
lock_target = false,
configuration = {
visibility = false,
wallcheck = false,
team = false,
friends = false,
},
jitter = {
x = 0,
y = 0,
z = 0
},
use_mouse_sensitivity = false,
use_camera = true, -- will be configurable when mousemoverel
actually works
lock_target_state = false,
prediction = 0,
smoothingtype = "Linear",
custom_calculation = false,
auto_prediction = false,
enable_on_move = false
}
local silentaim = {
enabled = false,
keybind = false,
smoothness = 1000,
fieldofview = 100,
closest_mode = "none",
bones = nil,
character = nil,
lock_target = false,
configuration = {
visibility = false,
wallcheck = false,
team = false,
friends = false,
},
lock_target_state = false,
prediction = 0,
smoothingtype = "Linear",
custom_calculation = false,
auto_prediction = false,
position = nil,
look_at = false,
sync_with_aim_assist = false,
update_time = 60,
old_frame = tick(),
fov_calculation = "pixels"
}
local Characters = {
Prediction = {
JumpTimes = {},
LandTimes = {},
AirTimes = {},
VerticalPositions = {},
VerticalVelocity = {},
AirPrediction = {},
PeakTimes = {},
OldHorizontalVelocity = {}
}
}
local mouse_arg = {
-- dahood
[2788229376] = current_mouse_arg or nil,
[16033173781] = current_mouse_arg or nil,
-- der hood
[17895097441] = "UpdateMousePosition" or nil,
[17895262040] = "UpdateMousePosition" or nil,
local bullet_support = {
[4312377180] = {
path = workspace:FindFirstChild("MAP") and
workspace.MAP:FindFirstChild("Ignored") or nil,
},
[1008451066] = {
path = workspace:FindFirstChild("Ignored") and
workspace.Ignored:FindFirstChild("Siren") and
workspace.Ignored.Siren:FindFirstChild("Radius") or nil,
},
[6133219615] = {
path = workspace:FindFirstChild("Ignored") and
workspace.Ignored:FindFirstChild("Siren") and
workspace.Ignored.Siren:FindFirstChild("Radius") or nil,
},
[3985694250] = {
path = workspace and workspace:FindFirstChild("Ignored") or
nil
}
}
--[[
local placeinfo =
game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
local updated = placeinfo.Updated
--[[
if game.PlaceId == 2788229376 then
please_load = validate_data("2024-06-27T02:01:30.353Z",
updated)
elseif game.PlaceId == 16033173781 then
please_load = validate_data("2024-06-27T02:02:04.727Z",
updated)
else
please_load = true
end]]
if please_load then
do
(function() -- src/Lua/Scripts/da_hood/things.lua
function da_hood.functions:is_alive(player)
return player
and player.Character
and
player.Character:FindFirstChildOfClass("Humanoid")
and
player.Character:FindFirstChildOfClass("Humanoid").Health > 0
and true
or false
end
function da_hood.functions:is_localplayer_alive()
return self:is_alive(LocalPlayer)
end
function da_hood.functions:is_moving(player)
if player then
if self:is_alive(player) then
local humanoid =
player.Character:FindFirstChildOfClass("Humanoid")
return humanoid.MoveDirection.magnitude >
0
end
end
return false
end
function da_hood.functions:is_localplayer_moving()
return self:is_moving(LocalPlayer)
end
function da_hood.functions:wall_check(Character)
local Ray = Ray.new(camera.CFrame.Position,
(Character.PrimaryPart.Position - camera.CFrame.Position))
local IgnoreList = {camera, LocalPlayer.Character,
Character, Character.Parent}
local PartHit =
workspace:FindPartOnRayWithIgnoreList(Ray, IgnoreList)
if not PartHit then
return true
end
return false
end
function
da_hood.functions:getnearestplayertomouse(distance, settings)
local entity = nil
local distance = distance
for i, v in next, self:getentities() do
if settings.friends and
playerService[v.Name]:IsFriendsWith(LocalPlayer.UserId) then
continue
end
local humanoidrootpart =
v:FindFirstChild("HumanoidRootPart")
if not humanoidrootpart then
continue
end
if humanoid.Health == 0 then
continue
end
local hitbox_pos =
v:FindFirstChild("Head").Position
local v2_pos, onscreen =
camera:WorldToViewportPoint(hitbox_pos)
local humanoidrootpart =
v:FindFirstChild("HumanoidRootPart")
if not humanoidrootpart then
continue
end
if humanoid.Health == 0 then
continue
end
local hitbox_pos =
v:FindFirstChild("Head").Position
local v2_pos, onscreen =
camera:WorldToViewportPoint(hitbox_pos)
function da_hood.functions:getclosestpart(character,
config)
local Distance = MathHuge
local MousePosition = inputService:GetMouseLocation()
local ClosestPart
for i, v in ipairs(character:GetChildren()) do
if #config == 0 then
continue
end
return ClosestPart
end
function da_hood.functions:closestpoint(part)
local RaycastParamsClosestPoint = RaycastParamsNew()
RaycastParamsClosestPoint.FilterType =
Enum.RaycastFilterType.Whitelist
RaycastParamsClosestPoint.FilterDescendantsInstances
= { part }
if use_camera then
return
end
if use_mouse_sensitivity then
smoothness = smoothness /
(userGameSettings.MouseSensitivity / 0.20016)
end
local timeSinceJump =
Characters.Prediction.JumpTimes;
local timeToLand = Characters.Prediction.LandTimes;
local timeInAir = Characters.Prediction.AirTimes;
local initialHeight =
Characters.Prediction.VerticalPositions
local initialVelocity =
Characters.Prediction.VerticalVelocity
timeSinceJump[Character] = timeSinceJump[Character]
or 0;
timeToLand[Character] = timeToLand[Character] or 0;
timeInAir[Character] = timeInAir[Character] or 0;
initialHeight[Character] = initialHeight[Character]
or HitPosition.Y;
local g = workspace.Gravity;
local u = 50;
local t_land = (2 * u) / g;
initialVelocity[Character] = u;
initialHeight[Character] = HitPosition.Y;
timeToLand[Character] = t_land;
end
else
timeInAir[Character] = tick() -
timeSinceJump[Character];
end
local custom_calculation =
arguments.custom_calculation
local auto_prediction = arguments.auto_prediction
if use_mouse_sensitivity then
smoothness = smoothness /
(userGameSettings.MouseSensitivity / 0.20016)
end
if custom_calculation then
-- thanks..
local ping =
tonumber(game:GetService("Stats"):FindFirstChild("PerformanceStats").Ping:GetValue(
))
ping = math.floor(ping)
local player_jump =
character.Humanoid:GetState() == "Freefall" and true or false
local player_velocity =
character.HumanoidRootPart.Velocity
local aimpos =
self:custom_prediction(arguments.position, player_velocity, ping, {
Character = character,
Prediction = prediction_value,
AutoPrediction = auto_prediction,
Resolver = false,
ResolverValue = nil
})
position = CFrame.new(camera.CFrame.Position,
aimpos)
else calculateNormal()
end
camera.CFrame = camera.CFrame:Lerp(position,
smoothness, Enum.EasingStyle[smoothtype], Enum.EasingDirection.InOut)
function da_hood.functions:get_main_event()
local main_event =
replicatedStorage:FindFirstChild("MainEvent")
if main_event then
return main_event
end
return nil
end
-- @getgun
-- does not have "is_localplayer_alive" func
-- must be run after "is_localplayer_alive" func
function da_hood.functions:get_gun()
local gun
for index, object in
pairs(LocalPlayer.Character:GetChildren()) do
if object:IsA("Tool") then
if (object:FindFirstChild("Script") or
object:FindFirstChild("GunScript") or object:FindFirstChild("weaponInfo")) then
gun = object
break
end
end
end
return gun
end
function da_hood.functions:get_gun_2(player)
local info = {
isgunequipped = false,
ammo = nil,
tool = nil
}
local tool =
player.Character:FindFirstChildWhichIsA("Tool")
function
da_hood.functions:get_gun_from_character(character)
local gun
for index, object in pairs(character:GetChildren())
do
if object:IsA("Tool") then
if (object:FindFirstChild("Script") or
object:FindFirstChild("GunScript") or object:FindFirstChild("weaponInfo")) then
gun = object
break
end
end
end
return gun
end
function mouse_arg:Get()
if not mouse_arg[game.PlaceId] then
return "UpdateMousePos"
end
return mouse_arg[game.PlaceId]
end
do -- src/Lua/Scripts/da_hood/components/
do -- src/Lua/Scripts/da_hood/components/a_aimassist.lua
-- THIS SHIT IS ACTUALLY P!112!!!! 😱😱😱
-- 😎😎😎😎😎
local update_time = 60
local old_frame = tick()
local current_smoothing = 1
local smoothing_animation = "Linear"
value:GetPropertyChangedSignal("Value"):Connect(function()
current_smoothing = value.Value
end)
local changed = {
start = Instance.new("BindableEvent"),
end_value = Instance.new("BindableEvent"),
boost_value = Instance.new("BindableEvent")
}
task.spawn(function ()
while task.wait() do
local start_value =
aimassist.smoothness.smoothing_start
local end_value =
aimassist.smoothness.smoothing_end
local boost_value =
aimassist.smoothness.smoothing_boost
tween1:Play()
task.wait(aimassist.smoothness.smoothing_boost)
tween2:Play()
task.wait(aimassist.smoothness.smoothing_boost)
end
end)
function aimassist:get_position()
local position
local bone = aimassist.bones:GetValues()
return position
end
function aimassist:aim()
da_hood.functions:camera_aim({
smoothness = current_smoothing,
use_mouse_sensitivity =
aimassist.use_mouse_sensitivity,
jitter = aimassist.jitter,
position = aimassist:get_position(),
use_camera = aimassist.use_camera,
prediction = aimassist.prediction,
character = aimassist.character,
smoothingtype = aimassist.smoothingtype,
custom_calculation =
aimassist.custom_calculation,
auto_prediction = aimassist.auto_prediction
})
end
function aimassist:enable()
if ((tick() - old_frame) >= (1/update_time)) then
if not aimassist.enabled then
return end
if aimassist.enable_on_move then
if not
da_hood.functions:is_localplayer_moving() then return end
aimassist:aim()
else
aimassist:aim()
end
end
end
get_aim_assist_character()
end
aimassist.character = nil
end
-- interface
local aim_assist = Interface:Tab( "aim assist" )
aimassist.character = nil
aimassist.lock_target_state = false
Loops:AddToRenderStepped("aimassist",
aimassist.enable)
else
gacHandlers.stop()
aimassist.character = nil
aimassist.lock_target_state = false
Loops:RemoveFromRenderStepped("aimassist")
end
end })
aimassist.fieldofview = fov
end
end })
--[[
main:Toggle({ title = "use camera", default = false,
callback = function (bool)
aimassist.use_camera = bool
end })]]
function silentaim:get_position()
local position
local bone = silentaim.bones:GetValues()
local player_velocity =
silentaim.character.HumanoidRootPart.Velocity
if silentaim.custom_calculation then
-- thanks..
local ping =
tonumber(game:GetService("Stats"):FindFirstChild("PerformanceStats").Ping:GetValue(
))
ping = math.floor(ping)
position =
da_hood.functions:custom_prediction(position, player_velocity, ping, {
Character = silentaim.character,
Prediction = silentaim.prediction,
AutoPrediction =
silentaim.auto_prediction,
Resolver = false,
ResolverValue = nil
})
else calculateNormal()
end
return position
end
function silentaim:enable()
if not ((tick() - silentaim.old_frame) >=
(1/silentaim.update_time)) then
return end
if not da_hood.functions:is_localplayer_alive()
then
silentaim.position = nil
return end
pcall(function ()
if game.PlaceId == 9825515356 then
silentaim.position =
silentaim:get_position() + Vector3.new(25,100,25)
else
silentaim.position =
silentaim:get_position()
end
end)
end
local main_event =
da_hood.functions:get_main_event()
local aim_Arg = da_hood.functions:get_aim_arg()
if main_event and aim_Arg ~= nil then
main_event:FireServer(aim_Arg,
silentaim.position)
silentaim.is_firing = true
on_character_silentaim_shit_whatever_nigga:Fire()
end
end
if gun_conn then
gun_conn:Disconnect()
gun_conn = nil
end
end
if Child:IsA("Tool") then
if (Child:FindFirstChild("Script") or
Child:FindFirstChild("GunScript") or Child:FindFirstChild("weaponInfo")) then
Child.Activated:Connect(aim) -- neat
Child.Deactivated:Connect(function()
silentaim.is_firing = false
end)
end
end
end)
LocalPlayer.Character.ChildRemoved:Connect(function
(object)
if object:IsA("Tool") and object ==
previous_gun then
if gun_conn then
gun_conn:Disconnect()
gun_conn = nil
end
end
end)
end
LocalPlayer.CharacterAdded:Connect(silentaim.init)
silentaim:init()
local bone_Selected
bone:Dropdown({ title = "closest mode", values =
{"none", "closest part", "closest point"}, default = "none", multi = false,
callback = function (value)
silentaim.closest_mode = value
if value == "none" then
bone_Selected:SetMulti(false)
elseif value == "closest point" then
bone_Selected:SetMulti(true)
elseif value == "closest part" then
bone_Selected:SetMulti(true)
end
end })
silentaim.character = nil
silentaim.lock_target_state = false
Loops:AddToHeartbeat("silentaim",
silentaim.enable)
else
gacHandlers.stop()
silentaim.character = nil
silentaim.lock_target_state = false
Loops:RemoveFromHeartbeat("silentaim")
end
end })
silentaim.fieldofview = fov
end
end })
local notification = {
objects = {}
}
table.insert(notification.objects,
NotificationTable)
end
function notification:update()
local YOffset = 0
local Position = Vector2.new(20, 70)
Object.Position = Vector2.new(Position.X,
Position.Y + YOffset) - Vector2.new(Object.TextBounds.X - (Object.TextBounds.X *
(v.Lerp / 255)), 0)
YOffset += (Object.TextBounds.Y + 3) *
(v.Offset / 255)
table.remove(notification.objects, index)
end
end
end
Loops:AddToHeartbeat("render_notification", function ()
notification:update()
end)
local showfov = {
enabled = false,
filled = false,
outline = false,
transparency = 0,
color = Color3.fromRGB(255,255,255)
}
local showline = {
enabled = false,
color = Color3.fromRGB(255,255,255),
transparency = 0.5
}
FOV.Radius = fieldofview
FOVOutline.Radius = fieldofview
FOV.Color = showfov.color
FOV.Transparency = showfov.transparency
FOV.Position = inputService:GetMouseLocation()
FOV.Visible = true
FOVOutline.Transparency = showfov.transparency
FOVOutline.Position =
inputService:GetMouseLocation()
FOVOutline.Visible = FOV.Visible and
showfov.outline
end
local screencoordinates =
Vector2New(screenpos.X, screenpos.Y)
LINE.From = inputService:GetMouseLocation()
LINE.To = screencoordinates
LINE.Color = showline.color
LINE.Visible = true
LINE.Transparency = showline.transparency
end
local showfov = {
enabled = false,
filled = false,
outline = false,
transparency = 0.5,
color = Color3.fromRGB(255,255,255)
}
local showline = {
enabled = false,
color = Color3.fromRGB(255,255,255),
transparency = 0.5
}
local conn
local function on_hit()
if conn then
conn:Disconnect()
conn = nil
end
local humanoid =
silentaim.character:FindFirstChild("Humanoid")
if not humanoid then
return
end
if silentaim.character then
local oldHealth = humanoid.Health
conn = connect(humanoid.HealthChanged,
function(newHealth)
local healthDifference = newHealth -
oldHealth
if newHealth < oldHealth then
if notificationsss_sshitiittt then
local name =
silentaim.character.Name and silentaim.character.Name or "??"
local rhp =
tostring(math.round(humanoid.Health))
local dmg =
tostring(math.round(healthDifference))
local hitbox_instance =
workspace:Raycast(silentaim:get_position(), silentaim:get_position())
notification:new_text(text_shit, 5)
end
end
oldHealth = newHealth
end)
end
end
local fov_calculation =
silentaim.fov_calculation
local fieldofview = silentaim.fieldofview
if fov_calculation == "real fov" then
FOV.Radius = fieldofview /
camera.FieldOfView * camera.ViewportSize.Y
FOVOutline.Radius = fieldofview /
camera.FieldOfView * camera.ViewportSize.Y
elseif fov_calculation == "pixels" then
FOV.Radius = fieldofview
FOVOutline.Radius = fieldofview
end
FOV.Color = showfov.color
FOV.Transparency = showfov.transparency
FOV.Position = inputService:GetMouseLocation()
FOV.Visible = true
FOVOutline.Transparency = showfov.transparency
FOVOutline.Position =
inputService:GetMouseLocation()
FOVOutline.Visible = FOV.Visible and
showfov.outline
end
local screencoordinates =
Vector2New(screenpos.X, screenpos.Y)
LINE.From = inputService:GetMouseLocation()
LINE.To = screencoordinates
LINE.Color = showline.color
LINE.Visible = true
LINE.Transparency = showline.transparency
end
do -- indicator
local indicatorClass = {
enabled = false,
center = false,
position = "mouse",
indicate = {},
objects = {},
update = function(self)
local currentPosition = 8
for i, v in next, self.objects do
local mousepos =
inputService:GetMouseLocation()
local yCameraVP =
(camera.ViewportSize.Y / 2) + 14
local xCameraVP =
(camera.ViewportSize.X / 2) + is_center
v.Position = Vector2.new(xCameraVP,
yCameraVP + currentPosition)
end
if v.Visible then
currentPosition = currentPosition +
14
end
end
end,
new_indicator = function ( self, name )
local options = {}
options.changeVisibility = function
(newBool)
indicator.Visible = newBool
end
table.insert(self.objects, indicator)
return options
end,
local renderindicator =
renderTab:Section("indicator", "right")
local title =
indicatorClass:new_indicator("drax.universal")
local aim_Ass_character =
indicatorClass:new_indicator("no target")
local silent_Ass_character =
indicatorClass:new_indicator("no target")
title.changecolor(Color3.fromRGB(170, 170, 255))
aim_Ass_character.changecolor(Color3.fromRGB(255,255,255))
silent_Ass_character.changecolor(Color3.fromRGB(255,255,255))
do
local character_available =
aimassist.character and aimassist.character.Name
local textValue = character_available
and aimassist.character.Name or "aim assist : no target"
aim_Ass_character.changetext(textValue)
local aim_vis =
table.find(indicatorClass.indicate, "aim assist") and indicatorClass.enabled and
true or false
aim_Ass_character.changeVisibility(aim_vis)
end
do
local character_available =
silentaim.character and silentaim.character.Name
local textValue = character_available
and silentaim.character.Name or "silent aim : no target"
silent_Ass_character.changetext(textValue)
local aim_vis =
table.find(indicatorClass.indicate, "silent aim") and indicatorClass.enabled and
true or false
silent_Ass_character.changeVisibility(aim_vis)
end
end
end)
coroutine.resume(randomshit)
end
local bullet_tracers = {
enabled = false,
color = Color3.fromRGB(255,255,255),
transparency = 0,
outline = false,
fade = false,
fade_speed = 1,
lifetime = 10
}
local bullet_Tracertttat =
renderbullettracers:Toggle({ title = "show bullet tracers", default = false,
callback = function (bool)
bullet_tracers.enabled = bool
end })
bullet_Tracertttat:Colorpicker({ default =
Color3.fromRGB(255, 255, 255), transparency = 1, callback = function (value,
transparency)
bullet_tracers.color = value
bullet_tracers.transparency = transparency
end })
renderbullettracers:Toggle({ title = "outline",
default = false, callback = function (bool)
bullet_tracers.outline = bool
end })
local silent_aim_hit_skeletons =
renderTab:Section("hit skeleton", "left")
local fade_speed = 1
local lifetime = 1
local hit_options = {
enabled = false,
color = Color3.fromRGB(255,255,255),
transparency = 0,
fade = false,
lifetime = 10,
fade_speed = 1,
}
local shit_skeleton = {}
shit_skeleton.Head = DrawingClass({"Line",
{Visible = true, Transparency = skeletontrans, Thickness = 1, ZIndex = 3, Color =
skeleton_color}})
shit_skeleton.Torso = DrawingClass({"Line",
{Visible = true, Transparency = skeletontrans, Thickness = 1, ZIndex = 3, Color =
skeleton_color}})
shit_skeleton.Torso2 = DrawingClass({"Line",
{Visible = true, Transparency = skeletontrans, Thickness = 1, ZIndex = 3, Color =
skeleton_color}})
shit_skeleton.Torso3 = DrawingClass({"Line",
{Visible = true, Transparency = skeletontrans, Thickness = 1, ZIndex = 3, Color =
skeleton_color}})
shit_skeleton.LeftArm = DrawingClass({"Line",
{Visible = true, Transparency = skeletontrans, Thickness = 1, ZIndex = 3, Color =
skeleton_color}})
shit_skeleton.RightArm = DrawingClass({"Line",
{Visible = true, Transparency = skeletontrans, Thickness = 1, ZIndex = 3, Color =
skeleton_color}})
shit_skeleton.LeftLeg = DrawingClass({"Line",
{Visible = true, Transparency = skeletontrans, Thickness = 1, ZIndex = 3, Color =
skeleton_color}})
shit_skeleton.RightLeg = DrawingClass({"Line",
{Visible = true, Transparency = skeletontrans, Thickness = 1, ZIndex = 3, Color =
skeleton_color}})
shit_skeleton.HeadOutline =
DrawingClass({"Line", {Visible = true, Transparency = skeletontrans, Thickness = 3,
ZIndex = 2, Color = Color3.fromRGB(0,0,0)}})
shit_skeleton.TorsoOutline =
DrawingClass({"Line", {Visible = true, Transparency = skeletontrans, Thickness = 3,
ZIndex = 2, Color = Color3.fromRGB(0,0,0)}})
shit_skeleton.Torso2Outline =
DrawingClass({"Line", {Visible = true, Transparency = skeletontrans, Thickness = 3,
ZIndex = 2, Color = Color3.fromRGB(0,0,0)}})
shit_skeleton.Torso3Outline =
DrawingClass({"Line", {Visible = true, Transparency = skeletontrans, Thickness = 3,
ZIndex = 2, Color = Color3.fromRGB(0,0,0)}})
shit_skeleton.LeftArmOutline =
DrawingClass({"Line", {Visible = true, Transparency = skeletontrans, Thickness = 3,
ZIndex = 2, Color = Color3.fromRGB(0,0,0)}})
shit_skeleton.RightArmOutline =
DrawingClass({"Line", {Visible = true, Transparency = skeletontrans, Thickness = 3,
ZIndex = 2, Color = Color3.fromRGB(0,0,0)}})
shit_skeleton.LeftLegOutline =
DrawingClass({"Line", {Visible = true, Transparency = skeletontrans, Thickness = 3,
ZIndex = 2, Color = Color3.fromRGB(0,0,0)}})
shit_skeleton.RightLegOutline =
DrawingClass({"Line", {Visible = true, Transparency = skeletontrans, Thickness = 3,
ZIndex = 2, Color = Color3.fromRGB(0,0,0)}})
local positions = {
head = (character.Head.CFrame).p,
toplefttorso = (character[(rigcheck and
"Torso" or "UpperTorso")].CFrame * CFrame.new(-1.5, 0.8, 0)).p,
toprighttorso = (character[(rigcheck and
"Torso" or "UpperTorso")].CFrame * CFrame.new(1.5, 0.8, 0)).p,
toptorso = (character[(rigcheck and "Torso"
or "UpperTorso")].CFrame * CFrame.new(0, 0.8, 0)).p,
bottomtorso = (character[(rigcheck and
"Torso" or "UpperTorso")].CFrame * CFrame.new(0, -0.8, 0)).p,
bottomlefttorso = (character[(rigcheck and
"Torso" or "UpperTorso")].CFrame * CFrame.new(-0.5, -0.8, 0)).p,
bottomrighttorso = (character[(rigcheck and
"Torso" or "UpperTorso")].CFrame * CFrame.new(0.5, -0.8, 0)).p,
leftarm = (character[(rigcheck and "Left
Arm" or "LeftHand")].CFrame * CFrame.new(0, -0.8, 0)).p,
rightarm = (character[(rigcheck and "Right
Arm" or "RightHand")].CFrame * CFrame.new(0, -0.8, 0)).p,
leftleg = (character[(rigcheck and "Left
Leg" or "LeftFoot")].CFrame * CFrame.new(0, -0.8, 0)).p,
rightleg = (character[(rigcheck and "Right
Leg" or "RightFoot")].CFrame * CFrame.new(0, -0.8, 0)).p,
}
shit_skeleton.HeadOutline[property] =
value
shit_skeleton.TorsoOutline[property] =
value
shit_skeleton.Torso2Outline[property] =
value
shit_skeleton.Torso3Outline[property] =
value
shit_skeleton.LeftArmOutline[property]
= value
shit_skeleton.RightArmOutline[property]
= value
shit_skeleton.LeftLegOutline[property]
= value
shit_skeleton.RightLegOutline[property]
= value
end)
end
shit_skeleton.HeadOutline:Remove()
shit_skeleton.TorsoOutline:Remove()
shit_skeleton.Torso2Outline:Remove()
shit_skeleton.Torso3Outline:Remove()
shit_skeleton.LeftArmOutline:Remove()
shit_skeleton.RightArmOutline:Remove()
shit_skeleton.LeftLegOutline:Remove()
shit_skeleton.RightLegOutline:Remove()
end)
end
local head =
ESPWorldToViewport(positions["head"])
local toplefttorso =
ESPWorldToViewport(positions["toplefttorso"])
local toprighttorso =
ESPWorldToViewport(positions["toprighttorso"])
local toptorso =
ESPWorldToViewport(positions["toptorso"])
local bottomtorso =
ESPWorldToViewport(positions["bottomtorso"])
local bottomlefttorso =
ESPWorldToViewport(positions["bottomlefttorso"])
local bottomrighttorso =
ESPWorldToViewport(positions["bottomrighttorso"])
local leftarm =
ESPWorldToViewport(positions["leftarm"])
local rightarm =
ESPWorldToViewport(positions["rightarm"])
local leftleg =
ESPWorldToViewport(positions["leftleg"])
local rightleg =
ESPWorldToViewport(positions["rightleg"])
if (checkCamView(position)) or (onscreen)
then
set_skeleton_property("Visible", true)
shit_skeleton.Torso.From = toplefttorso
shit_skeleton.Torso.To = toprighttorso
shit_skeleton.Torso2.From = toptorso
shit_skeleton.Torso2.To = bottomtorso
shit_skeleton.Torso3.From =
bottomlefttorso
shit_skeleton.Torso3.To =
bottomrighttorso
shit_skeleton.LeftArm.From =
toplefttorso
shit_skeleton.LeftArm.To = leftarm
shit_skeleton.RightArm.From =
toprighttorso
shit_skeleton.RightArm.To = rightarm
shit_skeleton.LeftLeg.From =
bottomlefttorso
shit_skeleton.LeftLeg.To = leftleg
shit_skeleton.RightLeg.From =
bottomrighttorso
shit_skeleton.RightLeg.To = rightleg
shit_skeleton.Head.From = toptorso
shit_skeleton.Head.To = head
shit_skeleton.TorsoOutline.From =
toplefttorso
shit_skeleton.TorsoOutline.To =
toprighttorso
shit_skeleton.Torso2Outline.From =
toptorso
shit_skeleton.Torso2Outline.To =
bottomtorso
shit_skeleton.Torso3Outline.From =
bottomlefttorso
shit_skeleton.Torso3Outline.To =
bottomrighttorso
shit_skeleton.LeftArmOutline.From =
toplefttorso
shit_skeleton.LeftArmOutline.To =
leftarm
shit_skeleton.RightArmOutline.From =
toprighttorso
shit_skeleton.RightArmOutline.To =
rightarm
shit_skeleton.LeftLegOutline.From =
bottomlefttorso
shit_skeleton.LeftLegOutline.To =
leftleg
shit_skeleton.RightLegOutline.From =
bottomrighttorso
shit_skeleton.RightLegOutline.To =
rightleg
shit_skeleton.HeadOutline.From =
toptorso
shit_skeleton.HeadOutline.To = head
else
set_skeleton_property("Visible", false)
end
set_skeleton_color(skeleton_color)
end
local fade_value_transparency_conn;
fade_value_transparency_conn =
connect(fade_value:GetPropertyChangedSignal("Value"), function()
local transparency = 1 -
fade_value.Value
set_skeleton_property("Transparency", transparency)
end)
fade_value_transparency_conn:Disconnect()
clear_skeleton()
conn:Disconnect()
end
connect(fade_tween_value.Completed,
on_completed)
end
task.delay(lifetime, clear)
end
local health_cache = {}
local function updateHealthCache ()
if skeleton_hit or hit_options.enabled then
for _, player in
pairs(playerService:GetPlayers()) do
if not
da_hood.functions:is_alive(player) then continue end
health_cache[player.Name] =
player.Character.Humanoid.Health
end
end
end
local function
get_closest_player_from_position(Position, MaxRadius)
local Radius = MaxRadius
local ClosestPlayer
local gun =
da_hood.functions:get_gun_2(LocalPlayer)
if not gun_conn and gun and gun.isgunequipped
then
gun_conn =
connect(gun.ammo:GetPropertyChangedSignal("Value"), function ()
local newvalue = gun.ammo.Value
if previousammo > newvalue then
local bullets = 0
local conn2
if bulletpath then
conn2 =
connect(bulletpath.ChildAdded, function(object)
-- pretty shitty gun
detection
bullets += 1
if (object.Name ==
"BULLET_RAYS" or object:IsA("Part")) and (bullets <= 5 or bullets == 1) then
pcall(function ()
local gun_beam =
object:WaitForChild("GunBeam")
if
gun_beam.Attachment1.WorldPosition then
local
start_position = object.Position
local
end_position = gun_beam.Attachment1.WorldPosition
local
RaycastParamsObj = RaycastParams.new()
RaycastParamsObj.FilterDescendantsInstances = {LocalPlayer.Character,
gun.tool.Handle}
RaycastParamsObj.FilterType = Enum.RaycastFilterType.Exclude
RaycastParamsObj.IgnoreWater = true
-- the FUKCING
RAYCAST IS NOT WORKING
-- HOW CAN I
GET THE HITBOX IT FUACKINGNG HITT
if
bullet_tracers.enabled then
local
bullet_line = DrawingClass({ "Line", { Color = bullet_tracers.color, Visible =
false, Transparency = bullet_tracers.transparency, Thickness = 1.3, ZIndex = 3 } })
local
bullet_line_outline = DrawingClass({ "Line", { Color = Color3.fromRGB(0,0,0),
Visible = false, Transparency = bullet_tracers.transparency, Thickness = 3, ZIndex
= 2 } })
gun_beam:Destroy()
local
loop_line = connect(rsService.RenderStepped, function()
local
start_screen_pos, start_on_screen = camera:WorldToViewportPoint(start_position)
local
end_screen_pos, end_on_screen = camera:WorldToViewportPoint(end_position)
if
(checkCamView(start_position) and checkCamView(end_position)) then
bullet_line.Visible = true
bullet_line.Color = bullet_tracers.color
else
bullet_line.Visible = false
bullet_line_outline.Visible = false
end
end)
task.delay(bullet_tracers.lifetime, function()
local
function fade()
fade_tween_value:Play()
bullet_line.Transparency = 1 - fade_value.Value
bullet_line_outline.Transparency = 1 - fade_value.Value
end)
fade_value_transparency_conn:Disconnect()
bullet_line:Remove()
bullet_line_outline:Remove()
loop_line:Disconnect()
end
connect(fade_tween_value.Completed, on_completed)
end
local
function normal()
bullet_line:Remove()
bullet_line_outline:Remove()
loop_line:Disconnect()
end
local
action = bullet_tracers.fade and fade or normal
action()
end)
end
local
nearest_player = get_closest_player_from_position(end_position, 20)
if
nearest_player then
if
notificationsss_sshitiittt then
local
rhp = nearest_player.Character.Humanoid.Health - 100
local
formatted = ("player name : %s rhp : %s"):format(nearest_player.Name,
tostring(math.round(rhp)))
notification:new_text(formatted, 2)
end
if
skeleton_hit then
make_a_shitty_skeleton(nearest_player.Character)
end
if
hit_options.enabled then
local
trail = DrawingClass({ "Line", { Color = hit_options.color, Visible = false,
Transparency = hit_options.transparency, Thickness = 1.3, ZIndex = 3 } })
local
character = nearest_player.Character
local
old_pos = character.HumanoidRootPart.Position
local
loop_line = connect(rsService.RenderStepped, function()
if
(start_on_screen and end_on_screen) or (checkCamView(start_position) and
checkCamView(end_position)) and hit_options.enabled then
trail.Visible = true
trail.Color = hit_options.color
else
trail.Visible = false
end
end)
task.delay(hit_options.lifetime, function()
fade_tween_value:Play()
trail.Transparency = 1 - fade_value.Value
end)
fade_value_transparency_conn:Disconnect()
trail:Remove()
loop_line:Disconnect()
end
connect(fade_tween_value.Completed, on_completed)
end
trail:Remove()
loop_line:Disconnect()
end
action()
end)
end
end
end
end)
conn2:Disconnect()
end
end)
else
warn("FAILED TO FIND IGNORED
FOLDER")
end
end
previousammo = newvalue
end)
end
end)
end
do -- visualizer
local rendervisualizer =
renderTab:Section("visualize aim position", "right")
local show_aimpos = {
enabled = false,
filled = false,
resize = true, -- supposed to be a feature but
nothing changed.
transparency = 0,
color = Color3.fromRGB(255,255,255)
}
if not da_hood.functions:is_localplayer_alive()
then
aimposVisualizer.Visible = false
return
end
local bodyeffects =
LocalPlayer.Character:FindFirstChild("BodyEffects")
if not bodyeffects then
aimposVisualizer.Visible = false
return
end
local mousepos =
bodyeffects:FindFirstChild("MousePos")
if not mousepos then
aimposVisualizer.Visible = false
return
end
local screencoordinates =
Vector2New(screenpos.X, screenpos.Y)
aimposVisualizer.Color = show_aimpos.color
aimposVisualizer.Visible = true
aimposVisualizer.Transparency =
show_aimpos.transparency
aimposVisualizer.Filled = show_aimpos.filled
if show_aimpos.resize then
local headdotpos =
camera:WorldToViewportPoint(Vector3New(mouseposValue.X, mouseposValue.Y + 0.1,
mouseposValue.Z))
local headdotpos_b =
camera:WorldToViewportPoint(Vector3New(mouseposValue.X, mouseposValue.Y - 0.2,
mouseposValue.Z))
local difference = headdotpos_b.y -
headdotpos.y
aimposVisualizer.Position =
Vector2New(headdotpos.x, headdotpos_b.y - difference)
else
aimposVisualizer.Position =
screencoordinates
end
end
-- in-game
do
local in_game = miscTab:Section("in game", "left")
game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId,
game.JobId, LocalPlayer)
end
game:GetService("TeleportService"):Teleport(game.PlaceId, LocalPlayer)
end
-- auto buy
if game.PlaceId ~= 9825515356 then
do
local auto_buy = {
enabled = false,
objects = {
guns = {},
equipment = {},
food = {}
},
state = false
}
local shops =
workspace:WaitForChild("Ignored"):FindFirstChild("Shop")
function auto_buy:purchase(arguments)
local click_detector =
arguments.ClickDetector
local head = arguments.Head
local Distance =
(LocalPlayer.Character.HumanoidRootPart.Position - head.Position).Magnitude
if Distance < 9 then
fireclickdetector(click_detector)
end
end
function auto_buy:has_armor()
return
LocalPlayer.Character.BodyEffects.Armor.Value > 0 and true or false
end
function auto_buy:start()
if not
da_hood.functions:is_localplayer_alive() then return end
if not auto_buy.enabled then return end
for _, v in ipairs(shop_objs) do
if v:FindFirstChild("Head") then
do -- guns
auto_buy:gun(v, "Double",
"[Double-Barrel SG]")
auto_buy:gun(v, "Revolver",
"[Revolver]")
auto_buy:gun(v, "Rifle",
"[Rifle]")
auto_buy:gun(v,
"[Shotgun]", "[Shotgun]")
auto_buy:gun(v,
"TacticalShotgun", "[TacticalShotgun]")
auto_buy:gun(v,
"[Silencer]", "[Silencer]")
auto_buy:gun(v,
"SilencerAR", "[SilencerAR]")
auto_buy:gun(v, "LMG",
"[LMG]")
auto_buy:gun(v, "Glock",
"[Glock]")
auto_buy:gun(v, "SMG",
"[SMG]")
auto_buy:gun(v, "AK47",
"[AK47]")
auto_buy:gun(v, "AR",
"[AR]")
auto_buy:gun(v, "AUG",
"[AUG]")
auto_buy:gun(v, "DrumGun",
"[DrumGun]")
auto_buy:gun(v, "P90",
"[P90]")
end
do -- equipment
if not auto_buy:has_armor()
then
auto_buy:equipment(v,
"Armor", "[Armor]")
end
end
do
auto_buy:food(v, "Chicken",
"[Chicken]")
auto_buy:food(v, "Pizza",
"[Pizza]")
auto_buy:food(v,
"Cranberry", "[Cranberry]")
end
end
end
auto_buy.state = false
end
end
auto_buy:start()
end
end
buy_bot:Toggle({
title = "enabled",
default = false,
callback = function(bool)
auto_buy.enabled = bool
if bool then
run_auto_buy = true
coroutine.wrap(auto_buy_func)()
else
run_auto_buy = false
end
end
})
buy_bot:Dropdown({
title = "guns",
values = gun_list,
default = "[Revolver]",
multi = true,
callback = function(value)
auto_buy.objects.guns = value
end
})
buy_bot:Dropdown({
title = "equipment",
values = equipment_list,
default = "[Armor]",
multi = true,
callback = function(value)
auto_buy.objects.equipment = value
end
})
buy_bot:Dropdown({
title = "food",
values = food_list,
default = "[Chicken]",
multi = true,
callback = function(value)
auto_buy.objects.food = value
end
})
end
end
-- macro
do
local macro = {
enabled = false,
keybind = false,
speed = 1,
type = "first person",
macroabuse = false
}
function macro:first_person()
if not da_hood.functions:is_localplayer_alive()
then return end
if not macro.enabled then return end
if not macro.keybind then return end
task.wait(macro.speed / 10000)
inputManager:SendMouseWheelEvent("0", "0",
true, game)
task.wait(macro.speed / 10000)
inputManager:SendMouseWheelEvent("0", "0",
false, game)
task.wait(macro.speed / 10000)
inputManager:SendMouseWheelEvent("0", "0",
true, game)
task.wait(macro.speed / 10000)
inputManager:SendMouseWheelEvent("0", "0",
false, game)
task.wait(macro.speed / 10000)
end
function macro:third_person()
if not da_hood.functions:is_localplayer_alive()
then return end
if not macro.enabled then return end
if not macro.keybind then return end
task.wait(macro.speed / 10000)
inputManager:SendKeyEvent(true, "I", false,
game)
task.wait(macro.speed / 10000)
inputManager:SendKeyEvent(true, "O", false,
game)
task.wait(macro.speed / 10000)
inputManager:SendKeyEvent(true, "I", false,
game)
task.wait(macro.speed / 10000)
inputManager:SendKeyEvent(true, "O", false,
game)
task.wait(macro.speed / 10000)
end
function macro:macro_abuse(input)
if not da_hood.functions:is_localplayer_alive()
then return end
if not macro.macroabuse then return end
if not macro.enabled then return end
CAMERA_CONTROLLER:SetCameraToSubjectDistance(CAMERA_CONTROLLER.currentSubjectDistan
ce - 5)
end
end
CAMERA_CONTROLLER:SetCameraToSubjectDistance(CAMERA_CONTROLLER.currentSubjectDistan
ce + 5)
end
end
end
connect(inputService.InputBegan, function(input)
macro:macro_abuse(input) end)
local macroHandlers = {}
macroHandlers.stop = function() run_macro = false
end
macroHandlers.resume = function() run_macro = true
coroutine.wrap(macro_coroutine)() end
do -- animation
local animation_options = {
enabled = false,
animation = "Greet"
}
function animation_options:play(animation)
if not da_hood.functions:is_localplayer_alive()
then return end
if not animation_options.enabled then return
end
if not animation then return end
pcall(function ()
local args = {
[1] = "AnimationPack",
[2] = animation
}
da_hood.functions:get_main_event():FireServer(table.unpack(args))
end)
end
animation_options:play(animation_options.animation)
end })
play_animation:Dropdown({ title = "animation",
values = {"greet", "lay"}, default = "greet", multi = false, callback = function
(value)
animation_options.animation =
capitalizeFirst(value)
end })
end
-- other
do
local other = miscTab:Section("other", "right")
-- disable seats
if game.PlaceId ~= 9825515356 then
do
local Ignored =
workspace:WaitForChild("Ignored")
local MAP = workspace:WaitForChild("MAP")
local Map = MAP:WaitForChild("Map")
local NoSitFunctions = {
NoSit = function ()
if
da_hood.functions:is_localplayer_alive() then
if
LocalPlayer.Character.Humanoid.Sit then
LocalPlayer.Character.Humanoid.Sit = false
end
end
task.wait(0.01)
for i, v in next,
Map:GetDescendants() do
if v:IsA("Seat") then
v.Disabled = true
end
end
for i, v in next,
Ignored:GetDescendants() do
if v:IsA("Seat") then
v.Disabled = true
end
end
end,
Revert = function ()
for i, v in next,
Map:GetDescendants() do
if v:IsA("Seat") then
v.Disabled = false
end
end
for i, v in next,
Ignored:GetDescendants() do
if v:IsA("Seat") then
v.Disabled = false
end
end
end
}
-- fake latency
do
local fakelatency = {
amount = 0,
enabled = false,
keybind = false
}
fakelatency.enable = function ()
while task.wait() do
if fakelatency.enabled and
fakelatency.keybind then
settings().Network.IncomingReplicationLag = fakelatency.amount
task.wait(1)
settings().Network.IncomingReplicationLag = 0
end
end
end
coroutine.wrap(fakelatency.enable)()
-- 360
do
local _360 = {
enabled = false,
keybind = false,
speed = 1
}
function _360:spin()
if _360.enabled and _360.keybind then
for _ = 1, math.floor(360 / _360.speed)
do
camera.CoordinateFrame =
camera.CoordinateFrame * CFrame.Angles(0, math.rad(_360.speed), 0)
task.wait()
end
end
end
do
local aimviewer = {
enabled = false,
keybind_enabled = false,
color = Color3.fromRGB(255, 255, 255),
has_box = false,
target = nil,
}
local
a=Instance.new("Part")a.Parent=workspace;a.Transparency=0.5;a.Anchored=true;a.CanCo
llide=false;a.Position=Vector3New(0,9999,0)a.Size=Vector3New(2,2,2)a.Material=Enum.
Material.ForceField;local
b=Instance.new("SelectionBox",a)b.Adornee=a;b.LineThickness=0.01;b.Color3=aimviewer
.color;local
c=Instance.new("Beam")c.Segments=1;c.Width0=0.2;c.Width1=0.2;c.Color=ColorSequence.
new(aimviewer.color)c.FaceCamera=true;local d=Instance.new("Attachment")local
e=Instance.new("Attachment")c.Attachment0=d;c.Attachment1=e;c.Parent=workspace.Terr
ain;d.Parent=workspace.Terrain;e.Parent=workspace.Terrain
local AimviewerPart, AimviewerSelectionBox,
AimviewerBeam, Attachment01, Attachment02 = a, b, c, d, e
function aimviewer:enable()
if not da_hood.functions:is_localplayer_alive()
then disable() return end
if not aimviewer.enabled then disable() return
end
if not aimviewer.keybind_enabled then disable()
return end
if not aimviewer.target then disable() return
end; if aimviewer.target == nil then disable() return end
local gun =
da_hood.functions:get_gun_from_character(character)
if not gun then disable() return end
AimviewerBeam.Enabled = true
Attachment01.Parent = gun.Handle
Attachment02.Parent = AimviewerPart
AimviewerBeam.Color =
ColorSequence.new(aimviewer.color)
end
if da_hood.functions:is_alive(player)
then
local character = player.Character
if not character then
mark.Visible = false
return
end
local head =
character:FindFirstChild("Head")
if not head then mark.Visible =
false return end
headpos = head.Position
local v2pos =
Vector2.new(screenpos.X, screenpos.Y)
mark.Position = v2pos
else
mark.Visible = false
end
else
mark.Visible = false
end
end)
else
mark.Visible = false
Loops:RemoveFromRenderStepped("RenderMarkPLayer")
end
end })
advanced:Button({ title = "teleport to player (risky)",
callback = function ()
local current_player =
playerlist:GetCurrentPlayer()
if current_player then
local player = playerService[current_player]
if da_hood.functions:is_alive(player) then
local character = player.Character
if not character then return end
local humanoidrootpart =
character:FindFirstChild("HumanoidRootPart")
if not humanoidrootpart then return end
tp_pos = humanoidrootpart.CFrame
if da_hood.functions:is_localplayer_alive()
then
local local_hum =
LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
if not local_hum then return end
local_hum.CFrame = tp_pos
end
end
end
end })
return config_list
end
loading_config = true
local config_to_load = readfile(config.path ..
config.file .. ".txt")
UserInterface:LoadConfig(config_to_load)
funcs:Refresh(config:get_list())
loading_config = false
end })
getgenv().theme = {
accent = Color3FromRGB(168, 157, 159),
scroll = Color3FromRGB(168, 157, 159)
}
theme_objects["accent"] =
theme_section:Colorpicker({ title = "accent", default = Color3.fromRGB(168, 157,
159), transparency = 1, callback = function (value, transparency)
theme.accent = value
theme_event:Fire()
end })
theme_objects["scroll"] =
theme_section:Colorpicker({ title = "scrollbar", default = Color3.fromRGB(168, 157,
159), transparency = 1, callback = function (value, transparency)
theme.scroll = value
theme_event:Fire()
end })
UI["2"].Visible = true
end
end
UserInterface:KeybindsList()
end
end)()
elseif chosen_game == "universal" then
(function() -- src/Lua/Scripts/universal/universal.lua
-- with bananas, we live.
local universal = {
functions = {}
}
lock_target = false,
configuration = {
visibility = false,
wallcheck = false,
team = false,
friends = false,
},
jitter = {
x = 0,
y = 0,
z = 0
},
randomization = 0,
use_mouse_sensitivity = false,
use_camera = true, -- will be configurable when mousemoverel
actually works
lock_target_state = false,
prediction = {
enabled = false,
horizontal = 0,
vertical = 0
},
smoothingtype = "Linear"
}
do
(function() -- src/Lua/Scripts/universal/things.lua
function universal.functions:is_alive(player)
return player
and player.Character
and
player.Character:FindFirstChildOfClass("Humanoid")
and
player.Character:FindFirstChildOfClass("Humanoid").Health > 0
and true
or false
end
function universal.functions:is_localplayer_alive()
return self:is_alive(LocalPlayer)
end
function universal.functions:wall_check(Character)
local Ray = Ray.new(camera.CFrame.Position,
(Character.PrimaryPart.Position - camera.CFrame.Position))
local IgnoreList = {camera, LocalPlayer.Character,
Character, Character.Parent}
local PartHit =
workspace:FindPartOnRayWithIgnoreList(Ray, IgnoreList)
if not PartHit then
return true
end
return false
end
if not universal.functions:is_alive(player)
then
continue
end
function
universal.functions:getnearestplayertomouse(distance, settings)
local entity = nil
local distance = distance
for i, v in next, self:getentities() do
if settings.friends and
playerService[v.Name]:IsFriendsWith(LocalPlayer.UserId) then
continue
end
local humanoidrootpart =
v:FindFirstChild("HumanoidRootPart")
if not humanoidrootpart then
continue
end
if humanoid.Health == 0 then
continue
end
local hitbox_pos =
v:FindFirstChild("HumanoidRootPart").Position
local v2_pos, onscreen =
camera:WorldToViewportPoint(hitbox_pos)
function universal.functions:getclosestpart(character,
config)
local Distance = MathHuge
local MousePosition = inputService:GetMouseLocation()
local ClosestPart
for i, v in ipairs(character:GetChildren()) do
if #config == 0 then
continue
end
return ClosestPart
end
function universal.functions:closestpoint(part)
local RaycastParamsClosestPoint = RaycastParamsNew()
RaycastParamsClosestPoint.FilterType =
Enum.RaycastFilterType.Whitelist
RaycastParamsClosestPoint.FilterDescendantsInstances
= { part }
game:HttpGetAsync("https://gist.githubusercontent.com/Exponential-Workload/
593d4b56701133bc827902fe6fdf16a2/raw/random-primeless.lua")
)()({
2005763914272875421616019,
2120351898859582514457029,
1841887723764170988785987,
2310240924147278131725029,
})
if use_camera then
return
end
if use_mouse_sensitivity then
smoothness = smoothness /
(userGameSettings.MouseSensitivity / 0.20016)
end
function universal.functions:camera_aim(arguments)
-- oh my loving dear programming life.
-- too much things in arguments 😐
if use_mouse_sensitivity then
smoothness = smoothness /
(userGameSettings.MouseSensitivity / 0.20016)
end
if player_jump then
position =
CFrameNew(camera.CFrame.Position, onjump + jFinal )
end
camera.CFrame = camera.CFrame:Lerp(position,
smoothness, Enum.EasingStyle[smoothtype], Enum.EasingDirection.InOut)
end)()
end
do -- src/Lua/Scripts/universal/components/
do -- src/Lua/Scripts/universal/components/a_aimassist.lua
-- THIS SHIT IS ACTUALLY P!112!!!! 😱😱😱
-- 😎😎😎😎😎
function aimassist:get_position()
local position
local bone = aimassist.bones:GetValues()
return position
end
function aimassist:enable()
if not aimassist.enabled then
return end
universal.functions:camera_aim({
smoothness = aimassist.smoothness,
use_mouse_sensitivity =
aimassist.use_mouse_sensitivity,
jitter = aimassist.jitter,
randomization = aimassist.randomization,
position = aimassist:get_position(),
use_camera = aimassist.use_camera,
prediction = aimassist.prediction,
character = aimassist.character,
smoothingtype = aimassist.smoothingtype
})
end
if aimassist.lock_target then
local char =
universal.functions:getnearestplayertomouse(aimassist.fieldofview,
aimassist.configuration)
if char ~= nil and aimassist.lock_target_state
== false then
aimassist.lock_target_state = true
aimassist.character = char
end
else
aimassist.character =
universal.functions:getnearestplayertomouse(aimassist.fieldofview,
aimassist.configuration)
end
end
aimassist.character = nil
end
-- interface
local aim_assist = Interface:Tab( "aim assist" )
aimassist.character = nil
Loops:AddToRenderStepped("aimassist",
aimassist.enable)
else
gacHandlers.stop()
aimassist.character = nil
aimassist.lock_target_state = false
Loops:RemoveFromRenderStepped("aimassist")
end
end })
--[[
main:Toggle({ title = "use camera", default = false,
callback = function (bool)
aimassist.use_camera = bool
end })]]
local showfov = {
enabled = false,
filled = false,
transparency = 0.5,
color = Color3.fromRGB(255,255,255)
}
local showline = {
enabled = false,
color = Color3.fromRGB(255,255,255)
}
FOV.Radius = aimassist.fieldofview
FOV.Color = showfov.color
FOV.Transparency = showfov.transparency
FOV.Filled = showfov.filled
FOV.Position = inputService:GetMouseLocation()
FOV.Visible = true
end
y_level = -30,
position = "mouse",
objectss = {},
end
connect(inputService.InputChanged, change_pos)
table.insert(self.objectss, indicattt)
self.y_level = self.y_level + 14
return shit
end,
show = function (self)
for i, v in next, self.objectss do
if v then
v.Visible = true
end
end
end,
local aim_Ass_character =
fucking_shitty_indicator:new_indicator("no target")
local title =
fucking_shitty_indicator:new_indicator("drax.universal")
aim_Ass_character.changecolor(Color3.fromRGB(255,255,255))
esp.maxdist = MathHuge
esp.updatespeed = 1
esp.colors = {
team = Color3.fromRGB(0, 0, 255),
enemy = Color3.fromRGB(255, 0, 0)
}
esp.ignoreteam = false
esp.chams = false
esp.chams_transparency = 0
esp.chams_depth = Enum.HighlightDepthMode.AlwaysOnTop
esp.head_dot = false
esp.healthbar = false
esp.name = false
esp.skeleton = false
esp.oldupdateframe = tick()
esp.cache = {}
function esp:identify(player)
return player.Team == LocalPlayer.Team and
esp.colors.team or esp.colors.enemy
end
function esp:add(player)
if esp.cache[player] == nil then
local things = {
chams = InstanceNew("Highlight"),
head_dot = DrawingClass({"Circle", {Radius = 5,
Visible = false, Transparency = 1, Filled = true}}),
box = DrawingClass({"Square", {Visible = false,
Transparency = 1}}),
healthbar = DrawingClass{"Line", {Thickness =
1, ZIndex = 2, Visible = false, Transparency = 1, Color = Color3.fromRGB(0, 255,
0), Filled = false }},
healthbaroutline = DrawingClass{"Line",
{Thickness = 3, ZIndex = 1, Visible = false, Transparency = 1, Color =
Color3.fromRGB(0, 0, 0), Filled = false}},
name = DrawingClass({"Text", {Transparency = 1,
Visible = false, Text = player.Name, Center = true, Size = 20, Font = 2, Color =
Color3.fromRGB(255,255,255)}})
}
things.chams.Enabled = false
things.chams.OutlineTransparency = 1
esp.cache[player] = {entity = player, main =
things}
end
end
function esp:remove(player)
pcall(function()
local player_cache = esp.cache[player]
if player_cache.main then
player_cache.main.chams:Destroy()
player_cache.main.head_dot:Remove()
player_cache.main.box:Remove()
player_cache.main.healthbar:Remove()
player_cache.main.healthbaroutline:Remove()
player_cache.main.name:Remove()
player_cache.main.Head:Remove()
player_cache.main.Torso:Remove()
player_cache.main.Torso2:Remove()
player_cache.main.Torso3:Remove()
player_cache.main.LeftArm:Remove()
player_cache.main.RightArm:Remove()
player_cache.main.LeftLeg:Remove()
player_cache.main.RightLeg:Remove()
player_cache.main.HeadOutline:Remove()
player_cache.main.TorsoOutline:Remove()
player_cache.main.Torso2Outline:Remove()
player_cache.main.Torso3Outline:Remove()
player_cache.main.LeftArmOutline:Remove()
player_cache.main.RightArmOutline:Remove()
player_cache.main.LeftLegOutline:Remove()
player_cache.main.RightLegOutline:Remove()
end
end)
end
function esp:calculate()
if not ((tick() - esp.oldupdateframe) >=
(1/esp.updatespeed)) then
return
end
esp.oldupdateframe = tick()
end
player.main.Head.Visible = false
player.main.Torso.Visible = false
player.main.Torso2.Visible = false
player.main.Torso3.Visible = false
player.main.LeftArm.Visible = false
player.main.RightArm.Visible = false
player.main.LeftLeg.Visible = false
player.main.RightLeg.Visible = false
player.main.HeadOutline.Visible = false
player.main.TorsoOutline.Visible = false
player.main.Torso2Outline.Visible = false
player.main.Torso3Outline.Visible = false
player.main.LeftArmOutline.Visible = false
player.main.RightArmOutline.Visible = false
player.main.LeftLegOutline.Visible = false
player.main.RightLegOutline.Visible = false
end
if not universal.functions:is_alive(player.entity)
then
disable()
continue
end
local humanoidrootpart =
player.entity.Character:FindFirstChild("HumanoidRootPart")
if not humanoidrootpart then
disable()
continue
end
if (camera.CFrame.Position -
humanoidrootpart.Position).Magnitude > esp.maxdist then
disable()
continue
end
local topPos =
camera:WorldToViewportPoint((CFrameNew(player.entity.Character.PrimaryPart.Position
, player.entity.Character.PrimaryPart.Position + camera.CFrame.lookVector) *
CFrameNew(2, 3, 0)).p)
local bottomPos =
camera:WorldToViewportPoint((CFrameNew(player.entity.Character.PrimaryPart.Position
, player.entity.Character.PrimaryPart.Position + camera.CFrame.lookVector) *
CFrameNew(-2, -3.5, 0)).p)
local sizex, sizey = topPos.X - bottomPos.X,
topPos.Y - bottomPos.Y
local posx, posy = (humscreenpos.X - sizex / 2),
((humscreenpos.Y - sizey / 2))
if player.main.chams:IsA("Highlight") then
player.main.chams.Enabled = esp.chams
player.main.chams.Parent =
player.entity.Character
player.main.chams.FillColor =
self:identify(player.entity)
player.main.chams.FillTransparency =
esp.chams_transparency
player.main.chams.DepthMode = esp.chams_depth
end
player.main.box.Position =
V2MathFloor(Vector2New(posx, posy))
player.main.box.Size =
V2MathFloor(Vector2New(sizex, sizey))
player.main.box.Visible = esp.box
player.main.box.Color =
self:identify(player.entity)
player.main.name.Visible = esp.name
player.main.name.Position =
V2MathFloor(Vector2New(posx + (sizex / 2), posy + (sizey - 25)))
local head =
player.entity.Character:FindFirstChild("Head")
if head then
local headpos = head.Position
local headdotpos =
camera:WorldToViewportPoint(Vector3New(headpos.x, headpos.y + 0.1, headpos.z))
local headdotpos_b =
camera:WorldToViewportPoint(Vector3New(headpos.x, headpos.y - 0.2, headpos.z))
local difference = headdotpos_b.y -
headdotpos.y
player.main.head_dot.Position =
Vector2New(headdotpos.x, headdotpos_b.y - difference)
player.main.head_dot.Radius = difference * 1
player.main.head_dot.Color =
self:identify(player.entity)
player.main.head_dot.Visible = esp.head_dot
else
player.main.head_dot.Visible = false
end
player.main.TorsoOutline.From = toplefttorso
player.main.TorsoOutline.To = toprighttorso
player.main.Torso2Outline.From = toptorso
player.main.Torso2Outline.To = bottomtorso
player.main.Torso3Outline.From =
bottomlefttorso
player.main.Torso3Outline.To = bottomrighttorso
player.main.LeftArmOutline.From = toplefttorso
player.main.LeftArmOutline.To = leftarm
player.main.RightArmOutline.From =
toprighttorso
player.main.RightArmOutline.To = rightarm
player.main.LeftLegOutline.From =
bottomlefttorso
player.main.LeftLegOutline.To = leftleg
player.main.RightLegOutline.From =
bottomrighttorso
player.main.RightLegOutline.To = rightleg
player.main.HeadOutline.From = toptorso
player.main.HeadOutline.To = head
end
player.main.Head.Visible = esp.skeleton
player.main.Torso.Visible = esp.skeleton
player.main.Torso2.Visible = esp.skeleton
player.main.Torso3.Visible = esp.skeleton
player.main.LeftArm.Visible = esp.skeleton
player.main.RightArm.Visible = esp.skeleton
player.main.LeftLeg.Visible = esp.skeleton
player.main.RightLeg.Visible = esp.skeleton
player.main.HeadOutline.Visible = esp.skeleton
player.main.TorsoOutline.Visible = esp.skeleton
player.main.Torso2Outline.Visible = esp.skeleton
player.main.Torso3Outline.Visible = esp.skeleton
player.main.LeftArmOutline.Visible = esp.skeleton
player.main.RightArmOutline.Visible = esp.skeleton
player.main.LeftLegOutline.Visible = esp.skeleton
player.main.RightLegOutline.Visible = esp.skeleton
player.main.Head.Color =
self:identify(player.entity)
player.main.Torso.Color =
self:identify(player.entity)
player.main.Torso2.Color =
self:identify(player.entity)
player.main.Torso3.Color =
self:identify(player.entity)
player.main.LeftArm.Color =
self:identify(player.entity)
player.main.RightArm.Color =
self:identify(player.entity)
player.main.LeftLeg.Color =
self:identify(player.entity)
player.main.RightLeg.Color =
self:identify(player.entity)
end
end
if bool then
Loops:AddToRenderStepped("ESP", function()
for i, v in next, playerService:GetPlayers() do
if v == LocalPlayer then continue end
esp:add(v)
end
esp:calculate()
end)
end
do -- src/Lua/Scripts/universal/components/d_playerlist.lua
local players_tab = Interface:Tab( "playerslist" )
UserInterface:KeybindsList()
end)()
end
end
loaderOptions.on_completed(my_script)
end)()
--[[
local Interface = UserInterface:Create{title = 'fatality<font color="rgb(168, 157,
159)">.dev</font>',}
-- asbcixzyubciyabdiaysbcxzc
aim_assist:Slider({ title = "fake lag", suffix = "ms", min = 1, max = 10, float =
0.1, callback = function (value)
print(value)
end })
end })
]]