
Key RequiredUniversal

-- sum random dudes script LOLLL
BeforeLoad = tick()
repeat
wait()
until game:IsLoaded()
local blood = getsenv(game.Players.LocalPlayer.PlayerGui.Client)blood.splatterBlood = function() end
for i,v in pairs(workspace.Debris:GetChildren()) do
if v.Name == "SurfaceGui" then
v:Remove()
end
end
for i,v in pairs(workspace.Debris:GetChildren()) do
if v.Name == "Bullet" then
v:Remove()
end
end
local library = {name = "Counter Blox",colorpicking = false,tabbuttons = {},tabs = {},options = {},flags = {},scrolling = false,notifyText = Drawing.new("Text"),playing = false,multiZindex = 100,toInvis = {},libColor = Color3.fromRGB(100,60,80),blacklisted = {Enum.KeyCode.W,Enum.KeyCode.A,Enum.KeyCode.S,Enum.KeyCode.D,Enum.UserInputType.MouseMovement}}
library.notifyText.Font = 1
library.notifyText.Size = 25
library.notifyText.Outline = true
library.notifyText.Color = Color3.new(1,1,1)
library.notifyText.Position = Vector2.new(10,40)
function library:notify(text)
if playing then return end
playing = true
library.notifyText.Text = text
library.notifyText.Transparency = 0
library.notifyText.Visible = true
for i = 0,1,0.1 do wait()
library.notifyText.Transparency = i
end
spawn(function()
wait(2)
for i = 1,0,-0.1 do wait()
library.notifyText.Transparency = i
end
playing = false
library.notifyText.Visible = false
end)
end
library:notify("Loading..") --notify text
wait()
game:IsLoaded()
Wait()
local chatmessages_effort = {
"This AD was exclusively bought to you by | effortfull.xyz |",
"This is an updated version of my Autofarm. I'll farm credits for my team. | effortfully.xyz |",
"Lately I been having some very lucid dreams and you were for my team. | effortfully.xyz |",
"Once I'm kicked, I'll join another server just like the circle of life. | effortfully.xyz |",
"Let's be real for a moment which came first, the egg or the chicken? | effortfully.xyz |",
"It's fine if you doubt me. Underestimate me, because then I'll just impress you. you know. | effortfully.xyz |"
}
local chatmessages_VoidClient = {
"1 Chronicles 28:20 David also said to Solomon his son, Be strong and courageous and do the work. Do not be afraid or discouraged, for the LORD God, my God is with you. He will not fail you or forsake you until all the work for the service of the temple of the LORD is finished.",
"Ephesians 6:10 Finally, be strong in the Lord and in his mighty power.",
"saiah 54:4 Do not be afraid; you will not be put to shame. Do not fear disgrace; you will not be humiliated. You will forget the shame of your youth and remember no more the reproach of your widowhood.",
"John 14:27 Peace I leave with you; my peace I give you. I do not give to you as the world gives. Do not let your hearts be troubled and do not be afraid.",
"2 Timothy 1:7 For the Spirit God gave us does not make us timid, but gives us power, love, and self-discipline.",
"1 Corinthians 16:13 Be on your guard; stand firm in the faith; be courageous; be strong.",
"Mark 5:36 Overhearing what they said, Jesus told him, Don't be afraid; just believe.",
"John 10:10 The thief comes only to steal and kill and destroy. I came that they may have life and have it abundantly.",
"Psalm 16:11 You make known to me the path of life, you will fill me with joy in your presence.",
"29:11 For I know the plans I have for you, 'declares the Lord, 'plans to prosper you and not to harm you, plans to give you hope and a future.",
"John 3:16 For God so loved the world, that he gave his only Son, that whoever believes in him should not perish but have eternal life.",
"19:21 Many are the plans in a man's heart, but it is the Lord's purpose that prevails"
}
local chatmessages_Flirt = {
"I was wondering if you could tell me: If you're here, who's running Heaven?",
"No wonder the sky is gray (or dark, if at night)~ all the color is in your eyes.",
"You've got a lot of beautiful curves, but your smile is absolutely my favorite~.",
"You've got everything I've been searching for, and believe me~ I've been looking a long time.",
"It says in the Bible to only think about what's pure and lovely~ So I've been thinking about you all day long.",
"I'm not usually religious~ but when I saw you, I knew you were the answer to my prayers~",
"Excuse me, do you have the time? I just want to remember the exact minute I got a crush on you.",
"You know, I had a pickup line ready to go, but you`re so hot it just left my mind.",
"I seem to have lost my number~ can I have yours?",
"You know, I`m actually terrible at flirting. How about you try to pick me up instead?"
}
--if this shit got leaked feel free to paste
getgenv().values = {}
local library = {}
local Signal = loadstring(game:HttpGet("https://raw.githubusercontent.com/Quenty/NevermoreEngine/version2/Modules/Shared/Events/Signal.lua"))()
local ConfigSave = Signal.new("ConfigSave")
local ConfigLoad = Signal.new("ConfigLoad")
local txt = game:GetService("TextService")
local TweenService = game:GetService("TweenService")
function library:Tween(...) TweenService:Create(...):Play() end
local cfglocation = "Voidclient/"
makefolder("Voidclient")
-- caching
local Vec2 = Vector2.new
local Vec3 = Vector3.new
local CF = CFrame.new
local INST = Instance.new
local COL3 = Color3.new
local COL3RGB = Color3.fromRGB
local COL3HSV = Color3.fromHSV
local CLAMP = math.clamp
local DEG = math.deg
local FLOOR = math.floor
local ACOS = math.acos
local RANDOM = math.random
local ATAN2 = math.atan2
local HUGE = math.huge
local RAD = math.rad
local MIN = math.min
local POW = math.pow
local UDIM2 = UDim2.new
local CFAngles = CFrame.Angles
local FIND = string.find
local LEN = string.len
local SUB = string.sub
local GSUB = string.gsub
local RAY = Ray.new
local INSERT = table.insert
local TBLFIND = table.find
local TBLREMOVE = table.remove
local TBLSORT = table.sort
-- i see those pastes lying around -- Bad 9672 & WetIDreamz 0001 & zeox 9999
workspace.InterpolationThrottling = Enum.InterpolationThrottlingMode.Disabled
function rgbtotbl(rgb)
return {R = rgb.R, G = rgb.G, B = rgb.B}
end
function tbltorgb(tbl)
return COL3(tbl.R, tbl.G, tbl.B)
end
local function deepCopy(original)
local copy = {}
for k, v in pairs(original) do
if type(v) == "table" then
v = deepCopy(v)
end
copy[k] = v
end
return copy
end
function library:ConfigFix(cfg)
local copy = game:GetService("HttpService"):JSONDecode(readfile(cfglocation..cfg..".txt"))
for i,Tabs in pairs(copy) do
for i,Sectors in pairs(Tabs) do
for i,Elements in pairs(Sectors) do
if Elements.Color ~= nil then
local a = Elements.Color
Elements.Color = tbltorgb(a)
end
end
end
end
return copy
end
function library:SaveConfig(cfg)
local copy = deepCopy(values)
for i,Tabs in pairs(copy) do
for i,Sectors in pairs(Tabs) do
for i,Elements in pairs(Sectors) do
if Elements.Color ~= nil then
Elements.Color = {R=Elements.Color.R, G=Elements.Color.G, B=Elements.Color.B}
end
end
end
end
writefile(cfglocation..cfg..".txt", game:GetService("HttpService"):JSONEncode(copy))
end
function library:New(name)
local menu = {}
local Catto = INST("ScreenGui")
local Menu = INST("ImageLabel")
local TextLabel = INST("TextLabel")
local TabButtons = INST("Frame")
local UIListLayout = INST("UIListLayout")
local Tabs = INST("Frame")
Catto.Name = "uwu"
Catto.ResetOnSpawn = false
Catto.ZIndexBehavior = "Global"
Catto.DisplayOrder = 420133769
local UIScale = INST("UIScale")
UIScale.Parent = Catto
function menu:SetScale(scale)
UIScale.Scale = scale
end
local but = INST("TextButton")
but.Modal = true
but.Text = ""
but.BackgroundTransparency = 1
but.Parent = Catto
local cursor = INST("ImageLabel")
cursor.Name = "cursor"
cursor.Parent = Catto
cursor.BackgroundTransparency = 1
cursor.Size = UDIM2(0,64,0,64)
cursor.Image = "rbxassetid://7543116323"
cursor.ZIndex = 1000
cursor.ImageColor3 = COL3RGB(255,255,255)
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local Mouse = LocalPlayer:GetMouse()
game:GetService("RunService").RenderStepped:connect(function()
cursor.Visible = Catto.Enabled
cursor.Position = UDIM2(0,Mouse.X-32,0,Mouse.Y-28)
end)
Menu.Name = "Menu"
Menu.Parent = Catto
Menu.BackgroundColor3 = COL3RGB(255, 255, 255)
Menu.Position = UDIM2(0.5, -300, 0.5, -300)
Menu.Size = UDIM2(0, 680, 0, 600)
Menu.Image = "rbxassetid://8280696779"
Menu.BorderSizePixel = 1
TextLabel.Position = UDIM2(0, 7, 0, 0)
library.uiopen = true
game:GetService("UserInputService").InputBegan:Connect(function(key)
if key.KeyCode == Enum.KeyCode.Insert then
Catto.Enabled = not Catto.Enabled
library.uiopen = Catto.Enabled
end
end)
local KeybindList = INST("ScreenGui")
do
local TextLabel = INST("TextLabel")
local Frame = INST("Frame")
local UIListLayout = INST("UIListLayout")
KeybindList.Name = "KeybindList"
KeybindList.ZIndexBehavior = Enum.ZIndexBehavior.Global
KeybindList.Enabled = false
TextLabel.Parent = KeybindList
TextLabel.BackgroundColor3 = COL3RGB(0, 0, 0)
TextLabel.BorderColor3 = COL3RGB(145, 23, 195)
TextLabel.Position = UDIM2(0, 1, 0.300000012, 0)
TextLabel.Size = UDIM2(0, 200, 0, 20)
TextLabel.ZIndex = 2
TextLabel.Font = Enum.Font.Code
TextLabel.Text = "keybinds"
TextLabel.TextColor3 = COL3RGB(255, 255, 255)
TextLabel.TextSize = 14.000
Frame.Parent = TextLabel
Frame.BackgroundColor3 = COL3RGB(255, 255, 255)
Frame.BackgroundTransparency = 1.000
Frame.Position = UDIM2(0, 0, 1, 1)
Frame.Size = UDIM2(1, 0, 1, 0)
UIListLayout.Parent = Frame
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
KeybindList.Parent = game.CoreGui
end
function keybindadd(text)
if not KeybindList.TextLabel.Frame:FindFirstChild(text) then
local TextLabel = INST("TextLabel")
TextLabel.BackgroundColor3 = COL3RGB(1, 1, 1)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(145, 23, 195)
TextLabel.BorderSizePixel = 1
TextLabel.Size = UDIM2(0, 200, 0, 20)
TextLabel.ZIndex = 2
TextLabel.Font = Enum.Font.Code
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(255, 255, 255)
TextLabel.TextSize = 14.000
TextLabel.TextStrokeTransparency = 0
TextLabel.Name = text
TextLabel.Parent = KeybindList.TextLabel.Frame
end
end
function keybindremove(text)
if KeybindList.TextLabel.Frame:FindFirstChild(text) then
KeybindList.TextLabel.Frame:FindFirstChild(text):Destroy()
end
end
function library:SetKeybindVisible(Joe)
KeybindList.Enabled = Joe
end
library.dragging = false
do
local UserInputService = game:GetService("UserInputService")
local a = Menu
local dragInput
local dragStart
local startPos
local function update(input)
local delta = input.Position - dragStart
a.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
a.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
library.dragging = true
dragStart = input.Position
startPos = a.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
library.dragging = false
end
end)
end
end)
a.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
UserInputService.InputChanged:Connect(function(input)
if input == dragInput and library.dragging then
update(input)
end
end)
end
TextLabel.Parent = Menu
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDim2.new(0, 574, 0, 576)
TextLabel.Size = UDim2.new(0, 98, 0, 22)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = "Supremacy.cc 1.2 "
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.TextSize = 14.000
TextLabel.TextStrokeTransparency = 0.000
TabButtons.Name = "TabButtons"
TabButtons.Parent = Menu
TabButtons.BackgroundColor3 = COL3RGB(20, 20, 20)
TabButtons.BackgroundTransparency = 1
TabButtons.Position = UDIM2(0, 22, 0, 32)
TabButtons.Size = UDIM2(0, 30, 0, 18)
UIListLayout.Parent = TabButtons
UIListLayout.FillDirection = Enum.FillDirection.Vertical
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.VerticalAlignment = Enum.VerticalAlignment.Top
Tabs.Name = "Tabs"
Tabs.Parent = Menu
Tabs.BackgroundColor3 = COL3RGB(20, 20, 20)
Tabs.BackgroundTransparency = 1.000
Tabs.Position = UDIM2(0, 86, 0, 30)
Tabs.Size = UDIM2(0, 600, 0, 528)
local first = true
local currenttab
function menu:Tab(text)
local tabname
tabname = text
local Tab = {}
values[tabname] = {}
local TextButton = INST("TextButton")
TextButton.BackgroundColor3 = COL3RGB(255, 255, 255)
TextButton.BackgroundTransparency = 1
TextButton.Size = UDIM2(0, txt:GetTextSize(text, 12, Enum.Font.Code, Vec2(700,700)).X+12, 1, 0)
TextButton.Font = Enum.Font.Code
TextButton.Text = text
TextButton.TextColor3 = COL3RGB(255, 255, 255)
TextButton.TextSize = 13
TextButton.Parent = TabButtons
local TabGui = INST("ScrollingFrame")
local Left = INST("Frame")
local UIListLayout = INST("UIListLayout")
local Right = INST("Frame")
local UIListLayout_2 = INST("UIListLayout")
TabGui.Name = "TabGui"
TabGui.Parent = Tabs
TabGui.BackgroundColor3 = COL3RGB(255, 255, 255)
TabGui.BackgroundTransparency = 1.000
TabGui.Size = UDIM2(1, 0, 1, 0)
TabGui.Visible = false
TabGui.ScrollBarThickness = 0
Left.Name = "Left"
Left.Parent = TabGui
Left.BackgroundColor3 = COL3RGB(255, 255, 255)
Left.BackgroundTransparency = 1.000
Left.Position = UDIM2(0, 15, 0, 11)
Left.Size = UDIM2(0, 279, 0, 543)
UIListLayout.Parent = Left
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0, 10)
Right.Name = "Right"
Right.Parent = TabGui
Right.BackgroundColor3 = COL3RGB(255, 255, 255)
Right.BackgroundTransparency = 1.000
Right.Position = UDIM2(0, 303, 0, 11)
Right.Size = UDIM2(0, 279, 0, 543)
UIListLayout_2.Parent = Right
UIListLayout_2.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout_2.Padding = UDim.new(0, 10)
if first then
TextButton.TextColor3 = COL3RGB(255, 255, 255)
currenttab = text
TabGui.Visible = true
first = false
end
TextButton.MouseButton1Down:Connect(function()
if currenttab ~= text then
for i,v in pairs(TabButtons:GetChildren()) do
if v:IsA("TextButton") then
library:Tween(v, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
end
for i,v in pairs(Tabs:GetChildren()) do
v.Visible = false
end
library:Tween(TextButton, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(40, 46, 108)})
currenttab = text
TabGui.Visible = true
end
end)
function Tab:MSector(text, side)
local sectorname = text
local MSector = {}
values[tabname][text] = {}
local Section = INST("Frame")
local SectionText = INST("TextLabel")
local Inner = INST("Frame")
local sectiontabs = INST("Frame")
local UIListLayout_2 = INST("UIListLayout")
Section.Name = "Section"
Section.Parent = TabGui[side]
Section.BackgroundColor3 = COL3RGB(20, 20, 20)
Section.BackgroundTransparency = 1.000
Section.BorderColor3 = COL3RGB(30, 30, 30)
Section.BorderSizePixel = 1
Section.Size = UDIM2(1, 0, 0, 33)
SectionText.Name = "SectionText"
SectionText.Parent = Section
SectionText.BackgroundColor3 = COL3RGB(255, 255, 255)
SectionText.BackgroundTransparency = 1.000
SectionText.Position = UDIM2(0, 7, 0, -12)
SectionText.Size = UDIM2(0, 270, 0, 19)
SectionText.ZIndex = 2
SectionText.Font = Enum.Font.Code
SectionText.Text = text
SectionText.TextColor3 = COL3RGB(255, 255, 255)
SectionText.TextSize = 13.750
SectionText.TextXAlignment = Enum.TextXAlignment.Left
Inner.Name = "Inner"
Inner.Parent = Section
Inner.BackgroundColor3 = COL3RGB(18, 18, 18)
Inner.BackgroundTransparency = 1.000
Inner.BorderColor3 = COL3RGB(18, 18, 18)
Inner.BorderSizePixel = 1
Inner.Position = UDIM2(0, 1, 0, 1)
Inner.Size = UDIM2(1, -2, 1, -9)
sectiontabs.Name = "sectiontabs"
sectiontabs.Parent = Section
sectiontabs.BackgroundColor3 = COL3RGB(255, 255, 255)
sectiontabs.BackgroundTransparency = 1.000
sectiontabs.Position = UDIM2(0, 0, 0, 6)
sectiontabs.Size = UDIM2(1, 0, 0, 22)
UIListLayout_2.Parent = sectiontabs
UIListLayout_2.FillDirection = Enum.FillDirection.Horizontal
UIListLayout_2.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout_2.Padding = UDim.new(0,4)
local firs = true
local selected
function MSector:Tab(text)
local tab = {}
values[tabname][sectorname][text] = {}
local tabtext = text
local tabsize = UDIM2(1, 0, 0, 44)
local tab1 = INST("Frame")
local UIPadding = INST("UIPadding")
local UIListLayout = INST("UIListLayout")
local TextButton = INST("TextButton")
tab1.Name = text
tab1.Parent = Inner
tab1.BackgroundColor3 = COL3RGB(20, 20, 20)
tab1.BorderColor3 = COL3RGB(30, 30, 30)
tab1.BorderSizePixel = 1
tab1.BackgroundTransparency = 1.000
tab1.Position = UDIM2(0, 0, 0, 30)
tab1.Size = UDIM2(1, 0, 1, -21)
tab1.Name = text
tab1.Visible = false
UIPadding.Parent = tab1
UIPadding.PaddingTop = UDim.new(0, 0)
UIListLayout.Parent = tab1
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0, 1)
TextButton.Parent = sectiontabs
TextButton.BackgroundColor3 = COL3RGB(255, 255, 255)
TextButton.BackgroundTransparency = 1.000
TextButton.Size = UDIM2(0, txt:GetTextSize(text, 14, Enum.Font.Code, Vec2(700,700)).X + 2, 1, 0)
TextButton.Font = Enum.Font.Code
TextButton.Text = text
TextButton.TextColor3 = COL3RGB(255, 255, 255)
TextButton.TextSize = 12.750
TextButton.Name = text
TextButton.MouseButton1Down:Connect(function()
for i,v in pairs(Inner:GetChildren()) do
v.Visible = false
end
for i,v in pairs(sectiontabs:GetChildren()) do
if v:IsA("TextButton") then
library:Tween(v, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
end
Section.Size = tabsize
tab1.Visible = true
library:Tween(TextButton, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
end)
function tab:Element(type, text, data, callback)
local Element = {}
data = data or {}
callback = callback or function() end
values[tabname][sectorname][tabtext][text] = {}
if type == "Jumbobox" then
tabsize = tabsize + UDIM2(0,0,0, 39)
Element.value = {Jumbobox = {}}
data.options = data.options or {}
local Dropdown = INST("Frame")
local Button = INST("TextButton")
local TextLabel = INST("TextLabel")
local Drop = INST("ScrollingFrame")
local Button_2 = INST("TextButton")
local TextLabel_2 = INST("TextLabel")
local UIListLayout = INST("UIListLayout")
local ImageLabel = INST("ImageLabel")
local TextLabel_3 = INST("TextLabel")
Dropdown.Name = "Dropdown"
Dropdown.Parent = tab1
Dropdown.BackgroundColor3 = COL3RGB(255, 255, 255)
Dropdown.BackgroundTransparency = 1.000
Dropdown.Position = UDIM2(0, 0, 0.255102038, 0)
Dropdown.Size = UDIM2(1, 0, 0, 39)
Button.Name = "Button"
Button.Parent = Dropdown
Button.BackgroundColor3 = COL3RGB(20, 20, 20)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(255, 255, 255)
Button.TextSize = 12.750
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 5, 0, 0)
TextLabel.Size = UDIM2(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = "..."
TextLabel.TextColor3 = COL3RGB(255, 255, 255)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local abcd = TextLabel
Drop.Name = "Drop"
Drop.Parent = Button
Drop.Active = true
Drop.BackgroundColor3 = COL3RGB(20, 20, 20)
Drop.BorderColor3 = COL3RGB(30, 30, 30)
Drop.Position = UDIM2(0, 0, 1, 1)
Drop.Size = UDIM2(1, 0, 0, 20)
Drop.Visible = false
Drop.BottomImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.CanvasSize = UDIM2(1, 1, 1, 1)
Drop.ScrollBarThickness = 0
Drop.TopImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.MidImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.AutomaticCanvasSize = "Y"
Drop.ZIndex = 5
Drop.ScrollBarImageColor3 = COL3RGB(97, 59, 227)
UIListLayout.Parent = Drop
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
values[tabname][sectorname][tabtext][text] = Element.value
local num = #data.options
if num > 5 then
Drop.Size = UDIM2(1, 0, 0, 85)
else
Drop.Size = UDIM2(1, 0, 0, 17*num)
end
local first = true
local function updatetext()
local old = {}
for i,v in ipairs(data.options) do
if TBLFIND(Element.value.Jumbobox, v) then
INSERT(old, v)
else
end
end
local str = ""
if #old == 0 then
str = "..."
else
if #old == 1 then
str = old[1]
else
for i,v in ipairs(old) do
if i == 1 then
str = v
else
if i > 2 then
if i < 4 then
str = str..", ..."
end
else
str = str..", "..v
end
end
end
end
end
abcd.Text = str
end
for i,v in ipairs(data.options) do
do
local Button = INST("TextButton")
local TextLabel = INST("TextLabel")
Button.Name = v
Button.Parent = Drop
Button.BackgroundColor3 = COL3RGB(20, 20, 20)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(255, 255, 255)
Button.TextSize = 12.750
Button.BorderSizePixel = 1
Button.ZIndex = 6
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(25, 25, 25)
TextLabel.Position = UDIM2(0, 5, 0, -1)
TextLabel.Size = UDIM2(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = v
TextLabel.TextColor3 = COL3RGB(255, 255, 255)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
TextLabel.ZIndex = 6
Button.MouseButton1Down:Connect(function()
if TBLFIND(Element.value.Jumbobox, v) then
for i,a in pairs(Element.value.Jumbobox) do
if a == v then
TBLREMOVE(Element.value.Jumbobox, i)
end
end
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(255, 255, 255)})
else
INSERT(Element.value.Jumbobox, v)
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
end
updatetext()
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
end)
Button.MouseEnter:Connect(function()
if not TBLFIND(Element.value.Jumbobox, v) then
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
end
end)
Button.MouseLeave:Connect(function()
if not TBLFIND(Element.value.Jumbobox, v) then
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
end)
first = false
end
end
function Element:SetValue(val)
Element.value = val
for i,v in pairs(Drop:GetChildren()) do
if v.Name ~= "UIListLayout" then
if TBLFIND(val.Jumbobox, v.Name) then
v.TextLabel.TextColor3 = COL3RGB(97, 59, 227)
else
v.TextLabel.TextColor3 = COL3RGB(255, 255, 255)
end
end
end
updatetext()
values[tabname][sectorname][tabtext][text] = Element.value
callback(val)
end
if data.default then
Element:SetValue(data.default)
end
ImageLabel.Parent = Button
ImageLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Position = UDIM2(0, 165, 0, 6)
ImageLabel.Size = UDIM2(0, 6, 0, 4)
ImageLabel.Image = "http://www.roblox.com/asset/?id=6724771531"
TextLabel_3.Parent = Dropdown
TextLabel_3.BackgroundColor3 = COL3RGB(200, 200, 200)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDIM2(0, 32, 0, -1)
TextLabel_3.Size = UDIM2(0.111913361, 208, 0.382215232, 0)
TextLabel_3.Font = Enum.Font.Code
TextLabel_3.Text = text
TextLabel_3.TextColor3 = COL3RGB(200, 200, 200)
TextLabel_3.TextSize = 12.750
TextLabel_3.TextXAlignment = Enum.TextXAlignment.Left
Button.MouseButton1Down:Connect(function()
Drop.Visible = not Drop.Visible
if not Drop.Visible then
Drop.CanvasPosition = Vec2(0,0)
end
end)
local indrop = false
local ind = false
Drop.MouseEnter:Connect(function()
indrop = true
end)
Drop.MouseLeave:Connect(function()
indrop = false
end)
Button.MouseEnter:Connect(function()
ind = true
end)
Button.MouseLeave:Connect(function()
ind = false
end)
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseButton2 then
if Drop.Visible == true and not indrop and not ind then
Drop.Visible = false
Drop.CanvasPosition = Vec2(0,0)
end
end
end)
elseif type == "TextBox" then
elseif type == "ToggleKeybind" then
tabsize = tabsize + UDIM2(0,0,0,16)
Element.value = {Toggle = data.default and data.default.Toggle or false, Key, Type = "Always", Active = true}
local Toggle = INST("Frame")
local Button = INST("TextButton")
local Color = INST("Frame")
local TextLabel = INST("TextLabel")
Toggle.Name = "Toggle"
Toggle.Parent = tab1
Toggle.BackgroundColor3 = COL3RGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(97, 59, 227)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
local binding = false
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local function update()
if Element.value.Toggle then
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(97, 59, 227)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(255, 255, 255)})
else
keybindremove(text)
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(20, 20, 20)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
end
Button.MouseButton1Down:Connect(function()
if not binding then
Element.value.Toggle = not Element.value.Toggle
update()
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
end
end)
if data.default then
update()
end
values[tabname][sectorname][tabtext][text] = Element.value
do
local Keybind = INST("TextButton")
local Frame = INST("Frame")
local Always = INST("TextButton")
local UIListLayout = INST("UIListLayout")
local Hold = INST("TextButton")
local Toggle = INST("TextButton")
Keybind.Name = "Keybind"
Keybind.Parent = Button
Keybind.BackgroundColor3 = COL3RGB(20, 20, 20)
Keybind.BorderColor3 = COL3RGB(30, 30, 30)
Keybind.Position = UDIM2(0, 270, 0.5, -6)
Keybind.Text = "none"
Keybind.Size = UDIM2(0, 43, 0, 12)
Keybind.Size = UDIM2(0,txt:GetTextSize("none", 14, Enum.Font.Code, Vec2(700, 12)).X + 5,0, 12)
Keybind.AutoButtonColor = false
Keybind.Font = Enum.Font.Code
Keybind.TextColor3 = COL3RGB(200, 200, 200)
Keybind.TextSize = 12.750
Keybind.AnchorPoint = Vec2(1,0)
Keybind.ZIndex = 3
Frame.Parent = Keybind
Frame.BackgroundColor3 = COL3RGB(20, 20, 20)
Frame.BorderColor3 = COL3RGB(30, 30, 30)
Frame.Position = UDIM2(1, -49, 0, 1)
Frame.Size = UDIM2(0, 49, 0, 49)
Frame.Visible = false
Frame.ZIndex = 3
Always.Name = "Always"
Always.Parent = Frame
Always.BackgroundColor3 = COL3RGB(20, 20, 20)
Always.BackgroundTransparency = 1.000
Always.BorderColor3 = COL3RGB(30, 30, 30)
Always.Position = UDIM2(-3.03289485, 231, 0.115384616, -6)
Always.Size = UDIM2(1, 0, 0, 16)
Always.AutoButtonColor = false
Always.Font = Enum.Font.Code
Always.Text = "Always"
Always.TextColor3 = COL3RGB(97, 59, 227)
Always.TextSize = 12.750
Always.ZIndex = 3
UIListLayout.Parent = Frame
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
Hold.Name = "Hold"
Hold.Parent = Frame
Hold.BackgroundColor3 = COL3RGB(20, 20, 20)
Hold.BackgroundTransparency = 1.000
Hold.BorderColor3 = COL3RGB(30, 30, 30)
Hold.Position = UDIM2(-3.03289485, 231, 0.115384616, -6)
Hold.Size = UDIM2(1, 0, 0, 16)
Hold.AutoButtonColor = false
Hold.Font = Enum.Font.Code
Hold.Text = "Hold"
Hold.TextColor3 = COL3RGB(200, 200, 200)
Hold.TextSize = 12.750
Hold.ZIndex = 3
Toggle.Name = "Toggle"
Toggle.Parent = Frame
Toggle.BackgroundColor3 = COL3RGB(20, 20, 20)
Toggle.BackgroundTransparency = 1.000
Toggle.BorderColor3 = COL3RGB(30, 30, 30)
Toggle.Position = UDIM2(-3.03289485, 231, 0.115384616, -6)
Toggle.Size = UDIM2(1, 0, 0, 16)
Toggle.AutoButtonColor = false
Toggle.Font = Enum.Font.Code
Toggle.Text = "Toggle"
Toggle.TextColor3 = COL3RGB(200, 200, 200)
Toggle.TextSize = 12.750
Toggle.ZIndex = 3
for _,button in pairs(Frame:GetChildren()) do
if button:IsA("TextButton") then
button.MouseButton1Down:Connect(function()
Element.value.Type = button.Text
Frame.Visible = false
Element.value.Active = Element.value.Type == "Always" and true or false
if Element.value.Type == "Always" then
keybindremove(text)
end
for _,button in pairs(Frame:GetChildren()) do
if button:IsA("TextButton") and button.Text ~= Element.value.Type then
button.Font = Enum.Font.Code
library:Tween(button, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200,200,200)})
end
end
button.Font = Enum.Font.Code
button.TextColor3 = COL3RGB(97, 59, 227)
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
end)
button.MouseEnter:Connect(function()
if Element.value.Type ~= button.Text then
library:Tween(button, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
end
end)
button.MouseLeave:Connect(function()
if Element.value.Type ~= button.Text then
library:Tween(button, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200,200,200)})
end
end)
end
end
Keybind.MouseButton1Down:Connect(function()
if not binding then
wait()
binding = true
Keybind.Text = "..."
Keybind.Size = UDIM2(0,txt:GetTextSize("...", 14, Enum.Font.Code, Vec2(700, 12)).X + 4,0, 12)
end
end)
Keybind.MouseButton2Down:Connect(function()
if not binding then
Frame.Visible = not Frame.Visible
end
end)
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
local InFrame = false
Frame.MouseEnter:Connect(function()
InFrame = true
end)
Frame.MouseLeave:Connect(function()
InFrame = false
end)
local InFrame2 = false
Keybind.MouseEnter:Connect(function()
InFrame2 = true
end)
Keybind.MouseLeave:Connect(function()
InFrame2 = false
end)
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseButton2 and not binding then
if Frame.Visible == true and not InFrame and not InFrame2 then
Frame.Visible = false
end
end
if binding then
binding = false
Keybind.Text = input.KeyCode.Name ~= "Unknown" and input.KeyCode.Name:upper() or input.UserInputType.Name:upper()
Keybind.Size = UDIM2(0,txt:GetTextSize(Keybind.Text, 14, Enum.Font.Code, Vec2(700, 12)).X + 5,0, 12)
Element.value.Key = input.KeyCode.Name ~= "Unknown" and input.KeyCode.Name or input.UserInputType.Name
if input.KeyCode.Name == "Backspace" then
Keybind.Text = "none"
Keybind.Size = UDIM2(0,txt:GetTextSize(Keybind.Text, 14, Enum.Font.Code, Vec2(700, 12)).X + 4,0, 12)
Element.value.Key = nil
end
else
if Element.value.Key ~= nil then
if FIND(Element.value.Key, "Mouse") then
if input.UserInputType == Enum.UserInputType[Element.value.Key] then
if Element.value.Type == "Hold" then
Element.value.Active = true
if Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
elseif Element.value.Type == "Toggle" then
Element.value.Active = not Element.value.Active
if Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
end
end
else
if input.KeyCode == Enum.KeyCode[Element.value.Key] then
if Element.value.Type == "Hold" then
Element.value.Active = true
if Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
elseif Element.value.Type == "Toggle" then
Element.value.Active = not Element.value.Active
if Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
end
end
end
else
Element.value.Active = true
end
end
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
end)
game:GetService("UserInputService").InputEnded:Connect(function(input)
if Element.value.Key ~= nil then
if FIND(Element.value.Key, "Mouse") then
if input.UserInputType == Enum.UserInputType[Element.value.Key] then
if Element.value.Type == "Hold" then
Element.value.Active = false
if Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
end
end
else
if input.KeyCode == Enum.KeyCode[Element.value.Key] then
if Element.value.Type == "Hold" then
Element.value.Active = false
if Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
end
end
end
end
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
end)
end
function Element:SetValue(value)
Element.value = value
update()
end
elseif type == "Toggle" then
tabsize = tabsize + UDIM2(0,0,0,16)
Element.value = {Toggle = data.default and data.default.Toggle or false}
local Toggle = INST("Frame")
local Button = INST("TextButton")
local Color = INST("Frame")
local TextLabel = INST("TextLabel")
Toggle.Name = "Toggle"
Toggle.Parent = tab1
Toggle.BackgroundColor3 = COL3RGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(20, 20, 20)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local function update()
if Element.value.Toggle then
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(97, 59, 227)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(255, 255, 255)})
else
keybindremove(text)
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(20, 20, 20)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
values[tabname][sectorname][tabtext][text] = Element.value
end
Button.MouseButton1Down:Connect(function()
Element.value.Toggle = not Element.value.Toggle
update()
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
end)
if data.default then
update()
end
values[tabname][sectorname][tabtext][text] = Element.value
function Element:SetValue(value)
Element.value = value
values[tabname][sectorname][tabtext][text] = Element.value
update()
callback(Element.value)
end
elseif type == "ToggleColor" then
tabsize = tabsize + UDIM2(0,0,0,16)
Element.value = {Toggle = data.default and data.default.Toggle or false, Color = data.default and data.default.Color or COL3RGB(255,255,255)}
local Toggle = INST("Frame")
local Button = INST("TextButton")
local Color = INST("Frame")
local TextLabel = INST("TextLabel")
Toggle.Name = "Toggle"
Toggle.Parent = tab1
Toggle.BackgroundColor3 = COL3RGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(20, 20, 20)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local function update()
if Element.value.Toggle then
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(97, 59, 227)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
else
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(20, 20, 20)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
end
local ColorH,ColorS,ColorV
local ColorP = INST("TextButton")
local Frame = INST("Frame")
local Colorpick = INST("ImageButton")
local ColorDrag = INST("Frame")
local Huepick = INST("ImageButton")
local Huedrag = INST("Frame")
ColorP.Name = "ColorP"
ColorP.Parent = Button
ColorP.AnchorPoint = Vec2(1, 0)
ColorP.BackgroundColor3 = COL3RGB(255, 0, 0)
ColorP.BorderColor3 = COL3RGB(30, 30, 30)
ColorP.Position = UDIM2(0, 270, 0.5, -4)
ColorP.Size = UDIM2(0, 18, 0, 8)
ColorP.AutoButtonColor = false
ColorP.Font = Enum.Font.Code
ColorP.Text = ""
ColorP.TextColor3 = COL3RGB(200, 200, 200)
ColorP.TextSize = 12.750
Frame.Parent = ColorP
Frame.BackgroundColor3 = COL3RGB(20, 20, 20)
Frame.BorderColor3 = COL3RGB(30, 30, 30)
Frame.Position = UDIM2(-0.666666687, -170, 1.375, 0)
Frame.Size = UDIM2(0, 200, 0, 170)
Frame.Visible = false
Frame.ZIndex = 3
Colorpick.Name = "Colorpick"
Colorpick.Parent = Frame
Colorpick.BackgroundColor3 = COL3RGB(255, 255, 255)
Colorpick.BorderColor3 = COL3RGB(30, 30, 30)
Colorpick.ClipsDescendants = false
Colorpick.Position = UDIM2(0, 40, 0, 10)
Colorpick.Size = UDIM2(0, 150, 0, 150)
Colorpick.AutoButtonColor = false
Colorpick.Image = "rbxassetid://4155801252"
Colorpick.ImageColor3 = COL3RGB(255, 0, 0)
Colorpick.ZIndex = 3
ColorDrag.Name = "ColorDrag"
ColorDrag.Parent = Colorpick
ColorDrag.AnchorPoint = Vec2(0.5, 0.5)
ColorDrag.BackgroundColor3 = COL3RGB(255, 255, 255)
ColorDrag.BorderColor3 = COL3RGB(30, 30, 30)
ColorDrag.Size = UDIM2(0, 4, 0, 4)
ColorDrag.ZIndex = 3
Huepick.Name = "Huepick"
Huepick.Parent = Frame
Huepick.BackgroundColor3 = COL3RGB(255, 255, 255)
Huepick.BorderColor3 = COL3RGB(30, 30, 30)
Huepick.ClipsDescendants = false
Huepick.Position = UDIM2(0, 10, 0, 10)
Huepick.Size = UDIM2(0, 20, 0, 150)
Huepick.AutoButtonColor = false
Huepick.Image = "rbxassetid://3641079629"
Huepick.ImageColor3 = COL3RGB(255, 0, 0)
Huepick.ImageTransparency = 1
Huepick.BackgroundTransparency = 0
Huepick.ZIndex = 3
local HueFrameGradient = INST("UIGradient")
HueFrameGradient.Rotation = 90
HueFrameGradient.Name = "HueFrameGradient"
HueFrameGradient.Parent = Huepick
HueFrameGradient.Color = ColorSequence.new {
ColorSequenceKeypoint.new(0.00, COL3RGB(255, 0, 0)),
ColorSequenceKeypoint.new(0.17, COL3RGB(255, 0, 255)),
ColorSequenceKeypoint.new(0.33, COL3RGB(0, 0, 255)),
ColorSequenceKeypoint.new(0.50, COL3RGB(0, 255, 255)),
ColorSequenceKeypoint.new(0.67, COL3RGB(0, 255, 0)),
ColorSequenceKeypoint.new(0.83, COL3RGB(255, 255, 0)),
ColorSequenceKeypoint.new(1.00, COL3RGB(255, 0, 0))
}
Huedrag.Name = "Huedrag"
Huedrag.Parent = Huepick
Huedrag.BackgroundColor3 = COL3RGB(255, 255, 255)
Huedrag.BorderColor3 = COL3RGB(30, 30, 30)
Huedrag.Size = UDIM2(1, 0, 0, 2)
Huedrag.ZIndex = 3
ColorP.MouseButton1Down:Connect(function()
Frame.Visible = not Frame.Visible
end)
local abc = false
local inCP = false
ColorP.MouseEnter:Connect(function()
abc = true
end)
ColorP.MouseLeave:Connect(function()
abc = false
end)
Frame.MouseEnter:Connect(function()
inCP = true
end)
Frame.MouseLeave:Connect(function()
inCP = false
end)
ColorH = (CLAMP(Huedrag.AbsolutePosition.Y-Huepick.AbsolutePosition.Y, 0, Huepick.AbsoluteSize.Y)/Huepick.AbsoluteSize.Y)
ColorS = 1-(CLAMP(ColorDrag.AbsolutePosition.X-Colorpick.AbsolutePosition.X, 0, Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
ColorV = 1-(CLAMP(ColorDrag.AbsolutePosition.Y-Colorpick.AbsolutePosition.Y, 0, Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
if data.default.Color ~= nil then
ColorH, ColorS, ColorV = data.default.Color:ToHSV()
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
Huedrag.Position = UDIM2(0, 0, 1-ColorH, -1)
end
local mouse = LocalPlayer:GetMouse()
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseButton2 then
if not dragging and not abc and not inCP then
Frame.Visible = false
end
end
end)
local function updateColor()
local ColorX = (CLAMP(mouse.X - Colorpick.AbsolutePosition.X, 0, Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
local ColorY = (CLAMP(mouse.Y - Colorpick.AbsolutePosition.Y, 0, Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
ColorDrag.Position = UDIM2(ColorX, 0, ColorY, 0)
ColorS = 1-ColorX
ColorV = 1-ColorY
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
values[tabname][sectorname][tabtext][text] = Element.value
Element.value.Color = COL3HSV(ColorH, ColorS, ColorV)
callback(Element.value)
end
local function updateHue()
local y = CLAMP(mouse.Y - Huepick.AbsolutePosition.Y, 0, 148)
Huedrag.Position = UDIM2(0, 0, 0, y)
hue = y/148
ColorH = 1-hue
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
values[tabname][sectorname][tabtext][text] = Element.value
Element.value.Color = COL3HSV(ColorH, ColorS, ColorV)
callback(Element.value)
end
Colorpick.MouseButton1Down:Connect(function()
updateColor()
moveconnection = mouse.Move:Connect(function()
updateColor()
end)
releaseconnection = game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType == Enum.UserInputType.MouseButton1 then
updateColor()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Huepick.MouseButton1Down:Connect(function()
updateHue()
moveconnection = mouse.Move:Connect(function()
updateHue()
end)
releaseconnection = game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType == Enum.UserInputType.MouseButton1 then
updateHue()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Button.MouseButton1Down:Connect(function()
Element.value.Toggle = not Element.value.Toggle
update()
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
end)
if data.default then
update()
end
values[tabname][sectorname][tabtext][text] = Element.value
function Element:SetValue(value)
Element.value = value
local duplicate = COL3(value.Color.R, value.Color.G, value.Color.B)
ColorH, ColorS, ColorV = duplicate:ToHSV()
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
update()
Huedrag.Position = UDIM2(0, 0, 1-ColorH, -1)
end
elseif type == "ToggleTrans" then
tabsize = tabsize + UDIM2(0,0,0,16)
Element.value = {Toggle = data.default and data.default.Toggle or false, Color = data.default and data.default.Color or COL3RGB(255,255,255), Transparency = data.default and data.default.Transparency or 0}
local Toggle = INST("Frame")
local Button = INST("TextButton")
local Color = INST("Frame")
local TextLabel = INST("TextLabel")
Toggle.Name = "Toggle"
Toggle.Parent = tab1
Toggle.BackgroundColor3 = COL3RGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(20, 20, 20)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(97, 59, 227)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local function update()
if Element.value.Toggle then
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(97, 59, 227)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
else
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(20, 20, 20)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
end
local ColorH,ColorS,ColorV
local ColorP = INST("TextButton")
local Frame = INST("Frame")
local Colorpick = INST("ImageButton")
local ColorDrag = INST("Frame")
local Huepick = INST("ImageButton")
local Huedrag = INST("Frame")
ColorP.Name = "ColorP"
ColorP.Parent = Button
ColorP.AnchorPoint = Vec2(1, 0)
ColorP.BackgroundColor3 = COL3RGB(255, 0, 0)
ColorP.BorderColor3 = COL3RGB(30, 30, 30)
ColorP.Position = UDIM2(0, 270, 0.5, -4)
ColorP.Size = UDIM2(0, 18, 0, 8)
ColorP.AutoButtonColor = false
ColorP.Font = Enum.Font.Code
ColorP.Text = ""
ColorP.TextColor3 = COL3RGB(200, 200, 200)
ColorP.TextSize = 12.750
Frame.Parent = ColorP
Frame.BackgroundColor3 = COL3RGB(20, 20, 20)
Frame.BorderColor3 = COL3RGB(30, 30, 30)
Frame.Position = UDIM2(-0.666666687, -170, 1.375, 0)
Frame.Size = UDIM2(0, 200, 0, 190)
Frame.Visible = false
Frame.ZIndex = 3
Colorpick.Name = "Colorpick"
Colorpick.Parent = Frame
Colorpick.BackgroundColor3 = COL3RGB(255, 255, 255)
Colorpick.BorderColor3 = COL3RGB(30, 30, 30)
Colorpick.ClipsDescendants = false
Colorpick.Position = UDIM2(0, 40, 0, 10)
Colorpick.Size = UDIM2(0, 150, 0, 150)
Colorpick.AutoButtonColor = false
Colorpick.Image = "rbxassetid://4155801252"
Colorpick.ImageColor3 = COL3RGB(255, 0, 0)
Colorpick.ZIndex = 3
ColorDrag.Name = "ColorDrag"
ColorDrag.Parent = Colorpick
ColorDrag.AnchorPoint = Vec2(0.5, 0.5)
ColorDrag.BackgroundColor3 = COL3RGB(255, 255, 255)
ColorDrag.BorderColor3 = COL3RGB(25, 25, 25)
ColorDrag.Size = UDIM2(0, 4, 0, 4)
ColorDrag.ZIndex = 3
Huepick.Name = "Huepick"
Huepick.Parent = Frame
Huepick.BackgroundColor3 = COL3RGB(255, 255, 255)
Huepick.BorderColor3 = COL3RGB(30, 30, 30)
Huepick.ClipsDescendants = true
Huepick.Position = UDIM2(0, 10, 0, 10)
Huepick.Size = UDIM2(0, 20, 0, 150)
Huepick.AutoButtonColor = false
Huepick.Image = "rbxassetid://3641079629"
Huepick.ImageColor3 = COL3RGB(255, 0, 0)
Huepick.ImageTransparency = 1
Huepick.BackgroundTransparency = 0
Huepick.ZIndex = 3
local HueFrameGradient = INST("UIGradient")
HueFrameGradient.Rotation = 90
HueFrameGradient.Name = "HueFrameGradient"
HueFrameGradient.Parent = Huepick
HueFrameGradient.Color = ColorSequence.new {
ColorSequenceKeypoint.new(0.00, COL3RGB(255, 0, 0)),
ColorSequenceKeypoint.new(0.17, COL3RGB(255, 0, 255)),
ColorSequenceKeypoint.new(0.33, COL3RGB(0, 0, 255)),
ColorSequenceKeypoint.new(0.50, COL3RGB(0, 255, 255)),
ColorSequenceKeypoint.new(0.67, COL3RGB(0, 255, 0)),
ColorSequenceKeypoint.new(0.83, COL3RGB(255, 255, 0)),
ColorSequenceKeypoint.new(1.00, COL3RGB(255, 0, 0))
}
Huedrag.Name = "Huedrag"
Huedrag.Parent = Huepick
Huedrag.BackgroundColor3 = COL3RGB(255, 255, 255)
Huedrag.BorderColor3 = COL3RGB(30, 30, 30)
Huedrag.Size = UDIM2(1, 0, 0, 2)
Huedrag.ZIndex = 3
local Transpick = INST("ImageButton")
local Transcolor = INST("ImageLabel")
local Transdrag = INST("Frame")
Transpick.Name = "Transpick"
Transpick.Parent = Frame
Transpick.BackgroundColor3 = COL3RGB(255, 255, 255)
Transpick.BorderColor3 = COL3RGB(30, 30, 30)
Transpick.Position = UDIM2(0, 10, 0, 167)
Transpick.Size = UDIM2(0, 180, 0, 15)
Transpick.AutoButtonColor = false
Transpick.Image = "rbxassetid://3887014957"
Transpick.ScaleType = Enum.ScaleType.Tile
Transpick.TileSize = UDIM2(0, 10, 0, 10)
Transpick.ZIndex = 3
Transcolor.Name = "Transcolor"
Transcolor.Parent = Transpick
Transcolor.BackgroundColor3 = COL3RGB(255, 255, 255)
Transcolor.BackgroundTransparency = 1.000
Transcolor.Size = UDIM2(1, 0, 1, 0)
Transcolor.Image = "rbxassetid://3887017050"
Transcolor.ImageColor3 = COL3RGB(255, 0, 4)
Transcolor.ZIndex = 3
Transdrag.Name = "Transdrag"
Transdrag.Parent = Transcolor
Transdrag.BackgroundColor3 = COL3RGB(255, 255, 255)
Transdrag.BorderColor3 = COL3RGB(30, 30, 30)
Transdrag.Position = UDIM2(0, -1, 0, 0)
Transdrag.Size = UDIM2(0, 2, 1, 0)
Transdrag.ZIndex = 3
ColorP.MouseButton1Down:Connect(function()
Frame.Visible = not Frame.Visible
end)
local abc = false
local inCP = false
ColorP.MouseEnter:Connect(function()
abc = true
end)
ColorP.MouseLeave:Connect(function()
abc = false
end)
Frame.MouseEnter:Connect(function()
inCP = true
end)
Frame.MouseLeave:Connect(function()
inCP = false
end)
ColorH = (CLAMP(Huedrag.AbsolutePosition.Y-Huepick.AbsolutePosition.Y, 0, Huepick.AbsoluteSize.Y)/Huepick.AbsoluteSize.Y)
ColorS = 1-(CLAMP(ColorDrag.AbsolutePosition.X-Colorpick.AbsolutePosition.X, 0, Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
ColorV = 1-(CLAMP(ColorDrag.AbsolutePosition.Y-Colorpick.AbsolutePosition.Y, 0, Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
if data.default.Color ~= nil then
ColorH, ColorS, ColorV = data.default.Color:ToHSV()
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
Transcolor.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
Huedrag.Position = UDIM2(0, 0, 1-ColorH, -1)
end
if data.default.Transparency ~= nil then
Transdrag.Position = UDIM2(data.default.Transparency, -1, 0, 0)
end
local mouse = LocalPlayer:GetMouse()
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseButton2 then
if not dragging and not abc and not inCP then
Frame.Visible = false
end
end
end)
local function updateColor()
local ColorX = (CLAMP(mouse.X - Colorpick.AbsolutePosition.X, 0, Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
local ColorY = (CLAMP(mouse.Y - Colorpick.AbsolutePosition.Y, 0, Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
ColorDrag.Position = UDIM2(ColorX, 0, ColorY, 0)
ColorS = 1-ColorX
ColorV = 1-ColorY
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
Transcolor.ImageColor3 = COL3HSV(ColorH, 1, 1)
values[tabname][sectorname][tabtext][text] = Element.value
Element.value.Color = COL3HSV(ColorH, ColorS, ColorV)
callback(Element.value)
end
local function updateHue()
local y = CLAMP(mouse.Y - Huepick.AbsolutePosition.Y, 0, 148)
Huedrag.Position = UDIM2(0, 0, 0, y)
hue = y/148
ColorH = 1-hue
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
Transcolor.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
values[tabname][sectorname][tabtext][text] = Element.value
Element.value.Color = COL3HSV(ColorH, ColorS, ColorV)
callback(Element.value)
end
local function updateTrans()
local x = CLAMP(mouse.X - Transpick.AbsolutePosition.X, 0, 178)
Transdrag.Position = UDIM2(0, x, 0, 0)
Element.value.Transparency = (x/178)
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
end
Transpick.MouseButton1Down:Connect(function()
updateTrans()
moveconnection = mouse.Move:Connect(function()
updateTrans()
end)
releaseconnection = game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType == Enum.UserInputType.MouseButton1 then
updateTrans()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Colorpick.MouseButton1Down:Connect(function()
updateColor()
moveconnection = mouse.Move:Connect(function()
updateColor()
end)
releaseconnection = game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType == Enum.UserInputType.MouseButton1 then
updateColor()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Huepick.MouseButton1Down:Connect(function()
updateHue()
moveconnection = mouse.Move:Connect(function()
updateHue()
end)
releaseconnection = game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType == Enum.UserInputType.MouseButton1 then
updateHue()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Button.MouseButton1Down:Connect(function()
Element.value.Toggle = not Element.value.Toggle
update()
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
end)
if data.default then
update()
end
values[tabname][sectorname][tabtext][text] = Element.value
function Element:SetValue(value)
Element.value = value
local duplicate = COL3(value.Color.R, value.Color.G, value.Color.B)
ColorH, ColorS, ColorV = duplicate:ToHSV()
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
update()
Huedrag.Position = UDIM2(0, 0, 1-ColorH, -1)
end
elseif type == "Dropdown" then
tabsize = tabsize + UDIM2(0,0,0,39)
Element.value = {Dropdown = data.options[1]}
local Dropdown = INST("Frame")
local Button = INST("TextButton")
local TextLabel = INST("TextLabel")
local Drop = INST("ScrollingFrame")
local Button_2 = INST("TextButton")
local TextLabel_2 = INST("TextLabel")
local UIListLayout = INST("UIListLayout")
local ImageLabel = INST("ImageLabel")
local TextLabel_3 = INST("TextLabel")
Dropdown.Name = "Dropdown"
Dropdown.Parent = tab1
Dropdown.BackgroundColor3 = COL3RGB(255, 255, 255)
Dropdown.BackgroundTransparency = 1.000
Dropdown.Position = UDIM2(0, 0, 0.255102038, 0)
Dropdown.Size = UDIM2(1, 0, 0, 39)
Button.Name = "Button"
Button.Parent = Dropdown
Button.BackgroundColor3 = COL3RGB(20, 20, 20)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(97, 59, 227)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 5, 0, 0)
TextLabel.Size = UDIM2(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = Element.value.Dropdown
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local abcd = TextLabel
Drop.Name = "Drop"
Drop.Parent = Button
Drop.Active = true
Drop.BackgroundColor3 = COL3RGB(20, 20, 20)
Drop.BorderColor3 = COL3RGB(30, 30, 30)
Drop.Position = UDIM2(0, 0, 1, 1)
Drop.Size = UDIM2(1, 0, 0, 20)
Drop.Visible = false
Drop.BottomImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.CanvasSize = UDIM2(1, 1, 1, 1)
Drop.ScrollBarThickness = 0
Drop.MidImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.TopImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.AutomaticCanvasSize = "Y"
Drop.ZIndex = 5
Drop.ScrollBarImageColor3 = COL3RGB(97, 59, 227)
UIListLayout.Parent = Drop
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
local num = #data.options
if num > 5 then
Drop.Size = UDIM2(1, 0, 0, 85)
else
Drop.Size = UDIM2(1, 0, 0, 17*num)
end
Drop.CanvasSize = UDIM2(1, 0, 0, 17*num)
local first = true
for i,v in ipairs(data.options) do
do
local Button = INST("TextButton")
local TextLabel = INST("TextLabel")
Button.Name = v
Button.Parent = Drop
Button.BackgroundColor3 = COL3RGB(0, 0, 0)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
Button.BorderSizePixel = 1
Button.ZIndex = 6
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(97, 59, 227)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 5, 0, -1)
TextLabel.Size = UDIM2(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = v
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
TextLabel.ZIndex = 6
Button.MouseButton1Down:Connect(function()
Drop.Visible = false
Element.value.Dropdown = v
abcd.Text = v
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
Drop.CanvasPosition = Vec2(0,0)
end)
Button.MouseEnter:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
end)
Button.MouseLeave:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end)
first = false
end
end
function Element:SetValue(val)
Element.value = val
abcd.Text = val.Dropdown
values[tabname][sectorname][tabtext][text] = Element.value
callback(val)
end
ImageLabel.Parent = Button
ImageLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Position = UDIM2(0, 165, 0, 6)
ImageLabel.Size = UDIM2(0, 6, 0, 4)
ImageLabel.Image = "http://www.roblox.com/asset/?id=6724771531"
TextLabel_3.Parent = Dropdown
TextLabel_3.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDIM2(0, 32, 0, -1)
TextLabel_3.Size = UDIM2(0.111913361, 208, 0.382215232, 0)
TextLabel_3.Font = Enum.Font.Code
TextLabel_3.Text = text
TextLabel_3.TextColor3 = COL3RGB(200, 200, 200)
TextLabel_3.TextSize = 12.750
TextLabel_3.TextXAlignment = Enum.TextXAlignment.Left
Button.MouseButton1Down:Connect(function()
Drop.Visible = not Drop.Visible
if not Drop.Visible then
Drop.CanvasPosition = Vec2(0,0)
end
end)
local indrop = false
local ind = false
Drop.MouseEnter:Connect(function()
indrop = true
end)
Drop.MouseLeave:Connect(function()
indrop = false
end)
Button.MouseEnter:Connect(function()
ind = true
end)
Button.MouseLeave:Connect(function()
ind = false
end)
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseButton2 then
if Drop.Visible == true and not indrop and not ind then
Drop.Visible = false
Drop.CanvasPosition = Vec2(0,0)
end
end
end)
values[tabname][sectorname][tabtext][text] = Element.value
elseif type == "Slider" then
tabsize = tabsize + UDIM2(0,0,0,25)
local Slider = INST("Frame")
local TextLabel = INST("TextLabel")
local Button = INST("TextButton")
local Frame = INST("Frame")
local UIGradient = INST("UIGradient")
local Value = INST("TextLabel")
Slider.Name = "Slider"
Slider.Parent = tab1
Slider.BackgroundColor3 = COL3RGB(255, 255, 255)
Slider.BackgroundTransparency = 1.000
Slider.Position = UDIM2(0, 0, 0.653061211, 0)
Slider.Size = UDIM2(1, 0, 0, 25)
TextLabel.Parent = Slider
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -2)
TextLabel.Size = UDIM2(0, 100, 0, 15)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
Button.Name = "Button"
Button.Parent = Slider
Button.BackgroundColor3 = COL3RGB(20, 20, 20)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 15)
Button.Size = UDIM2(0, 175, 0, 5)
Button.AutoButtonColor = false
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
Frame.Parent = Button
Frame.BackgroundColor3 = COL3RGB(255, 255, 255)
Frame.BorderSizePixel = 1
Frame.Size = UDIM2(0.5, 0, 1, 0)
UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, COL3RGB(97, 59, 227)), ColorSequenceKeypoint.new(1, COL3RGB(97, 59, 227))}
UIGradient.Rotation = 90
UIGradient.Parent = Frame
Value.Name = "Value"
Value.Parent = Slider
Value.BackgroundColor3 = COL3RGB(255, 255, 255)
Value.BackgroundTransparency = 1.000
Value.Position = UDIM2(0, 150, 0, -1)
Value.Size = UDIM2(0, 55, 0, 15)
Value.Font = Enum.Font.Code
Value.Text = "50"
Value.TextColor3 = COL3RGB(200, 200, 200)
Value.TextSize = 12.750
Value.TextXAlignment = Enum.TextXAlignment.Right
local min, max, default = data.min or 0, data.max or 100, data.default or 0
Element.value = {Slider = default}
function Element:SetValue(value)
Element.value = value
local a
if min > 0 then
a = ((Element.value.Slider - min)) / (max-min)
else
a = (Element.value.Slider-min)/(max-min)
end
Value.Text = Element.value.Slider
Frame.Size = UDIM2(a,0,1,0)
values[tabname][sectorname][tabtext][text] = Element.value
callback(value)
end
local a
if min > 0 then
a = ((Element.value.Slider - min)) / (max-min)
else
a = (Element.value.Slider-min)/(max-min)
end
Value.Text = Element.value.Slider
Frame.Size = UDIM2(a,0,1,0)
values[tabname][sectorname][tabtext][text] = Element.value
local uis = game:GetService("UserInputService")
local mouse = game.Players.LocalPlayer:GetMouse()
local val
Button.MouseButton1Down:Connect(function()
Frame.Size = UDIM2(0, CLAMP(mouse.X - Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = FLOOR((((tonumber(max) - tonumber(min)) / 175) * Frame.AbsoluteSize.X) + tonumber(min)) or 0
Value.Text = val
Element.value.Slider = val
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
moveconnection = mouse.Move:Connect(function()
Frame.Size = UDIM2(0, CLAMP(mouse.X - Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = FLOOR((((tonumber(max) - tonumber(min)) / 175) * Frame.AbsoluteSize.X) + tonumber(min))
Value.Text = val
Element.value.Slider = val
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
end)
releaseconnection = uis.InputEnded:Connect(function(Mouse)
if Mouse.UserInputType == Enum.UserInputType.MouseButton1 then
Frame.Size = UDIM2(0, CLAMP(mouse.X - Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = FLOOR((((tonumber(max) - tonumber(min)) / 175) * Frame.AbsoluteSize.X) + tonumber(min))
values[tabname][sectorname][tabtext][text] = Element.value
callback(Element.value)
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
elseif type == "Button" then
tabsize = tabsize + UDIM2(0,0,0,24)
local Button = INST("Frame")
local Button_2 = INST("TextButton")
local TextLabel = INST("TextLabel")
Button.Name = "Button"
Button.Parent = tab1
Button.BackgroundColor3 = COL3RGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Position = UDIM2(0, 0, 0.236059487, 0)
Button.Size = UDIM2(1, 0, 0, 24)
Button_2.Name = "Button"
Button_2.Parent = Button
Button_2.BackgroundColor3 = COL3RGB(20, 20, 20)
Button_2.BorderColor3 = COL3RGB(30, 30, 30)
Button_2.Position = UDIM2(0, 30, 0.5, -9)
Button_2.Size = UDIM2(0, 175, 0, 18)
Button_2.AutoButtonColor = false
Button_2.Font = Enum.Font.Code
Button_2.Text = ""
Button_2.TextColor3 = COL3RGB(0, 0, 0)
Button_2.TextSize = 12.750
TextLabel.Parent = Button_2
TextLabel.BackgroundColor3 = COL3RGB(97, 59, 227)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Size = UDIM2(1, 0, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
function Element:SetValue()
end
Button_2.MouseButton1Down:Connect(function()
TextLabel.TextColor3 = COL3RGB(97, 59, 227)
library:Tween(TextLabel, TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
callback()
end)
Button_2.MouseEnter:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
end)
Button_2.MouseLeave:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end)
end
ConfigLoad:Connect(function(cfg)
local fix = library:ConfigFix(cfg)
if fix[tabname][sectorname][tabtext][text] ~= nil then
Element:SetValue(fix[tabname][sectorname][tabtext][text])
end
end)
return Element
end
if firs then
coroutine.wrap(function()
game:GetService("RunService").RenderStepped:Wait()
Section.Size = tabsize
end)()
selected = text
TextButton.TextColor3 = COL3RGB(255,255,255)
tab1.Visible = true
firs = false
end
return tab
end
return MSector
end
function Tab:Sector(text, side)
local sectorname = text
local Sector = {}
values[tabname][text] = {}
local Section = INST("Frame")
local SectionText = INST("TextLabel")
local Inner = INST("Frame")
local UIListLayout = INST("UIListLayout")
Section.Name = "Section"
Section.Parent = TabGui[side]
Section.BackgroundTransparency = 1.000
Section.BackgroundColor3 = COL3RGB(20, 20, 20)
Section.BorderColor3 = COL3RGB(30, 30, 30)
Section.BorderSizePixel = 1
Section.Position = UDIM2(0.00358422939, 0, 0, 0)
Section.Size = UDIM2(1, 0, 0, 22)
SectionText.Name = "SectionText"
SectionText.Parent = Section
SectionText.BackgroundColor3 = COL3RGB(255, 255, 255)
SectionText.BackgroundTransparency = 1.000
SectionText.Position = UDIM2(0, 7, 0, -12)
SectionText.Size = UDIM2(0, 270, 0, 19)
SectionText.ZIndex = 2
SectionText.Font = Enum.Font.Code
SectionText.Text = text
SectionText.TextColor3 = COL3RGB(200, 200, 200)
SectionText.TextSize = 13.750
SectionText.TextXAlignment = Enum.TextXAlignment.Left
Inner.Name = "Inner"
Inner.Parent = Section
Inner.BackgroundColor3 = COL3RGB(18, 18, 18)
Inner.BackgroundTransparency = 1.000
Inner.BorderColor3 = COL3RGB(18, 18, 18)
Inner.BorderSizePixel = 1
Inner.Position = UDIM2(0, 1, 0, 1)
Inner.Size = UDIM2(1, -2, 1, -2)
local UIPadding = INST("UIPadding")
UIPadding.Parent = Inner
UIPadding.PaddingTop = UDim.new(0, 10)
UIListLayout.Parent = Inner
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
UIListLayout.Padding = UDim.new(0,1)
function Sector:Element(type, text, data, callback)
local Element = {}
data = data or {}
callback = callback or function() end
values[tabname][sectorname][text] = {}
if type == "ScrollDrop" then
Section.Size = Section.Size + UDIM2(0,0,0,39)
Element.value = {Scroll = {}, Dropdown = ""}
for i,v in pairs(data.options) do
Element.value.Scroll[i] = v[1]
end
local joe = {}
if data.alphabet then
local copy = {}
for i,v in pairs(data.options) do
INSERT(copy, i)
end
TBLSORT(copy, function(a,b)
return a < b
end)
joe = copy
else
for i,v in pairs(data.options) do
INSERT(joe, i)
end
end
local Dropdown = INST("Frame")
local Button = INST("TextButton")
local TextLabel = INST("TextLabel")
local Drop = INST("ScrollingFrame")
local Button_2 = INST("TextButton")
local TextLabel_2 = INST("TextLabel")
local UIListLayout = INST("UIListLayout")
local ImageLabel = INST("ImageLabel")
local TextLabel_3 = INST("TextLabel")
Dropdown.Name = "Dropdown"
Dropdown.Parent = Inner
Dropdown.BackgroundColor3 = COL3RGB(255, 255, 255)
Dropdown.BackgroundTransparency = 1.000
Dropdown.Position = UDIM2(0, 0, 0, 0)
Dropdown.Size = UDIM2(1, 0, 0, 39)
Button.Name = "Button"
Button.Parent = Dropdown
Button.BackgroundColor3 = COL3RGB(20, 20, 20)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
local TextLabel = INST("TextLabel")
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(97, 59, 227)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 5, 0, 0)
TextLabel.Size = UDIM2(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = "lol"
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local abcd = TextLabel
Drop.Name = "Drop"
Drop.Parent = Button
Drop.Active = true
Drop.BackgroundColor3 = COL3RGB(20, 20, 20)
Drop.BorderColor3 = COL3RGB(30, 30, 30)
Drop.Position = UDIM2(0, 0, 1, 1)
Drop.Size = UDIM2(1, 0, 0, 20)
Drop.Visible = false
Drop.BottomImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.CanvasSize = UDIM2(1, 1, 1, 1)
Drop.ScrollBarThickness = 0
Drop.TopImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.MidImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.AutomaticCanvasSize = "Y"
Drop.ZIndex = 5
Drop.ScrollBarImageColor3 = COL3RGB(97, 59, 227)
UIListLayout.Parent = Drop
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
local amount = data.Amount or 6
Section.Size = Section.Size + UDIM2(0,0,0,amount * 16 + 8)
local num = #joe
if num > 5 then
Drop.Size = UDIM2(1, 0, 0, 85)
else
Drop.Size = UDIM2(1, 0, 0, 17*num)
end
local first = true
for i,v in ipairs(joe) do
do
local joell = v
local Scroll = INST("Frame")
local joe2 = data.options[v]
local Button = INST("TextButton")
local TextLabel = INST("TextLabel")
Button.Name = v
Button.Parent = Drop
Button.BackgroundColor3 = COL3RGB(20, 20, 20)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
Button.BorderSizePixel = 1
Button.ZIndex = 6
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(97, 59, 227)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 5, 0, -1)
TextLabel.Size = UDIM2(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = v
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
TextLabel.ZIndex = 6
Button.MouseButton1Down:Connect(function()
Drop.Visible = false
Drop.CanvasPosition = Vec2(0,0)
abcd.Text = v
for i,v in pairs(Scroll.Parent:GetChildren()) do
if v:IsA("Frame") then
v.Visible = false
end
end
Element.value.Dropdown = v
Scroll.Visible = true
callback(Element.value)
end)
Button.MouseEnter:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
end)
Button.MouseLeave:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end)
if first then
abcd.Text = v
Element.value.Dropdown = v
end
local Frame = INST("ScrollingFrame")
local UIListLayout = INST("UIListLayout")
Scroll.Name = "Scroll"
Scroll.Parent = Dropdown
Scroll.BackgroundColor3 = COL3RGB(255, 255, 255)
Scroll.BackgroundTransparency = 1.000
Scroll.Position = UDIM2(0, 0, 0, 0)
Scroll.Size = UDIM2(1, 0, 0, amount * 16 + 8)
Scroll.Visible = first
Scroll.Name = v
Frame.Name = "Frame"
Frame.Parent = Scroll
Frame.Active = true
Frame.BackgroundColor3 = COL3RGB(20, 20, 20)
Frame.BorderColor3 = COL3RGB(30, 30, 30)
Frame.Position = UDIM2(0, 30, 0, 40)
Frame.Size = UDIM2(0, 175, 0, 16 * amount)
Frame.BottomImage = "http://www.roblox.com/asset/?id=6724808282"
Frame.CanvasSize = UDIM2(0, 0, 0, 0)
Frame.MidImage = "http://www.roblox.com/asset/?id=6724808282"
Frame.ScrollBarThickness = 4
Frame.TopImage = "http://www.roblox.com/asset/?id=6724808282"
Frame.AutomaticCanvasSize = "Y"
Frame.ScrollBarImageColor3 = COL3RGB(97, 59, 227)
UIListLayout.Parent = Frame
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
local joll = true
for i,v in ipairs(joe2) do
local Button = INST("TextButton")
local TextLabel = INST("TextLabel")
Button.Name = v
Button.Parent = Frame
Button.BackgroundColor3 = COL3RGB(20, 20, 20)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.BorderSizePixel = 1
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(1, 0, 0, 16)
Button.AutoButtonColor = false
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(97, 59, 227)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 4, 0, -1)
TextLabel.Size = UDIM2(1, 1, 1, 1)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = v
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
if joll then
joll = false
TextLabel.TextColor3 = COL3RGB(135, 25, 255)
end
Button.MouseButton1Down:Connect(function()
for i,v in pairs(Frame:GetChildren()) do
if v:IsA("TextButton") then
library:Tween(v.TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
end
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
Element.value.Scroll[joell] = v
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end)
Button.MouseEnter:Connect(function()
if Element.value.Scroll[joell] ~= v then
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
end
end)
Button.MouseLeave:Connect(function()
if Element.value.Scroll[joell] ~= v then
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
end)
end
first = false
end
end
ImageLabel.Parent = Button
ImageLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Position = UDIM2(0, 165, 0, 6)
ImageLabel.Size = UDIM2(0, 6, 0, 4)
ImageLabel.Image = "http://www.roblox.com/asset/?id=6724771531"
TextLabel_3.Parent = Dropdown
TextLabel_3.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDIM2(0, 32, 0, -1)
TextLabel_3.Size = UDIM2(0.111913361, 208, 0.382215232, 0)
TextLabel_3.Font = Enum.Font.Code
TextLabel_3.Text = text
TextLabel_3.TextColor3 = COL3RGB(200, 200, 200)
TextLabel_3.TextSize = 12.750
TextLabel_3.TextXAlignment = Enum.TextXAlignment.Left
Button.MouseButton1Down:Connect(function()
Drop.Visible = not Drop.Visible
if not Drop.Visible then
Drop.CanvasPosition = Vec2(0,0)
end
end)
local indrop = false
local ind = false
Drop.MouseEnter:Connect(function()
indrop = true
end)
Drop.MouseLeave:Connect(function()
indrop = false
end)
Button.MouseEnter:Connect(function()
ind = true
end)
Button.MouseLeave:Connect(function()
ind = false
end)
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseButton2 then
if Drop.Visible == true and not indrop and not ind then
Drop.Visible = false
Drop.CanvasPosition = Vec2(0,0)
end
end
end)
function Element:SetValue(tbl)
Element.value = tbl
abcd.Text = tbl.Dropdown
values[tabname][sectorname][text] = Element.value
for i,v in pairs(Dropdown:GetChildren()) do
if v:IsA("Frame") then
if v.Name == Element.value.Dropdown then
v.Visible = true
else
v.Visible = false
end
for _,bad in pairs(v.Frame:GetChildren()) do
if bad:IsA("TextButton") then
bad.TextLabel.TextColor3 = COL3RGB(200, 200, 200)
if bad.Name == Element.value.Scroll[v.Name] then
bad.TextLabel.TextColor3 = COL3RGB(97, 59, 227)
end
end
end
end
end
end
if data.default then
Element:SetValue(data.default)
end
values[tabname][sectorname][text] = Element.value
elseif type == "Scroll" then
local amount = data.Amount or 6
Section.Size = Section.Size + UDIM2(0,0,0,amount * 16 + 8)
if data.alphabet then
TBLSORT(data.options, function(a,b)
return a < b
end)
end
Element.value = {Scroll = data.default and data.default.Scroll or data.options[1]}
local Scroll = INST("Frame")
local Frame = INST("ScrollingFrame")
local UIListLayout = INST("UIListLayout")
Scroll.Name = "Scroll"
Scroll.Parent = Inner
Scroll.BackgroundColor3 = COL3RGB(255, 255, 255)
Scroll.BackgroundTransparency = 1.000
Scroll.Position = UDIM2(0, 0, 00, 0)
Scroll.Size = UDIM2(1, 0, 0, amount * 16 + 8)
Frame.Name = "Frame"
Frame.Parent = Scroll
Frame.Active = true
Frame.BackgroundColor3 = COL3RGB(20, 20, 20)
Frame.BorderColor3 = COL3RGB(30, 30, 30)
Frame.Position = UDIM2(0, 30, 0, 0)
Frame.Size = UDIM2(0, 175, 0, 16 * amount)
Frame.BottomImage = "http://www.roblox.com/asset/?id=6724808282"
Frame.CanvasSize = UDIM2(0, 0, 0, 0)
Frame.MidImage = "http://www.roblox.com/asset/?id=6724808282"
Frame.ScrollBarThickness = 4
Frame.TopImage = "http://www.roblox.com/asset/?id=6724808282"
Frame.AutomaticCanvasSize = "Y"
Frame.ScrollBarImageColor3 = COL3RGB(97, 59, 227)
UIListLayout.Parent = Frame
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
local first = true
for i,v in ipairs(data.options) do
local Button = INST("TextButton")
local TextLabel = INST("TextLabel")
Button.Name = v
Button.Parent = Frame
Button.BackgroundColor3 = COL3RGB(20, 20, 20)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.BorderSizePixel = 1
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(1, 0, 0, 16)
Button.AutoButtonColor = false
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 4, 0, -1)
TextLabel.Size = UDIM2(1, 1, 1, 1)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = v
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
if first then first = false
TextLabel.TextColor3 = COL3RGB(97, 59, 227)
end
Button.MouseButton1Down:Connect(function()
for i,v in pairs(Frame:GetChildren()) do
if v:IsA("TextButton") then
library:Tween(v.TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
end
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
Element.value.Scroll = v
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end)
Button.MouseEnter:Connect(function()
if Element.value.Scroll ~= v then
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
end
end)
Button.MouseLeave:Connect(function()
if Element.value.Scroll ~= v then
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
end)
end
function Element:SetValue(val)
Element.value = val
for i,v in pairs(Frame:GetChildren()) do
if v:IsA("TextButton") then
library:Tween(v.TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
end
library:Tween(Frame[Element.value.Scroll].TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end
values[tabname][sectorname][text] = Element.value
elseif type == "Jumbobox" then
Section.Size = Section.Size + UDIM2(0,0,0,39)
Element.value = {Jumbobox = {}}
data.options = data.options or {}
local Dropdown = INST("Frame")
local Button = INST("TextButton")
local TextLabel = INST("TextLabel")
local Drop = INST("ScrollingFrame")
local Button_2 = INST("TextButton")
local TextLabel_2 = INST("TextLabel")
local UIListLayout = INST("UIListLayout")
local ImageLabel = INST("ImageLabel")
local TextLabel_3 = INST("TextLabel")
Dropdown.Name = "Dropdown"
Dropdown.Parent = Inner
Dropdown.BackgroundColor3 = COL3RGB(20, 20, 20)
Dropdown.BackgroundTransparency = 1.000
Dropdown.Position = UDIM2(0, 0, 0.255102038, 0)
Dropdown.Size = UDIM2(1, 0, 0, 39)
Button.Name = "Button"
Button.Parent = Dropdown
Button.BackgroundColor3 = COL3RGB(20, 20, 20)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 5, 0, 0)
TextLabel.Size = UDIM2(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = "..."
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local abcd = TextLabel
Drop.Name = "Drop"
Drop.Parent = Button
Drop.Active = true
Drop.BackgroundColor3 = COL3RGB(20, 20, 20)
Drop.BorderColor3 = COL3RGB(30, 30, 30)
Drop.Position = UDIM2(0, 0, 1, 1)
Drop.Size = UDIM2(1, 0, 0, 20)
Drop.Visible = false
Drop.BottomImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.CanvasSize = UDIM2(1, 1, 1, 1)
Drop.ScrollBarThickness = 0
Drop.TopImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.MidImage = "http://www.roblox.com/asset/?id=6724808282"
--Drop.AutomaticCanvasSize = "Y"
for i,v in pairs(data.options) do
Drop.CanvasSize = Drop.CanvasSize + UDIM2(0, 0, 0, 17)
end
Drop.ZIndex = 5
Drop.ScrollBarImageColor3 = COL3RGB(97, 59, 227)
UIListLayout.Parent = Drop
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
values[tabname][sectorname][text] = Element.value
local num = #data.options
if num > 5 then
Drop.Size = UDIM2(1, 0, 0, 85)
else
Drop.Size = UDIM2(1, 0, 0, 17*num)
end
local first = true
local function updatetext()
local old = {}
for i,v in ipairs(data.options) do
if TBLFIND(Element.value.Jumbobox, v) then
INSERT(old, v)
else
end
end
local str = ""
if #old == 0 then
str = "..."
else
if #old == 1 then
str = old[1]
else
for i,v in ipairs(old) do
if i == 1 then
str = v
else
if i > 2 then
if i < 4 then
str = str..", ..."
end
else
str = str..", "..v
end
end
end
end
end
abcd.Text = str
end
for i,v in ipairs(data.options) do
do
local Button = INST("TextButton")
local TextLabel = INST("TextLabel")
Button.Name = v
Button.Parent = Drop
Button.BackgroundColor3 = COL3RGB(20, 20, 20)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
Button.BorderSizePixel = 1
Button.ZIndex = 6
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 5, 0, -1)
TextLabel.Size = UDIM2(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = v
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
TextLabel.ZIndex = 6
Button.MouseButton1Down:Connect(function()
if TBLFIND(Element.value.Jumbobox, v) then
for i,a in pairs(Element.value.Jumbobox) do
if a == v then
TBLREMOVE(Element.value.Jumbobox, i)
end
end
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(255, 255, 255)})
else
INSERT(Element.value.Jumbobox, v)
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
end
updatetext()
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end)
Button.MouseEnter:Connect(function()
if not TBLFIND(Element.value.Jumbobox, v) then
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
end
end)
Button.MouseLeave:Connect(function()
if not TBLFIND(Element.value.Jumbobox, v) then
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
end)
first = false
end
end
function Element:SetValue(val)
Element.value = val
for i,v in pairs(Drop:GetChildren()) do
if v.Name ~= "UIListLayout" then
if TBLFIND(val.Jumbobox, v.Name) then
v.TextLabel.TextColor3 = COL3RGB(97, 59, 227)
else
v.TextLabel.TextColor3 = COL3RGB(200, 200, 200)
end
end
end
updatetext()
values[tabname][sectorname][text] = Element.value
callback(val)
end
if data.default then
Element:SetValue(data.default)
end
ImageLabel.Parent = Button
ImageLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Position = UDIM2(0, 165, 0, 6)
ImageLabel.Size = UDIM2(0, 6, 0, 4)
ImageLabel.Image = "http://www.roblox.com/asset/?id=6724771531"
TextLabel_3.Parent = Dropdown
TextLabel_3.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDIM2(0, 32, 0, -1)
TextLabel_3.Size = UDIM2(0.111913361, 208, 0.382215232, 0)
TextLabel_3.Font = Enum.Font.Code
TextLabel_3.Text = text
TextLabel_3.TextColor3 = COL3RGB(200, 200, 200)
TextLabel_3.TextSize = 12.750
TextLabel_3.TextXAlignment = Enum.TextXAlignment.Left
Button.MouseButton1Down:Connect(function()
Drop.Visible = not Drop.Visible
if not Drop.Visible then
Drop.CanvasPosition = Vec2(0,0)
end
end)
local indrop = false
local ind = false
Drop.MouseEnter:Connect(function()
indrop = true
end)
Drop.MouseLeave:Connect(function()
indrop = false
end)
Button.MouseEnter:Connect(function()
ind = true
end)
Button.MouseLeave:Connect(function()
ind = false
end)
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseButton2 then
if Drop.Visible == true and not indrop and not ind then
Drop.Visible = false
Drop.CanvasPosition = Vec2(0,0)
end
end
end)
elseif type == "ToggleKeybind" then
Section.Size = Section.Size + UDIM2(0,0,0,16)
Element.value = {Toggle = data.default and data.default.Toggle or false, Key, Type = "Always", Active = true}
local Toggle = INST("Frame")
local Button = INST("TextButton")
local Color = INST("Frame")
local TextLabel = INST("TextLabel")
Toggle.Name = "Toggle"
Toggle.Parent = Inner
Toggle.BackgroundColor3 = COL3RGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(20, 20, 20)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
local binding = false
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local function update()
if Element.value.Toggle then
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(97, 59, 227)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(255, 255, 255)})
else
keybindremove(text)
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(20, 20, 20)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end
Button.MouseButton1Down:Connect(function()
if not binding then
Element.value.Toggle = not Element.value.Toggle
update()
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end
end)
if data.default then
update()
end
values[tabname][sectorname][text] = Element.value
do
local Keybind = INST("TextButton")
local Frame = INST("Frame")
local Always = INST("TextButton")
local UIListLayout = INST("UIListLayout")
local Hold = INST("TextButton")
local Toggle = INST("TextButton")
Keybind.Name = "Keybind"
Keybind.Parent = Button
Keybind.BackgroundColor3 = COL3RGB(20, 20, 20)
Keybind.BorderColor3 = COL3RGB(30, 30, 30)
Keybind.Position = UDIM2(0, 270, 0.5, -6)
Keybind.Text = "none"
Keybind.Size = UDIM2(0, 43, 0, 12)
Keybind.Size = UDIM2(0,txt:GetTextSize("none", 14, Enum.Font.Code, Vec2(700, 12)).X + 5,0, 12)
Keybind.AutoButtonColor = false
Keybind.Font = Enum.Font.Code
Keybind.TextColor3 = COL3RGB(200, 200, 200)
Keybind.TextSize = 12.750
Keybind.AnchorPoint = Vec2(1,0)
Keybind.ZIndex = 3
Frame.Parent = Keybind
Frame.BackgroundColor3 = COL3RGB(20, 20, 20)
Frame.BorderColor3 = COL3RGB(230, 30, 30)
Frame.Position = UDIM2(1, -49, 0, 1)
Frame.Size = UDIM2(0, 49, 0, 49)
Frame.Visible = false
Frame.ZIndex = 3
Always.Name = "Always"
Always.Parent = Frame
Always.BackgroundColor3 = COL3RGB(20, 20, 20)
Always.BackgroundTransparency = 1.000
Always.BorderColor3 = COL3RGB(30, 30, 30)
Always.Position = UDIM2(-3.03289485, 231, 0.115384616, -6)
Always.Size = UDIM2(1, 0, 0, 16)
Always.AutoButtonColor = false
Always.Font = Enum.Font.Code
Always.Text = "Always"
Always.TextColor3 = COL3RGB(97, 59, 227)
Always.TextSize = 12.750
Always.ZIndex = 3
UIListLayout.Parent = Frame
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
Hold.Name = "Hold"
Hold.Parent = Frame
Hold.BackgroundColor3 = COL3RGB(120, 20, 20)
Hold.BackgroundTransparency = 1.000
Hold.BorderColor3 = COL3RGB(30, 30, 30)
Hold.Position = UDIM2(-3.03289485, 231, 0.115384616, -6)
Hold.Size = UDIM2(1, 0, 0, 16)
Hold.AutoButtonColor = false
Hold.Font = Enum.Font.Code
Hold.Text = "Hold"
Hold.TextColor3 = COL3RGB(200, 200, 200)
Hold.TextSize = 12.750
Hold.ZIndex = 3
Toggle.Name = "Toggle"
Toggle.Parent = Frame
Toggle.BackgroundColor3 = COL3RGB(20, 20, 20)
Toggle.BackgroundTransparency = 1.000
Toggle.BorderColor3 = COL3RGB(30, 30, 30)
Toggle.Position = UDIM2(-3.03289485, 231, 0.115384616, -6)
Toggle.Size = UDIM2(1, 0, 0, 16)
Toggle.AutoButtonColor = false
Toggle.Font = Enum.Font.Code
Toggle.Text = "Toggle"
Toggle.TextColor3 = COL3RGB(200, 200, 200)
Toggle.TextSize = 12.750
Toggle.ZIndex = 3
for _,button in pairs(Frame:GetChildren()) do
if button:IsA("TextButton") then
button.MouseButton1Down:Connect(function()
Element.value.Type = button.Text
Frame.Visible = false
if Element.value.Active ~= (Element.value.Type == "Always" and true or false) then
Element.value.Active = Element.value.Type == "Always" and true or false
callback(Element.value)
end
if button.Text == "Always" then
keybindremove(text)
end
for _,button in pairs(Frame:GetChildren()) do
if button:IsA("TextButton") and button.Text ~= Element.value.Type then
button.Font = Enum.Font.Code
library:Tween(button, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200,200,200)})
end
end
button.Font = Enum.Font.Code
button.TextColor3 = COL3RGB(97, 59, 227)
values[tabname][sectorname][text] = Element.value
end)
button.MouseEnter:Connect(function()
if Element.value.Type ~= button.Text then
library:Tween(button, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
end
end)
button.MouseLeave:Connect(function()
if Element.value.Type ~= button.Text then
library:Tween(button, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200,200,200)})
end
end)
end
end
Keybind.MouseButton1Down:Connect(function()
if not binding then
wait()
binding = true
Keybind.Text = "..."
Keybind.Size = UDIM2(0,txt:GetTextSize("...", 14, Enum.Font.Code, Vec2(700, 12)).X + 4,0, 12)
end
end)
Keybind.MouseButton2Down:Connect(function()
if not binding then
Frame.Visible = not Frame.Visible
end
end)
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
local InFrame = false
Frame.MouseEnter:Connect(function()
InFrame = true
end)
Frame.MouseLeave:Connect(function()
InFrame = false
end)
local InFrame2 = false
Keybind.MouseEnter:Connect(function()
InFrame2 = true
end)
Keybind.MouseLeave:Connect(function()
InFrame2 = false
end)
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseButton2 and not binding then
if Frame.Visible == true and not InFrame and not InFrame2 then
Frame.Visible = false
end
end
if binding then
binding = false
Keybind.Text = input.KeyCode.Name ~= "Unknown" and input.KeyCode.Name:upper() or input.UserInputType.Name:upper()
Keybind.Size = UDIM2(0,txt:GetTextSize(Keybind.Text, 14, Enum.Font.Code, Vec2(700, 12)).X + 5,0, 12)
Element.value.Key = input.KeyCode.Name ~= "Unknown" and input.KeyCode.Name or input.UserInputType.Name
if input.KeyCode.Name == "Backspace" then
Keybind.Text = "none"
Keybind.Size = UDIM2(0,txt:GetTextSize(Keybind.Text, 14, Enum.Font.Code, Vec2(700, 12)).X + 4,0, 12)
Element.value.Key = nil
Element.value.Active = true
end
callback(Element.value)
else
if Element.value.Key ~= nil then
if FIND(Element.value.Key, "Mouse") then
if input.UserInputType == Enum.UserInputType[Element.value.Key] then
if Element.value.Type == "Hold" then
Element.value.Active = true
callback(Element.value)
if Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
elseif Element.value.Type == "Toggle" then
Element.value.Active = not Element.value.Active
callback(Element.value)
if Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
end
end
else
if input.KeyCode == Enum.KeyCode[Element.value.Key] then
if Element.value.Type == "Hold" then
Element.value.Active = true
callback(Element.value)
if Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
elseif Element.value.Type == "Toggle" then
Element.value.Active = not Element.value.Active
callback(Element.value)
if Element.value.Active and Element.value.Toggle then
keybindadd(text)
else
keybindremove(text)
end
end
end
end
else
Element.value.Active = true
end
end
values[tabname][sectorname][text] = Element.value
end)
game:GetService("UserInputService").InputEnded:Connect(function(input)
if Element.value.Key ~= nil then
if FIND(Element.value.Key, "Mouse") then
if input.UserInputType == Enum.UserInputType[Element.value.Key] then
if Element.value.Type == "Hold" then
Element.value.Active = false
callback(Element.value)
if Element.value.Active then
keybindadd(text)
else
keybindremove(text)
end
end
end
else
if input.KeyCode == Enum.KeyCode[Element.value.Key] then
if Element.value.Type == "Hold" then
Element.value.Active = false
callback(Element.value)
if Element.value.Active then
keybindadd(text)
else
keybindremove(text)
end
end
end
end
end
values[tabname][sectorname][text] = Element.value
end)
end
function Element:SetValue(value)
Element.value = value
update()
end
elseif type == "Toggle" then
Section.Size = Section.Size + UDIM2(0,0,0,16)
Element.value = {Toggle = data.default and data.default.Toggle or false}
local Toggle = INST("Frame")
local Button = INST("TextButton")
local Color = INST("Frame")
local TextLabel = INST("TextLabel")
Toggle.Name = "Toggle"
Toggle.Parent = Inner
Toggle.BackgroundColor3 = COL3RGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(20, 20, 20)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local function update()
if Element.value.Toggle then
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(97, 59, 227)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(255, 255, 255)})
else
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(20, 20, 20)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
values[tabname][sectorname][text] = Element.value
end
Button.MouseButton1Down:Connect(function()
Element.value.Toggle = not Element.value.Toggle
update()
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end)
if data.default then
update()
end
values[tabname][sectorname][text] = Element.value
function Element:SetValue(value)
Element.value = value
values[tabname][sectorname][text] = Element.value
update()
callback(Element.value)
end
elseif type == "ToggleColor" then
Section.Size = Section.Size + UDIM2(0,0,0,16)
Element.value = {Toggle = data.default and data.default.Toggle or false, Color = data.default and data.default.Color or COL3RGB(255,255,255)}
local Toggle = INST("Frame")
local Button = INST("TextButton")
local Color = INST("Frame")
local TextLabel = INST("TextLabel")
Toggle.Name = "Toggle"
Toggle.Parent = Inner
Toggle.BackgroundColor3 = COL3RGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(20, 20, 20)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local function update()
if Element.value.Toggle then
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(97, 59, 227)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(255, 255, 255)})
else
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(20, 20, 20)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
values[tabname][sectorname][text] = Element.value
end
local ColorH,ColorS,ColorV
local ColorP = INST("TextButton")
local Frame = INST("Frame")
local Colorpick = INST("ImageButton")
local ColorDrag = INST("Frame")
local Huepick = INST("ImageButton")
local Huedrag = INST("Frame")
ColorP.Name = "ColorP"
ColorP.Parent = Button
ColorP.AnchorPoint = Vec2(1, 0)
ColorP.BackgroundColor3 = COL3RGB(255, 0, 0)
ColorP.BorderColor3 = COL3RGB(30, 30, 30)
ColorP.Position = UDIM2(0, 270, 0.5, -4)
ColorP.Size = UDIM2(0, 18, 0, 8)
ColorP.AutoButtonColor = false
ColorP.Font = Enum.Font.Code
ColorP.Text = ""
ColorP.TextColor3 = COL3RGB(200, 200, 200)
ColorP.TextSize = 12.750
Frame.Parent = ColorP
Frame.BackgroundColor3 = COL3RGB(20, 20, 20)
Frame.BorderColor3 = COL3RGB(30, 30, 30)
Frame.Position = UDIM2(-0.666666687, -170, 1.375, 0)
Frame.Size = UDIM2(0, 200, 0, 170)
Frame.Visible = false
Frame.ZIndex = 3
Colorpick.Name = "Colorpick"
Colorpick.Parent = Frame
Colorpick.BackgroundColor3 = COL3RGB(255, 255, 255)
Colorpick.BorderColor3 = COL3RGB(30, 30, 30)
Colorpick.ClipsDescendants = false
Colorpick.Position = UDIM2(0, 40, 0, 10)
Colorpick.Size = UDIM2(0, 150, 0, 150)
Colorpick.AutoButtonColor = false
Colorpick.Image = "rbxassetid://4155801252"
Colorpick.ImageColor3 = COL3RGB(255, 0, 0)
Colorpick.ZIndex = 3
ColorDrag.Name = "ColorDrag"
ColorDrag.Parent = Colorpick
ColorDrag.AnchorPoint = Vec2(0.5, 0.5)
ColorDrag.BackgroundColor3 = COL3RGB(255, 255, 255)
ColorDrag.BorderColor3 = COL3RGB(30, 30, 30)
ColorDrag.Size = UDIM2(0, 4, 0, 4)
ColorDrag.ZIndex = 3
Huepick.Name = "Huepick"
Huepick.Parent = Frame
Huepick.BackgroundColor3 = COL3RGB(255, 255, 255)
Huepick.BorderColor3 = COL3RGB(30, 30, 30)
Huepick.ClipsDescendants = false
Huepick.Position = UDIM2(0, 10, 0, 10)
Huepick.Size = UDIM2(0, 20, 0, 150)
Huepick.AutoButtonColor = false
Huepick.Image = "rbxassetid://3641079629"
Huepick.ImageColor3 = COL3RGB(255, 0, 0)
Huepick.ImageTransparency = 1
Huepick.BackgroundTransparency = 0
Huepick.ZIndex = 3
local HueFrameGradient = INST("UIGradient")
HueFrameGradient.Rotation = 90
HueFrameGradient.Name = "HueFrameGradient"
HueFrameGradient.Parent = Huepick
HueFrameGradient.Color = ColorSequence.new {
ColorSequenceKeypoint.new(0.00, COL3RGB(255, 0, 0)),
ColorSequenceKeypoint.new(0.17, COL3RGB(255, 0, 255)),
ColorSequenceKeypoint.new(0.33, COL3RGB(0, 0, 255)),
ColorSequenceKeypoint.new(0.50, COL3RGB(0, 255, 255)),
ColorSequenceKeypoint.new(0.67, COL3RGB(0, 255, 0)),
ColorSequenceKeypoint.new(0.83, COL3RGB(255, 255, 0)),
ColorSequenceKeypoint.new(1.00, COL3RGB(255, 0, 0))
}
Huedrag.Name = "Huedrag"
Huedrag.Parent = Huepick
Huedrag.BackgroundColor3 = COL3RGB(255, 255, 255)
Huedrag.BorderColor3 = COL3RGB(30, 30, 30)
Huedrag.Size = UDIM2(1, 0, 0, 2)
Huedrag.ZIndex = 3
ColorP.MouseButton1Down:Connect(function()
Frame.Visible = not Frame.Visible
end)
local abc = false
local inCP = false
ColorP.MouseEnter:Connect(function()
abc = true
end)
ColorP.MouseLeave:Connect(function()
abc = false
end)
Frame.MouseEnter:Connect(function()
inCP = true
end)
Frame.MouseLeave:Connect(function()
inCP = false
end)
ColorH = (CLAMP(Huedrag.AbsolutePosition.Y-Huepick.AbsolutePosition.Y, 0, Huepick.AbsoluteSize.Y)/Huepick.AbsoluteSize.Y)
ColorS = 1-(CLAMP(ColorDrag.AbsolutePosition.X-Colorpick.AbsolutePosition.X, 0, Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
ColorV = 1-(CLAMP(ColorDrag.AbsolutePosition.Y-Colorpick.AbsolutePosition.Y, 0, Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
if data.default and data.default.Color ~= nil then
ColorH, ColorS, ColorV = data.default.Color:ToHSV()
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
Huedrag.Position = UDIM2(0, 0, 1-ColorH, -1)
values[tabname][sectorname][text] = data.default.Color
end
local mouse = LocalPlayer:GetMouse()
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseButton2 then
if not dragging and not abc and not inCP then
Frame.Visible = false
end
end
end)
local function updateColor()
local ColorX = (CLAMP(mouse.X - Colorpick.AbsolutePosition.X, 0, Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
local ColorY = (CLAMP(mouse.Y - Colorpick.AbsolutePosition.Y, 0, Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
ColorDrag.Position = UDIM2(ColorX, 0, ColorY, 0)
ColorS = 1-ColorX
ColorV = 1-ColorY
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
values[tabname][sectorname][text] = Element.value
Element.value.Color = COL3HSV(ColorH, ColorS, ColorV)
callback(Element.value)
end
local function updateHue()
local y = CLAMP(mouse.Y - Huepick.AbsolutePosition.Y, 0, 148)
Huedrag.Position = UDIM2(0, 0, 0, y)
hue = y/148
ColorH = 1-hue
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
values[tabname][sectorname][text] = Element.value
Element.value.Color = COL3HSV(ColorH, ColorS, ColorV)
callback(Element.value)
end
Colorpick.MouseButton1Down:Connect(function()
updateColor()
moveconnection = mouse.Move:Connect(function()
updateColor()
end)
releaseconnection = game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType == Enum.UserInputType.MouseButton1 then
updateColor()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Huepick.MouseButton1Down:Connect(function()
updateHue()
moveconnection = mouse.Move:Connect(function()
updateHue()
end)
releaseconnection = game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType == Enum.UserInputType.MouseButton1 then
updateHue()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Button.MouseButton1Down:Connect(function()
Element.value.Toggle = not Element.value.Toggle
update()
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end)
if data.default then
update()
end
values[tabname][sectorname][text] = Element.value
function Element:SetValue(value)
Element.value = value
local duplicate = COL3(value.Color.R, value.Color.G, value.Color.B)
ColorH, ColorS, ColorV = duplicate:ToHSV()
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
update()
Huedrag.Position = UDIM2(0, 0, 1-ColorH, -1)
callback(value)
end
elseif type == "ToggleTrans" then
Section.Size = Section.Size + UDIM2(0,0,0,16)
Element.value = {Toggle = data.default and data.default.Toggle or false, Color = data.default and data.default.Color or COL3RGB(255,255,255), Transparency = data.default and data.default.Transparency or 0}
local Toggle = INST("Frame")
local Button = INST("TextButton")
local Color = INST("Frame")
local TextLabel = INST("TextLabel")
Toggle.Name = "Toggle"
Toggle.Parent = Inner
Toggle.BackgroundColor3 = COL3RGB(255, 255, 255)
Toggle.BackgroundTransparency = 1.000
Toggle.Size = UDIM2(1, 0, 0, 15)
Button.Name = "Button"
Button.Parent = Toggle
Button.BackgroundColor3 = COL3RGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Size = UDIM2(1, 0, 1, 0)
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
Color.Name = "Color"
Color.Parent = Button
Color.BackgroundColor3 = COL3RGB(20, 20, 20)
Color.BorderColor3 = COL3RGB(30, 30, 30)
Color.Position = UDIM2(0, 15, 0.5, -5)
Color.Size = UDIM2(0, 8, 0, 8)
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -1)
TextLabel.Size = UDIM2(0.111913361, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local function update()
if Element.value.Toggle then
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(97, 59, 227)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(255, 255, 255)})
else
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(20, 20, 20)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end
local ColorH,ColorS,ColorV
local ColorP = INST("TextButton")
local Frame = INST("Frame")
local Colorpick = INST("ImageButton")
local ColorDrag = INST("Frame")
local Huepick = INST("ImageButton")
local Huedrag = INST("Frame")
ColorP.Name = "ColorP"
ColorP.Parent = Button
ColorP.AnchorPoint = Vec2(1, 0)
ColorP.BackgroundColor3 = COL3RGB(255, 0, 0)
ColorP.BorderColor3 = COL3RGB(30, 30, 30)
ColorP.Position = UDIM2(0, 270, 0.5, -4)
ColorP.Size = UDIM2(0, 18, 0, 8)
ColorP.AutoButtonColor = false
ColorP.Font = Enum.Font.Code
ColorP.Text = ""
ColorP.TextColor3 = COL3RGB(200, 200, 200)
ColorP.TextSize = 12.750
Frame.Parent = ColorP
Frame.BackgroundColor3 = COL3RGB(20, 20, 20)
Frame.BorderColor3 = COL3RGB(30, 30, 30)
Frame.Position = UDIM2(-0.666666687, -170, 1.375, 0)
Frame.Size = UDIM2(0, 200, 0, 190)
Frame.Visible = false
Frame.ZIndex = 3
Colorpick.Name = "Colorpick"
Colorpick.Parent = Frame
Colorpick.BackgroundColor3 = COL3RGB(255, 255, 255)
Colorpick.BorderColor3 = COL3RGB(30, 30, 30)
Colorpick.ClipsDescendants = false
Colorpick.Position = UDIM2(0, 40, 0, 10)
Colorpick.Size = UDIM2(0, 150, 0, 150)
Colorpick.AutoButtonColor = false
Colorpick.Image = "rbxassetid://4155801252"
Colorpick.ImageColor3 = COL3RGB(255, 0, 0)
Colorpick.ZIndex = 3
ColorDrag.Name = "ColorDrag"
ColorDrag.Parent = Colorpick
ColorDrag.AnchorPoint = Vec2(0.5, 0.5)
ColorDrag.BackgroundColor3 = COL3RGB(255, 255, 255)
ColorDrag.BorderColor3 = COL3RGB(30, 30, 30)
ColorDrag.Size = UDIM2(0, 4, 0, 4)
ColorDrag.ZIndex = 3
Huepick.Name = "Huepick"
Huepick.Parent = Frame
Huepick.BackgroundColor3 = COL3RGB(255, 255, 255)
Huepick.BorderColor3 = COL3RGB(30, 30, 30)
Huepick.ClipsDescendants = true
Huepick.Position = UDIM2(0, 10, 0, 10)
Huepick.Size = UDIM2(0, 20, 0, 150)
Huepick.AutoButtonColor = false
Huepick.Image = "rbxassetid://3641079629"
Huepick.ImageColor3 = COL3RGB(255, 0, 0)
Huepick.ImageTransparency = 1
Huepick.BackgroundTransparency = 0
Huepick.ZIndex = 3
local HueFrameGradient = INST("UIGradient")
HueFrameGradient.Rotation = 90
HueFrameGradient.Name = "HueFrameGradient"
HueFrameGradient.Parent = Huepick
HueFrameGradient.Color = ColorSequence.new {
ColorSequenceKeypoint.new(0.00, COL3RGB(255, 0, 0)),
ColorSequenceKeypoint.new(0.17, COL3RGB(255, 0, 255)),
ColorSequenceKeypoint.new(0.33, COL3RGB(0, 0, 255)),
ColorSequenceKeypoint.new(0.50, COL3RGB(0, 255, 255)),
ColorSequenceKeypoint.new(0.67, COL3RGB(0, 255, 0)),
ColorSequenceKeypoint.new(0.83, COL3RGB(255, 255, 0)),
ColorSequenceKeypoint.new(1.00, COL3RGB(255, 0, 0))
}
Huedrag.Name = "Huedrag"
Huedrag.Parent = Huepick
Huedrag.BackgroundColor3 = COL3RGB(255, 255, 255)
Huedrag.BorderColor3 = COL3RGB(30, 30, 30)
Huedrag.Size = UDIM2(1, 0, 0, 2)
Huedrag.ZIndex = 3
local Transpick = INST("ImageButton")
local Transcolor = INST("ImageLabel")
local Transdrag = INST("Frame")
Transpick.Name = "Transpick"
Transpick.Parent = Frame
Transpick.BackgroundColor3 = COL3RGB(255, 255, 255)
Transpick.BorderColor3 = COL3RGB(30, 30, 30)
Transpick.Position = UDIM2(0, 10, 0, 167)
Transpick.Size = UDIM2(0, 180, 0, 15)
Transpick.AutoButtonColor = false
Transpick.Image = "rbxassetid://3887014957"
Transpick.ScaleType = Enum.ScaleType.Tile
Transpick.TileSize = UDIM2(0, 10, 0, 10)
Transpick.ZIndex = 3
Transcolor.Name = "Transcolor"
Transcolor.Parent = Transpick
Transcolor.BackgroundColor3 = COL3RGB(255, 255, 255)
Transcolor.BackgroundTransparency = 1.000
Transcolor.Size = UDIM2(1, 0, 1, 0)
Transcolor.Image = "rbxassetid://3887017050"
Transcolor.ImageColor3 = COL3RGB(255, 0, 4)
Transcolor.ZIndex = 3
Transdrag.Name = "Transdrag"
Transdrag.Parent = Transcolor
Transdrag.BackgroundColor3 = COL3RGB(255, 255, 255)
Transdrag.BorderColor3 = COL3RGB(30, 30, 30)
Transdrag.Position = UDIM2(0, -1, 0, 0)
Transdrag.Size = UDIM2(0, 2, 1, 0)
Transdrag.ZIndex = 3
ColorP.MouseButton1Down:Connect(function()
Frame.Visible = not Frame.Visible
end)
local abc = false
local inCP = false
ColorP.MouseEnter:Connect(function()
abc = true
end)
ColorP.MouseLeave:Connect(function()
abc = false
end)
Frame.MouseEnter:Connect(function()
inCP = true
end)
Frame.MouseLeave:Connect(function()
inCP = false
end)
ColorH = (CLAMP(Huedrag.AbsolutePosition.Y-Huepick.AbsolutePosition.Y, 0, Huepick.AbsoluteSize.Y)/Huepick.AbsoluteSize.Y)
ColorS = 1-(CLAMP(ColorDrag.AbsolutePosition.X-Colorpick.AbsolutePosition.X, 0, Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
ColorV = 1-(CLAMP(ColorDrag.AbsolutePosition.Y-Colorpick.AbsolutePosition.Y, 0, Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
if data.default and data.default.Color ~= nil then
ColorH, ColorS, ColorV = data.default.Color:ToHSV()
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
Transcolor.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
Huedrag.Position = UDIM2(0, 0, 1-ColorH, -1)
end
if data.default and data.default.Transparency ~= nil then
Transdrag.Position = UDIM2(data.default.Transparency, -1, 0, 0)
end
local mouse = LocalPlayer:GetMouse()
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseButton2 then
if not dragging and not abc and not inCP then
Frame.Visible = false
end
end
end)
local function updateColor()
local ColorX = (CLAMP(mouse.X - Colorpick.AbsolutePosition.X, 0, Colorpick.AbsoluteSize.X)/Colorpick.AbsoluteSize.X)
local ColorY = (CLAMP(mouse.Y - Colorpick.AbsolutePosition.Y, 0, Colorpick.AbsoluteSize.Y)/Colorpick.AbsoluteSize.Y)
ColorDrag.Position = UDIM2(ColorX, 0, ColorY, 0)
ColorS = 1-ColorX
ColorV = 1-ColorY
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
Transcolor.ImageColor3 = COL3HSV(ColorH, 1, 1)
values[tabname][sectorname][text] = Element.value
Element.value.Color = COL3HSV(ColorH, ColorS, ColorV)
callback(Element.value)
end
local function updateHue()
local y = CLAMP(mouse.Y - Huepick.AbsolutePosition.Y, 0, 148)
Huedrag.Position = UDIM2(0, 0, 0, y)
hue = y/148
ColorH = 1-hue
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
Transcolor.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
values[tabname][sectorname][text] = Element.value
Element.value.Color = COL3HSV(ColorH, ColorS, ColorV)
callback(Element.value)
end
local function updateTrans()
local x = CLAMP(mouse.X - Transpick.AbsolutePosition.X, 0, 178)
Transdrag.Position = UDIM2(0, x, 0, 0)
Element.value.Transparency = (x/178)
values[tabname][sectorname][text] = Element.value
callback(Element.value) -- this has been made by Bad#9672, tested by WetIDreamz#0001 and zeox#9999 -- this has been made by Bad#9672, tested by WetIDreamz#0001 and zeox#9999 -- this has been made by Bad#9672, tested by WetIDreamz#0001 and zeox#9999 -- this has been made by Bad#9672, tested by WetIDreamz#0001 and zeox#9999
end
Transpick.MouseButton1Down:Connect(function()
updateTrans()
moveconnection = mouse.Move:Connect(function()
updateTrans()
end)
releaseconnection = game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType == Enum.UserInputType.MouseButton1 then
updateTrans()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Colorpick.MouseButton1Down:Connect(function()
updateColor()
moveconnection = mouse.Move:Connect(function()
updateColor()
end)
releaseconnection = game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType == Enum.UserInputType.MouseButton1 then
updateColor()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Huepick.MouseButton1Down:Connect(function()
updateHue()
moveconnection = mouse.Move:Connect(function()
updateHue()
end)
releaseconnection = game:GetService("UserInputService").InputEnded:Connect(function(Mouse)
if Mouse.UserInputType == Enum.UserInputType.MouseButton1 then
updateHue()
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
Button.MouseButton1Down:Connect(function()
Element.value.Toggle = not Element.value.Toggle
update()
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end)
if data.default then
if Element.value.Toggle then
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(97, 59, 227)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(255, 255, 255)})
else
tween = library:Tween(Color, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = COL3RGB(20, 20, 20)})
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end
values[tabname][sectorname][text] = Element.value
end
values[tabname][sectorname][text] = Element.value
function Element:SetValue(value)
Element.value = value
local duplicate = COL3(value.Color.R, value.Color.G, value.Color.B)
ColorH, ColorS, ColorV = duplicate:ToHSV()
ColorH = CLAMP(ColorH,0,1)
ColorS = CLAMP(ColorS,0,1)
ColorV = CLAMP(ColorV,0,1)
ColorDrag.Position = UDIM2(1-ColorS,0,1-ColorV,0)
Colorpick.ImageColor3 = COL3HSV(ColorH, 1, 1)
ColorP.BackgroundColor3 = COL3HSV(ColorH, ColorS, ColorV)
update()
Huedrag.Position = UDIM2(0, 0, 1-ColorH, -1)
end
elseif type == "TextBox" then
Section.Size = Section.Size + UDIM2(0,0,0,30)
Element.value = {Text = data.default and data.default.text or ""}
local Box = INST("Frame")
local TextBox = INST("TextBox")
Box.Name = "Box"
Box.Parent = Inner
Box.BackgroundColor3 = COL3RGB(255, 255, 255)
Box.BackgroundTransparency = 1.000
Box.Position = UDIM2(0, 0, 0.542059898, 0)
Box.Size = UDIM2(1, 0, 0, 30)
TextBox.Parent = Box
TextBox.BackgroundColor3 = COL3RGB(20, 20, 20)
TextBox.BorderColor3 = COL3RGB(30, 30, 30)
TextBox.Position = UDIM2(0.108303241, 0, 0.224465579, 0)
TextBox.Size = UDIM2(0, 175, 0, 20)
TextBox.Font = Enum.Font.Code
TextBox.PlaceholderText = data.placeholder
TextBox.Text = Element.value.Text
TextBox.TextColor3 = COL3RGB(255, 255, 255)
TextBox.TextSize = 12.750
values[tabname][sectorname][text] = Element.value
TextBox:GetPropertyChangedSignal("Text"):Connect(function()
if LEN(TextBox.Text) > 100 then
TextBox.Text = SUB(TextBox.Text, 1, 10)
end
Element.value.Text = TextBox.Text
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end)
function Element:SetValue(value)
Element.value = value
values[tabname][sectorname][text] = Element.value
TextBox.Text = Element.value.Text
end
elseif type == "Dropdown" then
Section.Size = Section.Size + UDIM2(0,0,0,39)
Element.value = {Dropdown = data.options[1]}
local Dropdown = INST("Frame")
local Button = INST("TextButton")
local TextLabel = INST("TextLabel")
local Drop = INST("ScrollingFrame")
local Button_2 = INST("TextButton")
local TextLabel_2 = INST("TextLabel")
local UIListLayout = INST("UIListLayout")
local ImageLabel = INST("ImageLabel")
local TextLabel_3 = INST("TextLabel")
Dropdown.Name = "Dropdown"
Dropdown.Parent = Inner
Dropdown.BackgroundColor3 = COL3RGB(255, 255, 255)
Dropdown.BackgroundTransparency = 1.000
Dropdown.Position = UDIM2(0, 0, 0.255102038, 0)
Dropdown.Size = UDIM2(1, 0, 0, 39)
Button.Name = "Button"
Button.Parent = Dropdown
Button.BackgroundColor3 = COL3RGB(20, 20, 20)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 5, 0, 0)
TextLabel.Size = UDIM2(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = Element.value.Dropdown
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
local abcd = TextLabel
Drop.Name = "Drop"
Drop.Parent = Button
Drop.Active = true
Drop.BackgroundColor3 = COL3RGB(20, 20, 20)
Drop.BorderColor3 = COL3RGB(30, 30, 30)
Drop.Position = UDIM2(0, 0, 1, 1)
Drop.Size = UDIM2(1, 0, 0, 20)
Drop.Visible = false
Drop.BottomImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.CanvasSize = UDIM2(1, 1, 1, 1)
Drop.ScrollBarThickness = 4
Drop.TopImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.MidImage = "http://www.roblox.com/asset/?id=6724808282"
Drop.AutomaticCanvasSize = "Y"
Drop.ZIndex = 5
Drop.ScrollBarImageColor3 = COL3RGB(97, 59, 227)
UIListLayout.Parent = Drop
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
local num = #data.options
if num > 5 then
Drop.Size = UDIM2(1, 0, 0, 85)
else
Drop.Size = UDIM2(1, 0, 0, 17*num)
end
local first = true
for i,v in ipairs(data.options) do
do
local Button = INST("TextButton")
local TextLabel = INST("TextLabel")
Button.Name = v
Button.Parent = Drop
Button.BackgroundColor3 = COL3RGB(20, 20, 20)
Button.BorderColor3 = COL3RGB(30, 30, 30)
Button.Position = UDIM2(0, 30, 0, 16)
Button.Size = UDIM2(0, 175, 0, 17)
Button.AutoButtonColor = false
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
Button.BorderSizePixel = 1
Button.ZIndex = 6
TextLabel.Parent = Button
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Position = UDIM2(0, 5, 0, -1)
TextLabel.Size = UDIM2(-0.21714285, 208, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = v
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
TextLabel.ZIndex = 6
Button.MouseButton1Down:Connect(function()
Drop.Visible = false
Element.value.Dropdown = v
abcd.Text = v
values[tabname][sectorname][text] = Element.value
callback(Element.value)
Drop.CanvasPosition = Vec2(0,0)
end)
Button.MouseEnter:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
end)
Button.MouseLeave:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end)
first = false
end
end
function Element:SetValue(val)
Element.value = val
abcd.Text = val.Dropdown
values[tabname][sectorname][text] = Element.value
callback(val)
end
ImageLabel.Parent = Button
ImageLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Position = UDIM2(0, 165, 0, 6)
ImageLabel.Size = UDIM2(0, 6, 0, 4)
ImageLabel.Image = "http://www.roblox.com/asset/?id=6724771531"
TextLabel_3.Parent = Dropdown
TextLabel_3.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDIM2(0, 32, 0, -1)
TextLabel_3.Size = UDIM2(0.111913361, 208, 0.382215232, 0)
TextLabel_3.Font = Enum.Font.Code
TextLabel_3.Text = text
TextLabel_3.TextColor3 = COL3RGB(200, 200, 200)
TextLabel_3.TextSize = 12.750
TextLabel_3.TextXAlignment = Enum.TextXAlignment.Left
Button.MouseButton1Down:Connect(function()
Drop.Visible = not Drop.Visible
if not Drop.Visible then
Drop.CanvasPosition = Vec2(0,0)
end
end)
local indrop = false
local ind = false
Drop.MouseEnter:Connect(function()
indrop = true
end)
Drop.MouseLeave:Connect(function()
indrop = false
end)
Button.MouseEnter:Connect(function()
ind = true
end)
Button.MouseLeave:Connect(function()
ind = false
end)
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.MouseButton2 then
if Drop.Visible == true and not indrop and not ind then
Drop.Visible = false
Drop.CanvasPosition = Vec2(0,0)
end
end
end)
values[tabname][sectorname][text] = Element.value
elseif type == "Slider" then
Section.Size = Section.Size + UDIM2(0,0,0,25)
local Slider = INST("Frame")
local TextLabel = INST("TextLabel")
local Button = INST("TextButton")
local Frame = INST("Frame")
local UIGradient = INST("UIGradient")
local Value = INST("TextLabel")
Slider.Name = "Slider"
Slider.Parent = Inner
Slider.BackgroundColor3 = COL3RGB(255, 255, 255)
Slider.BackgroundTransparency = 1.000
Slider.Position = UDIM2(0, 0, 0.653061211, 0)
Slider.Size = UDIM2(1, 0, 0, 25)
TextLabel.Parent = Slider
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDIM2(0, 32, 0, -2)
TextLabel.Size = UDIM2(0, 100, 0, 15)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
Button.Name = "Button"
Button.Parent = Slider
Button.BackgroundColor3 = COL3RGB(10, 10, 10)
Button.BorderColor3 = COL3RGB(25, 25, 25)
Button.Position = UDIM2(0, 30, 0, 15)
Button.Size = UDIM2(0, 175, 0, 5)
Button.AutoButtonColor = false
Button.Font = Enum.Font.Code
Button.Text = ""
Button.TextColor3 = COL3RGB(0, 0, 0)
Button.TextSize = 12.750
Frame.Parent = Button
Frame.BackgroundColor3 = COL3RGB(255, 255, 255)
Frame.BorderSizePixel = 1
Frame.Size = UDIM2(0.5, 0, 1, 0)
UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, COL3RGB(97, 59, 227)), ColorSequenceKeypoint.new(1, COL3RGB(97, 59, 227))}
UIGradient.Rotation = 90
UIGradient.Parent = Frame
Value.Name = "Value"
Value.Parent = Slider
Value.BackgroundColor3 = COL3RGB(255, 255, 255)
Value.BackgroundTransparency = 1.000
Value.Position = UDIM2(0, 150, 0, -1)
Value.Size = UDIM2(0, 55, 0, 15)
Value.Font = Enum.Font.Code
Value.Text = "50"
Value.TextColor3 = COL3RGB(200, 200, 200)
Value.TextSize = 12.750
Value.TextXAlignment = Enum.TextXAlignment.Right
local min, max, default = data.min or 0, data.max or 100, data.default or 0
Element.value = {Slider = default}
function Element:SetValue(value)
Element.value = value
local a
if min > 0 then
a = ((Element.value.Slider - min)) / (max-min)
else
a = (Element.value.Slider-min)/(max-min)
end
Value.Text = Element.value.Slider
Frame.Size = UDIM2(a,0,1,0)
values[tabname][sectorname][text] = Element.value
callback(value)
end
local a
if min > 0 then
a = ((Element.value.Slider - min)) / (max-min)
else
a = (Element.value.Slider-min)/(max-min)
end
Value.Text = Element.value.Slider
Frame.Size = UDIM2(a,0,1,0)
values[tabname][sectorname][text] = Element.value
local uis = game:GetService("UserInputService")
local mouse = game.Players.LocalPlayer:GetMouse()
local val
Button.MouseButton1Down:Connect(function()
Frame.Size = UDIM2(0, CLAMP(mouse.X - Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = FLOOR((((tonumber(max) - tonumber(min)) / 175) * Frame.AbsoluteSize.X) + tonumber(min)) or 0
Value.Text = val
Element.value.Slider = val
values[tabname][sectorname][text] = Element.value
callback(Element.value)
moveconnection = mouse.Move:Connect(function()
Frame.Size = UDIM2(0, CLAMP(mouse.X - Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = FLOOR((((tonumber(max) - tonumber(min)) / 175) * Frame.AbsoluteSize.X) + tonumber(min))
Value.Text = val
Element.value.Slider = val
values[tabname][sectorname][text] = Element.value
callback(Element.value)
end)
releaseconnection = uis.InputEnded:Connect(function(Mouse)
if Mouse.UserInputType == Enum.UserInputType.MouseButton1 then
Frame.Size = UDIM2(0, CLAMP(mouse.X - Frame.AbsolutePosition.X, 0, 175), 0, 5)
val = FLOOR((((tonumber(max) - tonumber(min)) / 175) * Frame.AbsoluteSize.X) + tonumber(min))
values[tabname][sectorname][text] = Element.value
callback(Element.value)
moveconnection:Disconnect()
releaseconnection:Disconnect()
end
end)
end)
elseif type == "Button" then
Section.Size = Section.Size + UDIM2(0,0,0,24)
local Button = INST("Frame")
local Button_2 = INST("TextButton")
local TextLabel = INST("TextLabel")
Button.Name = "Button"
Button.Parent = Inner
Button.BackgroundColor3 = COL3RGB(255, 255, 255)
Button.BackgroundTransparency = 1.000
Button.Position = UDIM2(0, 0, 0.236059487, 0)
Button.Size = UDIM2(1, 0, 0, 24)
Button_2.Name = "Button"
Button_2.Parent = Button
Button_2.BackgroundColor3 = COL3RGB(20, 20, 20)
Button_2.BorderColor3 = COL3RGB(30, 30, 30)
Button_2.Position = UDIM2(0, 30, 0.5, -9)
Button_2.Size = UDIM2(0, 175, 0, 18)
Button_2.AutoButtonColor = false
Button_2.Font = Enum.Font.Code
Button_2.Text = ""
Button_2.TextColor3 = COL3RGB(0, 0, 0)
Button_2.TextSize = 12.750
TextLabel.Parent = Button_2
TextLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.BorderColor3 = COL3RGB(30, 30, 30)
TextLabel.Size = UDIM2(1, 0, 1, 0)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = text
TextLabel.TextColor3 = COL3RGB(200, 200, 200)
TextLabel.TextSize = 12.750
function Element:SetValue()
end
Button_2.MouseButton1Down:Connect(function()
TextLabel.TextColor3 = COL3RGB(97, 59, 227)
library:Tween(TextLabel, TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
callback()
end)
Button_2.MouseEnter:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(97, 59, 227)})
end)
Button_2.MouseLeave:Connect(function()
library:Tween(TextLabel, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {TextColor3 = COL3RGB(200, 200, 200)})
end)
end
ConfigLoad:Connect(function(cfg)
pcall(function()
local fix = library:ConfigFix(cfg)
if fix[tabname][sectorname][text] ~= nil then
Element:SetValue(fix[tabname][sectorname][text])
end
end)
end)
return Element
end
return Sector
end
return Tab
end
Catto.Parent = game.CoreGui
return menu
end
local UserInputService = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Lighting = game:GetService("Lighting")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer.PlayerGui
local Mouse = LocalPlayer:GetMouse()
local Camera = workspace.CurrentCamera
local ClientScript = LocalPlayer.PlayerGui.Client
local Client = getsenv(ClientScript)
repeat RunService.RenderStepped:Wait() until game:IsLoaded()
local Crosshairs = PlayerGui.GUI.Crosshairs
local Crosshair = PlayerGui.GUI.Crosshairs.Crosshair
local oldcreatebullethole = Client.createbullethole
local LGlove, RGlove, LSleeve, RSleeve, RArm, LArm
local WeaponObj = {}
local SelfObj = {}
local Viewmodels = ReplicatedStorage.Viewmodels
local Weapons = ReplicatedStorage.Weapons
local ViewmodelOffset = CF(0,0,0)
local Smokes = {}
local Mollies = {}
local RayIgnore = workspace.Ray_Ignore
local RageTarget
local GetIcon = require(game.ReplicatedStorage.GetIcon)
local BodyVelocity = INST("BodyVelocity")
BodyVelocity.MaxForce = Vec3(100000,0,100000)
local Collision = {Camera, workspace.Ray_Ignore, workspace.Debris}
local FakelagFolder = INST("Folder", workspace)
FakelagFolder.Name = "Fakelag"
local FakeAnim = INST("Animation", workspace)
FakeAnim.AnimationId = "rbxassetid://0"
local Gloves = ReplicatedStorage.Gloves
if Gloves:FindFirstChild("ImageLabel") then
Gloves.ImageLabel:Destroy()
end
local GloveModels = Gloves.Models
local Multipliers = {
["Head"] = 4,
["FakeHead"] = 4,
["HeadHB"] = 4,
["UpperTorso"] = 1,
["LowerTorso"] = 1.25,
["LeftUpperArm"] = 1,
["LeftLowerArm"] = 1,
["LeftHand"] = 1,
["RightUpperArm"] = 1,
["RightLowerArm"] = 1,
["RightHand"] = 1,
["LeftUpperLeg"] = 0.75,
["LeftLowerLeg"] = 0.75,
["LeftFoot"] = 0.75,
["RightUpperLeg"] = 0.75,
["RightLowerLeg"] = 0.75,
["RightFoot"] = 0.75,
}
local ChamItems = {}
local Skyboxes = {
["nebula"] = {
SkyboxLf = "rbxassetid://159454286",
SkyboxBk = "rbxassetid://159454299",
SkyboxDn = "rbxassetid://159454296",
SkyboxFt = "rbxassetid://159454293",
SkyboxLf = "rbxassetid://159454286",
SkyboxRt = "rbxassetid://159454300",
SkyboxUp = "rbxassetid://159454288",
},
["vaporwave"] = {
SkyboxLf = "rbxassetid://1417494402",
SkyboxBk = "rbxassetid://1417494030",
SkyboxDn = "rbxassetid://1417494146",
SkyboxFt = "rbxassetid://1417494253",
SkyboxLf = "rbxassetid://1417494402",
SkyboxRt = "rbxassetid://1417494499",
SkyboxUp = "rbxassetid://1417494643",
},
["clouds"] = {
SkyboxLf = "rbxassetid://570557620",
SkyboxBk = "rbxassetid://570557514",
SkyboxDn = "rbxassetid://570557775",
SkyboxFt = "rbxassetid://570557559",
SkyboxLf = "rbxassetid://570557620",
SkyboxRt = "rbxassetid://570557672",
SkyboxUp = "rbxassetid://570557727",
},
["twilight"] = {
SkyboxLf = "rbxassetid://264909758",
SkyboxBk = "rbxassetid://264908339",
SkyboxDn = "rbxassetid://264907909",
SkyboxFt = "rbxassetid://264909420",
SkyboxLf = "rbxassetid://264909758",
SkyboxRt = "rbxassetid://264908886",
SkyboxUp = "rbxassetid://264907379",
},
["Cloudy Skies"] = {
SkyboxLf = "rbxassetid://252760980",
SkyboxBk = "rbxassetid://252760981",
SkyboxDn = "rbxassetid://252763035",
SkyboxFt = "rbxassetid://252761439",
SkyboxRt = "rbxassetid://252760986",
SkyboxUp = "rbxassetid://252762652",
},
["Dark blue"] = {
SkyboxLf = "rbxassetid://30306626",
SkyboxBk = "rbxassetid://30306692",
SkyboxDn = "rbxassetid://25901058",
SkyboxFt = "rbxassetid://30306730",
SkyboxRt = "rbxassetid://30306661",
SkyboxUp = "rbxassetid://30306770",
},
["Pink Daylight"] = {
SkyboxBk = "rbxassetid://271042516",
SkyboxDn = "rbxassetid://271077243",
SkyboxFt = "rbxassetid://271042556",
SkyboxLf = "rbxassetid://271042310",
SkyboxRt = "rbxassetid://271042467",
SkyboxUp = "rbxassetid://271077958",
},
["Night"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=12064107",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=12064152",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=12064121",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=12063984",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=12064115",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=12064131",
},
["Space"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=149397692",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=149397686",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=149397697",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=149397684",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=149397688",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=149397702",
},
["pink vision"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=6593929026",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=6593930140",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=6593931249",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=6593932587",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=6593933789",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=6593935319",
},
["animeskybox"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=6598038571",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=6598060864",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=6598069162",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=6598081281",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=6598083861",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=6598088065",
},
["Alien Red"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=1012890",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=1012891",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=1012887",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=1012889",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=1012888",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=1014449",
},
["Counter Strike City"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=2240134413",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=2240136039",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=2240130790",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=2240133550",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=2240132643",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=2240135222",
},
["Dark City"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=1424486234",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=1424485998",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=1424485697",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=1424484951",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=1424484760",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=1424484510",
},
["Earth"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=166509999",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=166510057",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=166510116",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=166510092",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=166510131",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=166510114",
},
["Mountains"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=368385273",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=48015300",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=368388290",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=368390615",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=368385190",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=48015387",
},
["Old Skybox"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=15436783",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=15436796",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=15436831",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=15437157",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=15437166",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=15437184",
},
["Red Sky"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=401664839",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=401664862",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=401664960",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=401664881",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=401664901",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=401664936",
},
["Stormy Sky"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=1327366",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=1327367",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=1327362",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=1327363",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=1327361",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=1327368",
},
["Wasteland"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=2046134302",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=2046134976",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=2046135977",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=2046135392",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=2046136939",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=2046136551",
},
["Bobux Generator"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=6599826528",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=6599827328",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=6599833356",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=6599835206",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=6599835755",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=6599836686",
},
["Blue Sky"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=226060119",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=226060115",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=226060143",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=226060136",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=226060155",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=226060167",
},
["Green Sky"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=157711514",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=157711501",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=157711522",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=157711494",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=157711509",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=157711528",
},
["Red Sky"] = {
["SkyboxBk"] = "http://www.roblox.com/asset/?id=157711982",
["SkyboxDn"] = "http://www.roblox.com/asset/?id=157711970",
["SkyboxFt"] = "http://www.roblox.com/asset/?id=157711989",
["SkyboxLf"] = "http://www.roblox.com/asset/?id=157711966",
["SkyboxRt"] = "http://www.roblox.com/asset/?id=157711978",
["SkyboxUp"] = "http://www.roblox.com/asset/?id=157711996",
},
}
local NewScope
do
local ScreenGui = INST("ScreenGui")
local Frame = INST("Frame")
local Frame_2 = INST("Frame")
ScreenGui.Enabled = false
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Global
ScreenGui.IgnoreGuiInset = true
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = COL3RGB(0, 0, 0)
Frame.BorderSizePixel = o
Frame.Position = UDIM2(0, 0, 0.5, 0)
Frame.Size = UDIM2(1, 0, 0, 1)
Frame_2.Parent = ScreenGui
Frame_2.BackgroundColor3 = COL3RGB(0, 0, 0)
Frame_2.BorderSizePixel = o
Frame_2.Position = UDIM2(0.5, 0, 0, 0)
Frame_2.Size = UDIM2(0, 1, 1, 0)
ScreenGui.Parent = game.CoreGui
NewScope = ScreenGui
end
local oldSkybox
local function VectorRGB(RGB)
return Vec3(RGB.R, RGB.G, RGB.B)
end
local function new(name, prop)
local obj = INST(name)
for i,v in pairs(prop) do
if i ~= "Parent" then
obj[i] = v
end
end
if prop["Parent"] ~= nil then
obj.Parent = prop["Parent"]
end
end
local function UpdateAccessory(Accessory)
Accessory.Material = values.visuals.effects["accessory material"].Dropdown == "Smooth" and "SmoothPlastic" or "ForceField"
Accessory.Mesh.VertexColor = VectorRGB(values.visuals.effects["accessory chams"].Color)
Accessory.Color = values.visuals.effects["accessory chams"].Color
Accessory.Transparency = values.visuals.effects["accessory chams"].Transparency
if values.visuals.effects["accessory material"].Dropdown ~= "ForceField" then
Accessory.Mesh.TextureId = ""
else
Accessory.Mesh.TextureId = Accessory.StringValue.Value
end
end
local function ReverseAccessory(Accessory)
Accessory.Material = "SmoothPlastic"
Accessory.Mesh.VertexColor = Vec3(1,1,1)
Accessory.Mesh.TextureId = Accessory.StringValue.Value
Accessory.Transparency = 0
end
local function UpdateWeapon(obj)
local selected = values.visuals.effects["weapon material"].Dropdown
if obj:IsA("MeshPart") and selected == "ForceField" then obj.TextureID = "rbxassetid://111876444"
else
if selected == "Smooth" or selected == "Glass" or selected == "Flat" then obj.TextureID = "" end
end
if obj:IsA("Part") and obj:FindFirstChild("Mesh") and not obj:IsA("BlockMesh") then
obj.Mesh.VertexColor = VectorRGB(values.visuals.effects["weapon chams"].Color)
if selected == "Smooth" or selected == "Glass" then
obj.Mesh.TextureId = ""
else
pcall(function()
obj.Mesh.TextureId = obj.Mesh.OriginalTexture.Value
obj.Mesh.TextureID = obj.Mesh.OriginalTexture.Value
end)
end
end
obj.Color = values.visuals.effects["weapon chams"].Color
obj.Material = selected == "Smooth" and "SmoothPlastic" or selected == "Flat" and "Neon" or selected == "ForceField" and "ForceField" or "Glass"
obj.Reflectance = values.visuals.effects["reflectance"].Slider/10
obj.Transparency = values.visuals.effects["weapon chams"].Transparency
end
local Skins = ReplicatedStorage.Skins
local function MapSkin(Gun, Skin, CustomSkin)
if CustomSkin ~= nil then
for _,Data in pairs(CustomSkin) do
local Obj = Camera.Arms:FindFirstChild(Data.Name)
if Obj ~= nil and Obj.Transparency ~= 1 then
Obj.TextureId = Data.Value
end
end
else
local SkinData = Skins:FindFirstChild(Gun):FindFirstChild(Skin)
if not SkinData:FindFirstChild("Animated") then
for _,Data in pairs(SkinData:GetChildren()) do
local Obj = Camera.Arms:FindFirstChild(Data.Name)
if Obj ~= nil and Obj.Transparency ~= 1 then
if Obj:FindFirstChild("Mesh") then
Obj.Mesh.TextureId = v.Value
elseif not Obj:FindFirstChild("Mesh") then
Obj.TextureID = Data.Value
end
end
end
end
end
end
local function ChangeCharacter(NewCharacter)
for _,Part in pairs (LocalPlayer.Character:GetChildren()) do
if Part:IsA("Accessory") then
Part:Destroy()
end
if Part:IsA("BasePart") then
if NewCharacter:FindFirstChild(Part.Name) then
Part.Color = NewCharacter:FindFirstChild(Part.Name).Color
Part.Transparency = NewCharacter:FindFirstChild(Part.Name).Transparency
end
if Part.Name == "FakeHead" then
Part.Color = NewCharacter:FindFirstChild("Head").Color
Part.Transparency = NewCharacter:FindFirstChild("Head").Transparency
end
end
if (Part.Name == "Head" or Part.Name == "FakeHead") and Part:FindFirstChildOfClass("Decal") and NewCharacter.Head:FindFirstChildOfClass("Decal") then
Part:FindFirstChildOfClass("Decal").Texture = NewCharacter.Head:FindFirstChildOfClass("Decal").Texture
end
end
if NewCharacter:FindFirstChildOfClass("Shirt") then
if LocalPlayer.Character:FindFirstChildOfClass("Shirt") then
LocalPlayer.Character:FindFirstChildOfClass("Shirt"):Destroy()
end
local Clone = NewCharacter:FindFirstChildOfClass("Shirt"):Clone()
Clone.Parent = LocalPlayer.Character
end
if NewCharacter:FindFirstChildOfClass("Pants") then
if LocalPlayer.Character:FindFirstChildOfClass("Pants") then
LocalPlayer.Character:FindFirstChildOfClass("Pants"):Destroy()
end
local Clone = NewCharacter:FindFirstChildOfClass("Pants"):Clone()
Clone.Parent = LocalPlayer.Character
end
for _,Part in pairs (NewCharacter:GetChildren()) do
if Part:IsA("Accessory") then
local Clone = Part:Clone()
for _,Weld in pairs (Clone.Handle:GetChildren()) do
if Weld:IsA("Weld") and Weld.Part1 ~= nil then
Weld.Part1 = LocalPlayer.Character[Weld.Part1.Name]
end
end
Clone.Parent = LocalPlayer.Character
end
end
if LocalPlayer.Character:FindFirstChildOfClass("Shirt") then
local String = INST("StringValue")
String.Name = "OriginalTexture"
String.Value = LocalPlayer.Character:FindFirstChildOfClass("Shirt").ShirtTemplate
String.Parent = LocalPlayer.Character:FindFirstChildOfClass("Shirt")
if TBLFIND(values.visuals.effects.removals.Jumbobox, "clothes") then
LocalPlayer.Character:FindFirstChildOfClass("Shirt").ShirtTemplate = ""
end
end
if LocalPlayer.Character:FindFirstChildOfClass("Pants") then
local String = INST("StringValue")
String.Name = "OriginalTexture"
String.Value = LocalPlayer.Character:FindFirstChildOfClass("Pants").PantsTemplate
String.Parent = LocalPlayer.Character:FindFirstChildOfClass("Pants")
if TBLFIND(values.visuals.effects.removals.Jumbobox, "clothes") then
LocalPlayer.Character:FindFirstChildOfClass("Pants").PantsTemplate = ""
end
end
for i,v in pairs(LocalPlayer.Character:GetChildren()) do
if v:IsA("BasePart") and v.Transparency ~= 1 then
INSERT(SelfObj, v)
local Color = INST("Color3Value")
Color.Name = "OriginalColor"
Color.Value = v.Color
Color.Parent = v
local String = INST("StringValue")
String.Name = "OriginalMaterial"
String.Value = v.Material.Name
String.Parent = v
elseif v:IsA("Accessory") and v.Handle.Transparency ~= 1 then
INSERT(SelfObj, v.Handle)
local Color = INST("Color3Value")
Color.Name = "OriginalColor"
Color.Value = v.Handle.Color
Color.Parent = v.Handle
local String = INST("StringValue")
String.Name = "OriginalMaterial"
String.Value = v.Handle.Material.Name
String.Parent = v.Handle
end
end
if values.visuals.self["self chams"].Toggle then
for _,obj in pairs(SelfObj) do
if obj.Parent ~= nil then
obj.Material = values.visuals.self["self chams material"].Dropdown
obj.Color = values.visuals.self["self chams"].Color
end
end
end
end
local function GetDeg(pos1, pos2)
local start = pos1.LookVector
local vector = CF(pos1.Position, pos2).LookVector
local angle = ACOS(start:Dot(vector))
local deg = DEG(angle)
return deg
end
local Ping = game.Stats.PerformanceStats.Ping:GetValue()
for i,v in pairs(Viewmodels:GetChildren()) do
if v:FindFirstChild("HumanoidRootPart") and v.HumanoidRootPart.Transparency ~= 1 then
v.HumanoidRootPart.Transparency = 1
end
end
local Models = game:GetObjects("rbxassetid://7285197035")[1]
repeat wait() until Models ~= nil
local ChrModels = game:GetObjects("rbxassetid://7642937303")[1]
repeat wait() until ChrModels ~= nil
local AllKnives = {
"CT Knife",
"T Knife",
"Banana",
"Bayonet",
"Bearded Axe",
"Butterfly Knife",
"Cleaver",
"Crowbar",
"Falchion Knife",
"Flip Knife",
"Gut Knife",
"Huntsman Knife",
"Karambit",
"Sickle",
}
local AllGloves = {}
for _,fldr in pairs(Gloves:GetChildren()) do
if fldr ~= GloveModels and fldr.Name ~= "Racer" then
AllGloves[fldr.Name] = {}
for _2,modl in pairs(fldr:GetChildren()) do
INSERT(AllGloves[fldr.Name], modl.Name)
end
end
end
for i,v in pairs(Models.Knives:GetChildren()) do
INSERT(AllKnives, v.Name)
end
local AllSkins = {}
local AllWeapons = {}
local AllCharacters = {}
for i,v in pairs(ChrModels:GetChildren()) do
INSERT(AllCharacters, v.Name)
end
local skins = {
{["Weapon"] = "AWP", ["SkinName"] = "Bot", ["Skin"] = {["Scope"] = "6572594838", ["Handle"] = "6572594077"}}
}
for _,skin in pairs (skins) do
local Folder = INST("Folder")
Folder.Name = skin["SkinName"]
Folder.Parent = Skins[skin["Weapon"]]
for _,model in pairs (skin["Skin"]) do
local val = INST("StringValue")
val.Name = _
val.Value = "rbxassetid://"..model
val.Parent = Folder
end
end
for i,v in pairs(Skins:GetChildren()) do
INSERT(AllWeapons, v.Name)
end
TBLSORT(AllWeapons, function(a,b)
return a < b
end)
for i,v in ipairs(AllWeapons) do
AllSkins[v] = {}
INSERT(AllSkins[v], "Inventory")
for _,v2 in pairs(Skins[v]:GetChildren()) do
if not v2:FindFirstChild("Animated") then
INSERT(AllSkins[v], v2.Name)
end
end
end
makefolder("Cattolua")
local allluas = {}
for _,lua in pairs(listfiles("Cattolua")) do
local luaname = GSUB(lua, "Cattolua\\", "")
INSERT(allluas, luaname)
end
RunService.RenderStepped:Wait()
local gui = library:New("IMAGINE HACKING NOOB")
local legit = gui:Tab("legit")
local rage = gui:Tab("rage")
local visuals = gui:Tab("visuals")
local misc = gui:Tab("misc")
local skins = gui:Tab("skins")
local luas = gui:Tab("lua")
getgenv().api = {}
api.newtab = function(name)
return gui:Tab(name)
end
api.newsection = function(tab, name, side)
return tab:Sector(name, side)
end
api.newelement = function(section, type, name, data, callback)
section:Element(type, name, data, callback)
end
local luascripts = luas:Sector("lua scripts", "Left")
luascripts:Element("Scroll", "lua", {options = allluas, Amount = 5})
luascripts:Element("Button", "load", {}, function()
loadstring(readfile("Cattolua\\"..values.luas["lua scripts"].lua.Scroll))()
end)
local server = luas:Sector("Server Environment", "Left")
server:Element("Button", "rejoin server", nil, function()
local ts = game:GetService("TeleportService")
local p= game:GetService("Players").LocalPlayer
ts:Teleport(game.PlaceId, p)
end)
server:Element("Button", "fix map vote bug", function()
LocalPlayer.PlayerGui.GUI.MapVote.Visible = false
LocalPlayer.PlayerGui.GUI.Scoreboard.Visible = false
end)
server:Element("Button", "crash server", {}, function()
while true do
pcall(function()
game:GetService("RunService").RenderStepped:Wait()
for i = 1,100,1 do -- Server Crasher exploit by property (Mexicanhook). mis hermanos solo usan mexicanhook < Thank you mexhook, Sincerely, Disc_#7798
game:GetService("ReplicatedStorage").Events.DropMag:FireServer(LocalPlayer.Character.Gun.Mag)
end
end)
end
end)
local custom = luas:Sector("custom models", "Right")
custom:Element("Button", "Reset Knives", {}, function(tbl)
game.ReplicatedStorage.Viewmodels["v_CT Knife"]:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://7311308040')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
wait()
game.ReplicatedStorage.Viewmodels["v_T Knife"]:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://7311365626')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
end)
custom:Element("Toggle", "Barrett [Auto]", nil, function(tbl)
if tbl.Toggle then
game.ReplicatedStorage.Viewmodels["v_G3SG1"]:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://6477308219')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
game.ReplicatedStorage.Viewmodels["v_Barrett"].Name = "v_G3SG1"
end
end)
custom:Element("Toggle", "Mosin [AWP]", nil, function(tbl)
if tbl.Toggle then
game.ReplicatedStorage.Viewmodels["v_AWP"]:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://6482147359')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
game.ReplicatedStorage.Viewmodels["v_Mosin-Nagant Optical"].Name = "v_AWP"
end
end)
custom:Element("Toggle", "M1 Garand [Scout]", nil, function(tbl)
if tbl.Toggle then
game.ReplicatedStorage.Viewmodels["v_Scout"]:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://6477587469')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
game.ReplicatedStorage.Viewmodels["v_M1 Garand"].Name = "v_Scout"
end
end)
custom:Element("Toggle", "Dragon [AK-47]", nil, function(tbl)
if tbl.Toggle then
game.ReplicatedStorage.Viewmodels["v_AK47"]:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://7161345483')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
game.ReplicatedStorage.Viewmodels["v_AK47drangon"].Name = "v_AK47"
end
end)
custom:Element("Toggle", "Csgo [AWP]", nil, function(tbl)
if tbl.Toggle then
game.ReplicatedStorage.Viewmodels["v_AWP"]:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://7161319343')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
game.ReplicatedStorage.Viewmodels["awpAZIM"].Name = "v_AWP"
end
end)
custom:Element("Toggle", "Csgo [Scout]", nil, function(tbl)
if tbl.Toggle then
game.ReplicatedStorage.Viewmodels["v_Scout"]:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://7161407697')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
game.ReplicatedStorage.Viewmodels["v_Scoutfever"].Name = "v_Scout"
end
end)
custom:Element("Toggle", "Railgun [Scout]", nil, function(tbl)
if tbl.Toggle then
game.ReplicatedStorage.Viewmodels["v_Scout"]:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://6477284418')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
game.ReplicatedStorage.Viewmodels["v_Railgun"].Name = "v_Scout"
end
end)
custom:Element("Toggle", "Codol [AWP]", nil, function(tbl)
if tbl.Toggle then
game.ReplicatedStorage.Viewmodels["v_AWP"]:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://7161371614')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
game.ReplicatedStorage.Viewmodels["v_codol"].Name = "v_AWP"
end
end)
custom:Element("Toggle", "Newan [Scout]", nil, function(tbl)
if tbl.Toggle then
game.ReplicatedStorage.Viewmodels["v_Scout"]:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://7161433164')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
game.ReplicatedStorage.Viewmodels["v_Scoutnewan"].Name = "v_Scout"
end
end)
custom:Element("Toggle", "Newan [USP]", nil, function(tbl)
if tbl.Toggle then
game.ReplicatedStorage.Viewmodels["v_USP"]:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://7161365495')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
game.ReplicatedStorage.Viewmodels["v_USPnew"].Name = "v_USP"
end
end)
custom:Element("Toggle", "Bowie [Knife]", nil, function(tbl)
if tbl.Toggle then
game.ReplicatedStorage.Viewmodels["v_CT Knife"]:Destroy()
game.ReplicatedStorage.Viewmodels["v_T Knife"]:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://7161240289')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://7161240289')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
wait()
game.ReplicatedStorage.Viewmodels["v_bowknife"].Name = "v_CT Knife"
game.ReplicatedStorage.Viewmodels["v_bowknife"].Name = "v_T Knife"
end
end)
custom:Element("Toggle", "Netherite Sword [Knife]", nil, function(tbl)
if tbl.Toggle then
game.ReplicatedStorage.Viewmodels["v_CT Knife"]:Destroy()
game.ReplicatedStorage.Viewmodels["v_T Knife"]:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://7917769386')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://7917769386')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
wait()
game.ReplicatedStorage.Viewmodels["SwordMC"].Name = "v_CT Knife"
game.ReplicatedStorage.Viewmodels["SwordMC"].Name = "v_T Knife"
wait()
game.ReplicatedStorage.Viewmodels["v_CT Knife"].Handle.TextureID = "rbxassetid://7375049028"
game.ReplicatedStorage.Viewmodels["v_T Knife"].Handle.TextureID = "rbxassetid://7375049028"
end
end)
custom:Element("Toggle", "Shadow Daggers Fade [Knife]", nil, function(tbl)
if tbl.Toggle then
game.ReplicatedStorage.Viewmodels["v_CT Knife"]:Destroy()
game.ReplicatedStorage.Viewmodels["v_T Knife"]:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://7161082619')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
wait()
local Model1 = Instance.new("Model", game.ReplicatedStorage.Viewmodels)
game:GetObjects('rbxassetid://7161082619')[1].Parent = Model1
Model = game.ReplicatedStorage.Viewmodels.Model
for _, Child in pairs(Model:GetChildren()) do
Child.Parent = Model.Parent
end
Model:Destroy()
wait()
game.ReplicatedStorage.Viewmodels["v_daggers"].Name = "v_CT Knife"
game.ReplicatedStorage.Viewmodels["v_daggers"].Name = "v_T Knife"
end
end)
local knife = skins:Sector("knife", "Left")
knife:Element("Toggle", "knife changer")
knife:Element("Scroll", "model", {options = AllKnives, Amount = 15})
local glove = skins:Sector("glove", "Left")
glove:Element("Toggle", "glove changer")
glove:Element("ScrollDrop", "model", {options = AllGloves, Amount = 9})
local skin = skins:Sector("skins", "Right")
skin:Element("Toggle", "skin changer")
skin:Element("ScrollDrop", "skin", {options = AllSkins, Amount = 15, alphabet = true})
local characters = skins:Sector("characters", "Right")
characters:Element("Toggle", "character changer", nil, function(tbl)
if tbl.Toggle then
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Gun") then
ChangeCharacter(ChrModels:FindFirstChild(values.skins.characters.skin.Scroll))
end
end
end)
characters:Element("Scroll", "skin", {options = AllCharacters, Amount = 9, alphabet = true}, function(tbl)
if values.skins.characters["character changer"].Toggle then
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Gun") then
ChangeCharacter(ChrModels:FindFirstChild(tbl.Scroll))
end
end
end)
local aimbot = legit:Sector("aimbot", "Left")
aimbot:Element("ToggleKeybind", "aim assist")
aimbot:Element("ToggleKeybind", "silent aim")
aimbot:Element("ToggleKeybind", "triggerbot")
local main = legit:MSector("main", "Left")
local default = main:Tab("default")
local pistol = main:Tab("pistol")
local smg = main:Tab("smg")
local rifle = main:Tab("rifle")
local sniper = main:Tab("sniper")
local function AddLegit(Tab)
Tab:Element("Jumbobox", "conditions", {options = {"visible", "standing", "blind", "smoke"}})
Tab:Element("Dropdown", "target", {options = {"crosshair", "health", "distance"}})
Tab:Element("Dropdown", "hitbox", {options = {"closest", "head", "chest"}})
Tab:Element("Slider", "field of view", {min = 30, max = 420, default = 120})
Tab:Element("Slider", "smoothing", {min = 1, max = 50, default = 1})
Tab:Element("Toggle", "silent aim")
Tab:Element("Slider", "hitchance", {min = 1, max = 100, default = 100})
Tab:Element("Dropdown", "priority", {options = {"closest", "head", "chest"}})
Tab:Element("Toggle", "triggerbot")
Tab:Element("Slider", "delay (ms)", {min = 0, max = 300, default = 200})
Tab:Element("Slider", "minimum dmg", {min = 0, max = 100, default = 15})
end
AddLegit(default)
pistol:Element("Toggle", "override default")
AddLegit(pistol)
smg:Element("Toggle", "override default")
AddLegit(smg)
rifle:Element("Toggle", "override default")
AddLegit(rifle)
sniper:Element("Toggle", "override default")
AddLegit(sniper)
local settings = legit:Sector("settings", "Right")
settings:Element("Toggle", "free for all")
settings:Element("Toggle", "forcefield check")
settings:Element("ToggleColor", "draw fov")
local aimbot = rage:Sector("aimbot", "Left")
aimbot:Element("Toggle", "enabled")
aimbot:Element("Dropdown", "origin", {options = {"character", "camera"}})
aimbot:Element("Toggle", "silent aim")
aimbot:Element("Dropdown", "automatic fire", {options = {"off", "standard", "hitpart"}})
aimbot:Element("Toggle", "automatic penetration")
aimbot:Element("Jumbobox", "resolver", {options = {"pitch", "yaw", "roll", "animation"}})
aimbot:Element("Toggle", "prefer real hitbox")
aimbot:Element("Toggle", "force hit")
aimbot:Element("Dropdown", "prediction", {options = {"off", "ping", "manual"}})
aimbot:Element("Slider", "prediction amount")
aimbot:Element("Toggle", "teammates")
aimbot:Element("Toggle", "accuracy boost")
aimbot:Element("Slider", "accuracy multiplier")
aimbot:Element("Toggle", "auto baim")
aimbot:Element("Toggle", "knifebot")
aimbot:Element('Slider', 'Knifebot Radius', {min = -1, max = 250, default = 20})
local weapons = rage:MSector("weapons", "Left")
local default = weapons:Tab("default")
local pistol = weapons:Tab("pistol")
local rifle = weapons:Tab("rifle")
local scout = weapons:Tab("scout")
local awp = weapons:Tab("awp")
local auto = weapons:Tab("auto")
local function AddRage(Tab)
Tab:Element("Jumbobox", "hitboxes", {options = {"head", "torso", "pelvis", 'arms', 'feet'}})
Tab:Element("Toggle", "prefer body")
Tab:Element("Slider", "minimum damage", {min = -10, max = 100, default = 20})
Tab:Element("Slider", "max fov", {min = 1, max = 180, default = 180})
end
AddRage(default)
pistol:Element("Toggle", "override default")
AddRage(pistol)
rifle:Element("Toggle", "override default")
AddRage(rifle)
scout:Element("Toggle", "override default")
AddRage(scout)
awp:Element("Toggle", "override default")
AddRage(awp)
auto:Element("Toggle", "override default")
AddRage(auto)
local antiaim = rage:Sector("angles", "Right")
antiaim:Element("Toggle", "enabled")
local Client = getsenv(game.Players.LocalPlayer.PlayerGui.Client)
fakeduckloop = false
antiaim:Element("Toggle", "fake duck",{},function(tbl)
fakeduckloop = tbl.Toggle
while fakeduckloop and syn do
pcall(function()
wait(1)
local Client = getsenv(game.Players.LocalPlayer.PlayerGui.Client)
local CrouchAnim = nil
for i,v in pairs(debug.getupvalues(Client.setcharacter)) do
if type(v) == "userdata" and v.ClassName == "AnimationTrack" and v.Name == "Idle" then
CrouchAnim = v
end
end
CrouchAnim:Play()
end)
end
end)
antiaim:Element("Dropdown", "yaw base", {options = {"camera", "targets", "spin", "random", "stutter", "wasd yaw base", "3 head"}})
antiaim:Element("Slider", "yaw offset", {min = -180, max = 180, default = 0})
antiaim:Element("ToggleKeybind", "reset yaw")
antiaim:Element("Toggle", "jitter")
antiaim:Element("Slider", "jitter offset", {min = -180, max = 180, default = 0})
antiaim:Element("Dropdown", "pitch", {options = {"up", "down", "180", "180+", "random", "crazy", "normal", "normal+", "weird", "down+", "up+", "extend", "fake nohead", "imposter"}})
antiaim:Element("Toggle", "extend pitch")
antiaim:Element("Dropdown", "body roll", {options = {"off", "180", "360"}})
antiaim:Element("Slider", "body roll offset", {min = -180, max = 180, default = 0})
antiaim:Element("Slider", "spin speed", {min = 1, max = 69, default = 4})
antiaim:Element("Slider", "high pos", {min = -3, max = 20, default = 2})
local others = rage:Sector("others", "Right")
others:Element("Toggle", "remove head")
others:Element("Toggle", "no animations")
others:Element("Dropdown", "leg movement", {options = {"off", "slide"}})
local LagTick = 0
local fakelag = rage:Sector("fakelag", "Right")
fakelag:Element("Toggle", "enabled", {default = {Toggle = false}}, function(tbl)
if tbl.Toggle then
else
FakelagFolder:ClearAllChildren()
game:GetService("NetworkClient"):SetOutgoingKBPSLimit(9e9)
end
end)
fakelag:Element("Dropdown", "amount", {options = {"static", "dynamic"}})
fakelag:Element("Slider", "limit", {min = 1, max = 24, default = 8})
fakelag:Element("ToggleColor", "visualize lag", {default = {Toggle = false, Color = COL3RGB(255,255,255)}}, function(tbl)
if tbl.Toggle then
for _,obj in pairs(FakelagFolder:GetChildren()) do
obj.Color = tbl.Color
end
else
FakelagFolder:ClearAllChildren()
end
end)
fakelag:Element("ToggleKeybind", "ping spike")
coroutine.wrap(function()
while wait(1/16) do
LagTick = CLAMP(LagTick + 1, 0, values.rage.fakelag.limit.Slider)
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("UpperTorso") and values.rage.fakelag.enabled.Toggle then
if LagTick == (values.rage.fakelag.amount.Dropdown == "static" and values.rage.fakelag.limit.Slider or RANDOM(1, values.rage.fakelag.limit.Slider)) then
game:GetService("NetworkClient"):SetOutgoingKBPSLimit(9e9)
FakelagFolder:ClearAllChildren()
LagTick = 0
if values.rage.fakelag["visualize lag"].Toggle then
for _,hitbox in pairs(LocalPlayer.Character:GetChildren()) do
if hitbox:IsA("BasePart") and hitbox.Name ~= "HumanoidRootPart" then
local part = INST("Part")
part.CFrame = hitbox.CFrame
part.Anchored = true
part.CanCollide = false
part.Material = Enum.Material.ForceField
part.Color = values.rage.fakelag["visualize lag"].Color
part.Name = hitbox.Name
part.Transparency = 0
part.Size = hitbox.Size
part.Parent = FakelagFolder
end
end
end
else
if values.rage.fakelag.enabled.Toggle then
game:GetService("NetworkClient"):SetOutgoingKBPSLimit(1)
end
end
else
FakelagFolder:ClearAllChildren()
game:GetService("NetworkClient"):SetOutgoingKBPSLimit(9e9)
end
end
end)()
local AutoPeek = {
OldPeekPosition = CFrame.new()
}
local exploits = rage:Sector("exploits", "Left")
exploits:Element("ToggleKeybind", "double tap")
exploits:Element("ToggleKeybind", "kill all")
exploits:Element("Toggle","debris clear",{},function(tbl)
while values.rage.exploits["debris clear"].Toggle == true do
wait(1)
for i,v in pairs(workspace.Debris:GetDescendants()) do
game:GetService("ReplicatedStorage").Events.DestroyObject:FireServer(v)
end
end
end)
exploits:Element("Slider", "quick peek vertical pos", {min = 50, max = 500, default = 200})
exploits:Element("ToggleKeybind","auto peek",{},function(tbl)
if tbl.Toggle and tbl.Active and LocalPlayer.Character then
AutoPeek.OldPeekPosition = LocalPlayer.Character.HumanoidRootPart.CFrame
end
end)
exploits:Element("Toggle", "dudos enimes")
if values.rage.exploits["dudos enimes"].Toggle and values.rage.exploits["dudos enimes"].Active then
for count = 1,100,1 do
game:GetService("ReplicatedStorage").Events.RemoteEvent:FireServer({[1] = "createparticle", [2] = "bullethole", [3] = LocalPlayer.Character.Head, [4] = Vec3(0,0,0), [5] = "SurfaceGui", [8] = "oldcreatebullethole", [9] = "oldbullethole"})
end
end
OldClientFireBullet = Client.firebullet
Client.firebullet = function(...)
if values.rage.exploits["auto peek"].Toggle and values.rage.exploits["auto peek"].Active and LocalPlayer.Character then
LocalPlayer.Character.HumanoidRootPart.CFrame = AutoPeek.OldPeekPosition
end
return OldClientFireBullet(...)
end
exploits:Element("ToggleKeybind", "quick peek",{},function(tbl)
if tbl.Toggle and tbl.Active and LocalPlayer.Character and Peek == false then
Peek = true
LocalPlayer.Character.HumanoidRootPart.CFrame = LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,values.rage.exploits["quick peek vertical pos"].Slider,0)
wait(0.2)
Peek = false
LocalPlayer.Character.HumanoidRootPart.CFrame = LocalPlayer.Character.HumanoidRootPart.CFrame - Vector3.new(0,values.rage.exploits["quick peek vertical pos"].Slider,0)
elseif not tbl.Active then
Peek = false
end
end)
local players = visuals:Sector("players", "Left")
players:Element("Toggle", "teammates")
players:Element("ToggleColor", "box", {default = {Color = COL3RGB(255,255,255)}})
players:Element("ToggleColor", "name", {default = {Color = COL3RGB(255,255,255)}})
players:Element("Toggle", "health")
players:Element("ToggleColor", "weapon", {default = {Color = COL3RGB(255,255,255)}})
players:Element("ToggleColor", "weapon icon", {default = {Color = COL3RGB(255,255,255)}})
players:Element("Jumbobox", "indicators", {options = {"armor"}})
players:Element("Jumbobox", "outlines", {options = {"drawings", "text"}, default = {Jumbobox = {"drawings", "text"}}})
players:Element("Dropdown", "font", {options = {"Plex", "Monospace", "System", "UI"}})
players:Element("Slider", "size", {min = 12, max = 16, default = 13})
players:Element("ToggleTrans", "chams", {default = {Color = Color3.fromRGB(255,255,255)}}, function(tbl)
for _,Player in pairs(Players:GetPlayers()) do
if Player.Character then
for _2,Obj in pairs(Player.Character:GetDescendants()) do
if Obj.Name == "WallCham" then
if tbl.Toggle then
if values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
Obj.Visible = true
else
Obj.Visible = false
end
else
Obj.Visible = false
end
Obj.Color3 = tbl.Color
end
end
end
end
end)
players:Element("ToggleTrans", "visible chams", {default = {Color = Color3.fromRGB(255,255,255)}}, function(tbl)
for _,Player in pairs(Players:GetPlayers()) do
if Player.Character then
for _2,Obj in pairs(Player.Character:GetDescendants()) do
if Obj.Name == "VisibleCham" then
if tbl.Toggle then
if values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
Obj.Visible = true
else
Obj.Visible = false
end
else
Obj.Visible = false
end
Obj.Color3 = tbl.Color
end
end
end
end
end)
local effects = visuals:Sector("effects", "Right")
effects:Element("ToggleTrans", "weapon chams", {default = {Color = COL3RGB(255,255,255), Transparency = 0}}, function(tbl)
if WeaponObj == nil then return end
if tbl.Toggle then
for i,v in pairs(WeaponObj) do
UpdateWeapon(v)
end
else
for i,v in pairs(WeaponObj) do
if v:IsA("MeshPart") then v.TextureID = v.OriginalTexture.Value end
if v:IsA("Part") and v:FindFirstChild("Mesh") and not v:IsA("BlockMesh") then
v.Mesh.TextureId = v.Mesh.OriginalTexture.Value
v.Mesh.VertexColor = Vec3(1,1,1)
end
v.Color = v.OriginalColor.Value
v.Material = v.OriginalMaterial.Value
v.Transparency = 0
end
end
end)
effects:Element("Dropdown", "weapon material", {options = {"Smooth", "Flat", "ForceField", "Glass"}}, function(tbl)
if WeaponObj == nil then return end
if values.visuals.effects["weapon chams"].Toggle then
for i,v in pairs(WeaponObj) do
UpdateWeapon(v)
end
end
end)
effects:Element("Dropdown", "forcefield type", {options = {"normal", "pulse", "web", "swirl", "checkers", "candy cane"}})
effects:Element("Slider", "reflectance", {min = 0, max = 100, default = 0}, function(tbl)
if values.visuals.effects["weapon chams"].Toggle then
for i,v in pairs(WeaponObj) do
UpdateWeapon(v)
end
end
end)
effects:Element("ToggleTrans", "accessory chams", {default = {Color = COL3RGB(255,255,255)}}, function(val)
if RArm == nil or LArm == nil then return end
if val.Toggle then
if RGlove ~= nil then
UpdateAccessory(RGlove)
end
if RSleeve ~= nil then
UpdateAccessory(RSleeve)
end
if LGlove ~= nil then
UpdateAccessory(LGlove)
end
if LSleeve ~= nil then
UpdateAccessory(LSleeve)
end
else
if RGlove then
ReverseAccessory(RGlove)
end
if LGlove then
ReverseAccessory(LGlove)
end
if RSleeve then
ReverseAccessory(RSleeve)
end
if LSleeve then
ReverseAccessory(LSleeve)
end
end
end)
effects:Element("Dropdown", "accessory material", {options = {"Smooth","ForceField"}}, function(val)
if RArm == nil or LArm == nil then return end
if values.visuals.effects["accessory chams"].Toggle then
if RGlove ~= nil then
UpdateAccessory(RGlove)
end
if RSleeve ~= nil then
UpdateAccessory(RSleeve)
end
if LGlove ~= nil then
UpdateAccessory(LGlove)
end
if LSleeve ~= nil then
UpdateAccessory(LSleeve)
end
end
end)
effects:Element("ToggleTrans", "arm chams", {default = {Color = COL3RGB(255,255,255)}}, function(val)
if RArm == nil then return end
if LArm == nil then return end
if val.Toggle then
RArm.Color = val.Color
LArm.Color = val.Color
RArm.Transparency = val.Transparency
LArm.Transparency = val.Transparency
else
RArm.Color = RArm.Color3Value.Value
LArm.Color = RArm.Color3Value.Value
RArm.Transparency = 0
LArm.Transparency = 0
end
end)
effects:Element("Jumbobox", "removals", {options = {"scope", "scope lines", "flash", "smoke", "decals", "shadows", "clothes"}}, function(val)
local tbl = val.Jumbobox
if TBLFIND(tbl, "decals") then
Client.createbullethole = function() end
for i,v in pairs(workspace.Debris:GetChildren()) do
if v.Name == "Bullet" or v.Name == "SurfaceGui" then
v:Destroy()
end
end
else
Client.createbullethole = oldcreatebullethole
end
if TBLFIND(tbl, "clothes") then
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("UpperTorso") then
if LocalPlayer.Character:FindFirstChild("Shirt") then
LocalPlayer.Character:FindFirstChild("Shirt").ShirtTemplate = ""
end
if LocalPlayer.Character:FindFirstChild("Pants") then
LocalPlayer.Character:FindFirstChild("Pants").PantsTemplate = ""
end
end
else
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("UpperTorso") then
if LocalPlayer.Character:FindFirstChild("Shirt") then
LocalPlayer.Character:FindFirstChild("Shirt").ShirtTemplate = LocalPlayer.Character:FindFirstChild("Shirt").OriginalTexture.Value
end
if LocalPlayer.Character:FindFirstChild("Pants") then
LocalPlayer.Character:FindFirstChild("Pants").PantsTemplate = LocalPlayer.Character:FindFirstChild("Pants").OriginalTexture.Value
end
end
end
if TBLFIND(tbl, "scope") then
Crosshairs.Scope.ImageTransparency = 1
Crosshairs.Scope.Scope.ImageTransparency = 1
Crosshairs.Frame1.Transparency = 1
Crosshairs.Frame2.Transparency = 1
Crosshairs.Frame3.Transparency = 1
Crosshairs.Frame4.Transparency = 1
else
Crosshairs.Scope.ImageTransparency = 0
Crosshairs.Scope.Scope.ImageTransparency = 0
Crosshairs.Frame1.Transparency = 0
Crosshairs.Frame2.Transparency = 0
Crosshairs.Frame3.Transparency = 0
Crosshairs.Frame4.Transparency = 0
end
PlayerGui.Blnd.Enabled = not TBLFIND(tbl, "flash") and true or false
Lighting.GlobalShadows = not TBLFIND(tbl, "shadows") and true or false
if RayIgnore:FindFirstChild("Smokes") then
if TBLFIND(tbl, "smoke") then
for i,smoke in pairs(RayIgnore.Smokes:GetChildren()) do
smoke.ParticleEmitter.Rate = 0
end
else
for i,smoke in pairs(RayIgnore.Smokes:GetChildren()) do
smoke.ParticleEmitter.Rate = smoke.OriginalRate.Value
end
end
end
end)
effects:Element("Toggle", "force crosshair")
effects:Element("ToggleColor", "world color", {default = {Color = COL3RGB(255,255,255)}}, function(val)
if val.Toggle then
Camera.ColorCorrection.TintColor = val.Color
else
Camera.ColorCorrection.TintColor = COL3RGB(255,255,255)
end
end) --rip extra tints you will be missed
effects:Element("Toggle", "shadowmap technology", nil, function(val)
sethiddenproperty(Lighting, "Technology", val.Toggle and "ShadowMap" or "Legacy")
end)
effects:Element("Slider", "time changer", {min = 0, max = 15, default = 0}, function(tbl)
Lighting.ClockTime = tbl.Slider
end)
local self = visuals:Sector("self", "Right")
self:Element("ToggleKeybind", "third person", {}, function(tbl)
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
if tbl.Toggle then
if tbl.Active then
LocalPlayer.CameraMaxZoomDistance = values.visuals.self.distance.Slider
LocalPlayer.CameraMinZoomDistance = values.visuals.self.distance.Slider
LocalPlayer.CameraMaxZoomDistance = values.visuals.self.distance.Slider
LocalPlayer.CameraMinZoomDistance = values.visuals.self.distance.Slider
else
LocalPlayer.CameraMaxZoomDistance = 0
LocalPlayer.CameraMinZoomDistance = 0
LocalPlayer.CameraMaxZoomDistance = 0
LocalPlayer.CameraMinZoomDistance = 0
end
else
LocalPlayer.CameraMaxZoomDistance = 0
LocalPlayer.CameraMinZoomDistance = 0
end
end
end)
self:Element("Toggle", "no arm third person")
self:Element("Slider", "distance", {min = 6, max = 18, default = 12}, function(tbl)
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
if values.visuals.self["third person"].Toggle then
if values.visuals.self["third person"].Active then
LocalPlayer.CameraMaxZoomDistance = tbl.Slider
LocalPlayer.CameraMinZoomDistance = tbl.Slider
LocalPlayer.CameraMaxZoomDistance = tbl.Slider
LocalPlayer.CameraMinZoomDistance = tbl.Slider
else
LocalPlayer.CameraMaxZoomDistance = 0
LocalPlayer.CameraMinZoomDistance = 0
end
else
LocalPlayer.CameraMaxZoomDistance = 0
LocalPlayer.CameraMinZoomDistance = 0
end
end
end)
LocalPlayer:GetPropertyChangedSignal("CameraMinZoomDistance"):Connect(function(current)
if values.visuals.self["third person"].Toggle then
if values.visuals.self["third person"].Active then
if current ~= values.visuals.self.distance.Slider then
LocalPlayer.CameraMinZoomDistance = values.visuals.self.distance.Slider
end
end
end
end)
self:Element("Slider", "fov changer", {min = 0, max = 120, default = 80}, function(value)
RunService.RenderStepped:Wait()
if LocalPlayer.Character == nil then return end
if fov == value.Slider then return end
if values.visuals.self["on scope"].Toggle or not LocalPlayer.Character:FindFirstChild("AIMING") then
Camera.FieldOfView = value.Slider
end
end)
self:Element("Toggle", "on scope")
self:Element("Toggle", "visualize silent angles")
self:Element("Toggle", "viewmodel changer")
self:Element("Slider", "viewmodel x", {min = -180, max = 180}, function(val)
ViewmodelOffset = CFrame.new(values.visuals.self["viewmodel x"].Slider/100, values.visuals.self["viewmodel y"].Slider/100, values.visuals.self["viewmodel z"].Slider/100) * CFrame.Angles(0, 0, values.visuals.self.roll.Slider/180)
end)
self:Element("Slider", "viewmodel y", {min = -180, max = 180}, function(val)
ViewmodelOffset = CFrame.new(values.visuals.self["viewmodel x"].Slider/100, values.visuals.self["viewmodel y"].Slider/100, values.visuals.self["viewmodel z"].Slider/100) * CFrame.Angles(0, 0, values.visuals.self.roll.Slider/180)
end)
self:Element("Slider", "viewmodel z", {min = -180, max = 180}, function(val)
ViewmodelOffset = CFrame.new(values.visuals.self["viewmodel x"].Slider/100, values.visuals.self["viewmodel y"].Slider/100, values.visuals.self["viewmodel z"].Slider/100) * CFrame.Angles(0, 0, values.visuals.self.roll.Slider/180)
end)
self:Element("Slider", "roll", {min = -180, max = 180}, function(val)
ViewmodelOffset = CFrame.new(values.visuals.self["viewmodel x"].Slider/100, values.visuals.self["viewmodel y"].Slider/100, values.visuals.self["viewmodel z"].Slider/100) * CFrame.Angles(0, 0, values.visuals.self.roll.Slider/180)
end)
self:Element("ToggleColor", "self chams", {default = {Color = COL3RGB(255,255,255)}}, function(tbl)
if tbl.Toggle then
for _,obj in pairs(SelfObj) do
if obj.Parent ~= nil then
obj.Material = values.visuals.self["self chams material"].Dropdown
obj.Color = tbl.Color
end
end
else
for _,obj in pairs(SelfObj) do
if obj.Parent ~= nil then
obj.Material = obj.OriginalMaterial.Value
obj.Color = obj.OriginalColor.Value
end
end
end
end)
self:Element("Dropdown", "self chams material", {options = {"ForceField", "Neon", "Glass"}}, function(val)
if TBLFIND(val, "ForceField") then
for _,obj in pairs(SelfObj) do
if obj.Parent ~= nil then
obj.Material = Enum.Material.ForceField
obj.Color = tbl.Color
end
end
else
if TBLFIND(val, "Neon") then
for _,obj in pairs(SelfObj) do
if obj.Parent ~= nil then
obj.Material = Enum.Material.Neon
obj.Color = tbl.Color
end
end
else
if TBLFIND(val, "Glass") then
for _,obj in pairs(SelfObj) do
if obj.Parent ~= nil then
obj.Material = Enum.Material.Glass
obj.Color = tbl.Color
end
end
end
end
end
end)
self:Element("Slider", "scope blend", {min = 0, max = 100, default = 0})
local ads = Client.updateads
Client.updateads = function(self, ...)
local args = {...}
coroutine.wrap(function()
wait()
if LocalPlayer.Character ~= nil then
for _,part in pairs(LocalPlayer.Character:GetDescendants()) do
if part:IsA("Part") or part:IsA("MeshPart") then
if part.Transparency ~= 1 then
part.Transparency = LocalPlayer.Character:FindFirstChild("AIMING") and values.visuals.self["scope blend"].Slider/100 or 0
end
end
if part:IsA("Accessory") then
part.Handle.Transparency = LocalPlayer.Character:FindFirstChild("AIMING") and values.visuals.self["scope blend"].Slider/100 or 0
end
end
end
end)()
return ads(self, ...)
end
local world = visuals:Sector("world", "Left")
world:Element("ToggleColor", "bullet tracers", {default = {Color = Color3.fromRGB(0, 255, 0)}})
world:Element("ToggleColor", "impacts", {default = {Color = COL3RGB(255, 0, 0)}})
world:Element("ToggleColor", "hit chams", {default = {Color = COL3RGB(0, 0, 255)}})
world:Element("Dropdown", "hitsound", {options = {"none", "skeet", "neverlose", "rust", "bag", "baimware", "bell", "pop", "moan1", "moan2", "moan3", "moan4"}})
world:Element("Slider", "sound volume", {min = 1, max = 5, default = 3})
world:Element("Dropdown", "skybox", {options = {"none", "nebula", "vaporwave", "clouds", "Cloudy Skies", "Dark blue", "Pink Daylight", "Night", "Space", "pink vision", "animeskybox", "Alien Red", "Counter Strike City", "Dark City", "Earth", "Mountains", "Old Skybox", "Red Sky", "Red Sky", "Wasteland", "Bobux Generator", "Blue Sky", "Green Sky", "Red Sky"}}, function(tbl)
local sky = tbl.Dropdown
if sky ~= "none" then
if Lighting:FindFirstChildOfClass("Sky") then Lighting:FindFirstChildOfClass("Sky"):Destroy() end
local skybox = INST("Sky")
skybox.SkyboxLf = Skyboxes[sky].SkyboxLf
skybox.SkyboxBk = Skyboxes[sky].SkyboxBk
skybox.SkyboxDn = Skyboxes[sky].SkyboxDn
skybox.SkyboxFt = Skyboxes[sky].SkyboxFt
skybox.SkyboxRt = Skyboxes[sky].SkyboxRt
skybox.SkyboxUp = Skyboxes[sky].SkyboxUp
skybox.Name = "override"
skybox.Parent = Lighting
else
if Lighting:FindFirstChildOfClass("Sky") then Lighting:FindFirstChildOfClass("Sky"):Destroy() end
if oldSkybox ~= nil then oldSkybox:Clone().Parent = Lighting end
end
end)
world:Element("ToggleColor", "item esp", {default = {Color = COL3RGB(255, 255, 255)}}, function(tbl)
for i,weapon in pairs(workspace.Debris:GetChildren()) do
if weapon:IsA("BasePart") and Weapons:FindFirstChild(weapon.Name) then
weapon.BillboardGui.ImageLabel.Visible = tbl.Toggle and TBLFIND(values.visuals.world["types"].Jumbobox, "icon") and true or false
end
end
end)
world:Element("Jumbobox", "types", {options = {"icon"}}, function(tbl)
for i,weapon in pairs(workspace.Debris:GetChildren()) do
if weapon:IsA("BasePart") and Weapons:FindFirstChild(weapon.Name) then
weapon.BillboardGui.ImageLabel.Visible = values.visuals.world["item esp"].Toggle and TBLFIND(tbl.Jumbobox, "icon") and true or false
weapon.BillboardGui.ImageLabel.ImageColor3 = values.visuals.world["item esp"].Color
end
end
end)
local configs = misc:Sector("configs", "Left")
configs:Element("TextBox", "config", {placeholder = "config name"})
configs:Element("Button", "save", {}, function() if values.misc.configs.config.Text ~= "" then library:SaveConfig(values.misc.configs.config.Text) end end)
configs:Element("Button", "load", {}, function() if values.misc.configs.config.Text ~= "" then ConfigLoad:Fire(values.misc.configs.config.Text) end end)
configs:Element("Toggle", "keybind list", nil, function(tbl)
library:SetKeybindVisible(tbl.Toggle)
end)
configs:Element("Toggle", "spectators list", {}, function(tbl)
if tbl.Toggle then
local SpectatorsList = Instance.new("ScreenGui")
local Spectators = Instance.new("Frame")
local Container = Instance.new("Frame")
local UIPadding = Instance.new("UIPadding")
local Text = Instance.new("TextLabel")
local Players = Instance.new("TextLabel")
local Background = Instance.new("Frame")
local UIGradient = Instance.new("UIGradient")
local Color = Instance.new("Frame")
local UIGradient_2 = Instance.new("UIGradient")
SpectatorsList.Parent = game.CoreGui
SpectatorsList.Name = "SpectatorsList"
SpectatorsList.Enabled = true
Spectators.Name = "Spectators"
Spectators.Parent = SpectatorsList
Spectators.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Spectators.BackgroundTransparency = 1.000
Spectators.BorderColor3 = Color3.fromRGB(30, 115, 255)
Spectators.Position = UDim2.new(0, 1, 0.400000006, 49)
Spectators.Size = UDim2.new(0, 200, 0, 20)
Container.Name = "Container"
Container.Parent = Spectators
Container.BackgroundTransparency = 1.000
Container.BorderSizePixel = 1
Container.Position = UDim2.new(0, 0, 0, 4)
Container.Size = UDim2.new(0, 200, 0, 20)
Container.ZIndex = 3
UIPadding.Parent = Container
UIPadding.PaddingLeft = UDim.new(0, 4)
Text.Name = "Text"
Text.Parent = Container
Text.BackgroundTransparency = 1.000
Text.Position = UDim2.new(0, 0, 0, -4.1)
Text.Size = UDim2.new(0, 200, 0, 20)
Text.ZIndex = 4
Text.Font = Enum.Font.Code
Text.Text = "spectators"
Text.TextColor3 = Color3.fromRGB(255, 255, 255)
Text.TextSize = 14
Text.TextStrokeTransparency = 0.000
Players.Name = "Players"
Players.Parent = Container
Players.BackgroundTransparency = 1.000
Players.Position = UDim2.new(0.0196080022, 0, 1.09285719, 0)
Players.Size = UDim2.new(0, 200, 0, 20)
Players.ZIndex = 4
Players.Font = Enum.Font.Code
Players.Text = "loading.."
Players.TextColor3 = Color3.fromRGB(255, 255, 255)
Players.TextSize = 14.000
Players.TextStrokeTransparency = 0.000
Players.TextYAlignment = Enum.TextYAlignment.Top
Background.Name = "Background"
Background.Parent = Spectators
Background.BackgroundColor3 = Color3.fromRGB(0, 0, 0, 0)
Background.BorderColor3 = Color3.fromRGB(145, 23, 195)
Background.BorderSizePixel = 1
Background.Size = UDim2.new(0, 200, 0, 20)
function GetSpectators()
local CurrentSpectators = ""
for i,v in pairs(game.Players:GetChildren()) do
pcall(function()
if v ~= game.Players.LocalPlayer then
if not v.Character then
if (v.CameraCF.Value.p - game.Workspace.CurrentCamera.CFrame.p).Magnitude < 10 then
if CurrentSpectators == "" then
CurrentSpectators = v.Name
else
CurrentSpectators = CurrentSpectators.. "\n" ..v.Name
end
end
end
end
end)
end
return CurrentSpectators
end
spawn(function()
while wait(0.2) do
if SpectatorsList.Enabled then
Players.Text = GetSpectators()
end
end
end)
local function SCUAM_fake_script()
local script = Instance.new('LocalScript', Spectators)
local gui = script.Parent
gui.Draggable = false
gui.Active = true
end
coroutine.wrap(SCUAM_fake_script)()
game.CoreGui.SpectatorsList.Enabled = true
else
game.CoreGui.SpectatorsList.Enabled = false
end
end)
local noclip = misc:Sector("noclip", "Left")
noclip:Element("ToggleKeybind", "noclip", {}, function(tbl)
spawn(function()
while values.misc.noclip["noclip"].Toggle and values.misc.noclip["noclip"].Active do
game:GetService("RunService").Stepped:Wait()
if LocalPlayer.Character then
for i,v in pairs(LocalPlayer.Character:GetDescendants()) do
if v:IsA("BasePart") then
v.CanCollide = false
end
end
end
end
end)
end)
noclip:Element("Button", "God Mode", {}, function()
local player = game.Players.LocalPlayer
if player.Character then
if player.Character:FindFirstChild("Humanoid") then
player.Character.Humanoid.Name = "1"
end
local l = player.Character["1"]:Clone()
l.Parent = player.Character
l.Name = "Humanoid"; wait()
player.Character["1"]:Destroy()
workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
player.Character.Animate.Disabled = true; wait()
player.Character.Animate.Disabled = false
end
end)
noclip:Element("Button", "Invisible", {}, function()
pcall(function()
local oldpos = LocalPlayer.Character.HumanoidRootPart.CFrame
LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(9999,9999,9999)
local NewRoot = LocalPlayer.Character.LowerTorso.Root:Clone()
LocalPlayer.Character.LowerTorso.Root:Destroy()
NewRoot.Parent = LocalPlayer.Character.LowerTorso
wait()
LocalPlayer.Character.HumanoidRootPart.CFrame = oldpos
end)
end)
local crosshaireditor = misc:Sector("crosshair editor", "Right")
local function UpdateCrosshair()
if values.misc["crosshair editor"].enabled.Toggle then
local length = values.misc["crosshair editor"].length.Slider
Crosshair.LeftFrame.Size = UDIM2(0, length, 0, 2)
Crosshair.RightFrame.Size = UDIM2(0, length, 0, 2)
Crosshair.TopFrame.Size = UDIM2(0, 2, 0, length)
Crosshair.BottomFrame.Size = UDIM2(0, 2, 0, length)
for _,frame in pairs(Crosshair:GetChildren()) do
if FIND(frame.Name, "Frame") then
frame.BorderColor3 = COL3(0,0,0)
if values.misc["crosshair editor"].border.Toggle then
frame.BorderSizePixel = 1
else
frame.BorderSizePixel = 0
end
end
end
else
Crosshair.LeftFrame.Size = UDIM2(0, 10, 0, 2)
Crosshair.RightFrame.Size = UDIM2(0, 10, 0, 2)
Crosshair.TopFrame.Size = UDIM2(0, 2, 0, 10)
Crosshair.BottomFrame.Size = UDIM2(0, 2, 0, 10)
for _,frame in pairs(Crosshair:GetChildren()) do
if FIND(frame.Name, "Frame") then
frame.BorderSizePixel = 1
end
end
end
end
crosshaireditor:Element("Toggle", "enabled", nil, UpdateCrosshair)
crosshaireditor:Element("Slider", "length", {min = 1, max = 15, default = 10}, UpdateCrosshair)
crosshaireditor:Element("Toggle", "border", nil, UpdateCrosshair)
world:Element('Toggle', 'Killsoundtoggle')
world:Element('TextBox', 'Killsound', {placeholder = "ID HERE"})
world:Element("Toggle", "old gun sounds", nil, function(tbl)
if tbl.Toggle then
OldGunSounds = game:GetService("RunService").RenderStepped:Connect(function()
pcall(function()
local player = game:GetService("Players").LocalPlayer.Character
if player.EquippedTool.Value == "AK47" then
player.Gun.Shoot.SoundId = "rbxassetid://749519885"
end
if player.EquippedTool.Value == "M4A1" then
player.Gun.SShoot.SoundId = "rbxassetid://1665639883"
end
if player.EquippedTool.Value == "Glock" then
player.Gun.Shoot.SoundId = "rbxassetid://1665635507"
end
if player.EquippedTool.Value == "M4A1" then
player.Gun.Shoot.SoundId = "rbxassetid://223013951"
end
if player.EquippedTool.Value == "Galil" then
player.Gun.Shoot.SoundId = "rbxassetid://344800912"
end
if player.EquippedTool.Value == "USP" then
player.Gun.SShoot.SoundId = "rbxassetid://1112952739"
end
if player.EquippedTool.Value == "USP" then
player.Gun.Shoot.SoundId = "rbxassetid://1665652648"
end
if player.EquippedTool.Value == "DualBerettas" then
player.Gun1.Shoot.SoundId = "rbxassetid://251030881"
player.Gun2.Shoot.SoundId = "rbxassetid://251030881"
end
if player.EquippedTool.Value == "P250" then
player.Gun.Shoot.SoundId = "rbxassetid://340365431"
end
if player.EquippedTool.Value == "DesertEagle" then
player.Gun.Shoot.SoundId = "rbxassetid://202918645"
end
if player.EquippedTool.Value == "M249" then
player.Gun.Shoot.SoundId = "rbxassetid://193868290"
end
if player.EquippedTool.Value == "MP9" then
player.Gun.Shoot.SoundId = "rbxassetid://222888810"
end
if player.EquippedTool.Value == "MP7-SD" then
player.Gun.Shoot.SoundId = "rbxassetid://2794150850"
end
if player.EquippedTool.Value == "UMP" then
player.Gun.Shoot.SoundId = "rbxassetid://206953341"
end
if player.EquippedTool.Value == "P90" then
player.Gun.Shoot.SoundId = "rbxassetid://1665644012"
end
if player.EquippedTool.Value == "Bizon" then
player.Gun.Shoot.SoundId = "rbxassetid://485606203"
end
if player.EquippedTool.Value == "Famas" then
player.Gun.Shoot.SoundId = "rbxassetid://206953280"
end
if player.EquippedTool.Value == "Scout" then
player.Gun.Shoot.SoundId = "rbxassetid://2476571739"
player.Gun.Zoom.SoundId = "rbxassetid://2862871544"
player.Gun.Zoom.PlaybackSpeed = 1
end
if player.EquippedTool.Value == "AUG" then
player.Gun.Shoot.SoundId = "rbxassetid://1657593449"
player.Gun.Zoom.SoundId = "rbxassetid://297606725"
end
if player.EquippedTool.Value == "AWP" then
player.Gun.Shoot.SoundId = "rbxassetid://2753888131"
player.Gun.Zoom.SoundId = "rbxassetid://2862871544"
player.Gun.Zoom.PlaybackSpeed = 1
end
if player.EquippedTool.Value == "G3SG1" then
player.Gun.Shoot.SoundId = "rbxassetid://340365815"
end
if player.EquippedTool.Value == "MAC10" then
player.Gun.Shoot.SoundId = "rbxassetid://242422782"
end
if player.EquippedTool.Value == "SawedOff" then
player.Gun.Shoot.SoundId = "rbxassetid://1158047483"
end
if player.EquippedTool.Value == "CZ" then
player.Gun.Shoot.SoundId = "rbxassetid://458727115"
end
if player.EquippedTool.Value == "Nova" then
player.Gun.Shoot.SoundId = "rbxassetid://206953213"
end
if player.EquippedTool.Value == "XM" then
player.Gun.Shoot.SoundId = "rbxassetid://202918888"
end
if player.EquippedTool.Value == "MAG7" then
player.Gun.Shoot.SoundId = "rbxassetid://395724758"
end
if player.EquippedTool.Value == "Negev" then
player.Gun.Shoot.SoundId = "rbxassetid://396243767"
end
if player.EquippedTool.Value == "SG" then
player.Gun.Shoot.SoundId = "rbxassetid://347270113"
end
if player.EquippedTool.Value == "T Knife" then
player.Gun.Shoot1.SoundId = "rbxassetid://1665637464"
player.Gun.Shoot2.SoundId = "rbxassetid://1665637740"
end
if player.EquippedTool.Value == "CT Knife" then
player.Gun.Shoot1.SoundId = "rbxassetid://1665637464"
player.Gun.Shoot2.SoundId = "rbxassetid://1665637740"
end
if player.EquippedTool.Value == "M4A4" then
player.Gun.Shoot.SoundId = "rbxassetid://202918741"
end
if player.EquippedTool.Value == "FiveSevenMoment" then
player.Gun.Shoot.SoundId = "rbxassetid://212374232"
end
if player.EquippedTool.Value == "FiveSeven" then
player.Gun.Shoot.SoundId = "rbxassetid://212374232"
end
if player.EquippedTool.Value == "Tec9" then
player.Gun.Shoot.SoundId = "rbxassetid://206953317"
end
if player.EquippedTool.Value == "P2000" then
player.Gun.Shoot.SoundId = "rbxassetid://263589107"
end
if player.EquippedTool.Value == "MP7" then
player.Gun.Shoot.SoundId = "rbxassetid://2752835613"
end
end)
end)
else
OldGunSounds:Disconnect()
end
end)
local client = misc:Sector("client", "Right")
client:Element("Toggle", "infinite cash", nil, function(tbl)
if tbl.Toggle then
LocalPlayer.Cash.Value = 9999999999999
end
end)
client:Element("Toggle", "infinite crouch")
client:Element("Jumbobox", "damage bypass", {options = {"fire", "fall"}})
client:Element("Jumbobox", "gun modifiers", {options = {"recoil", "spread", "reload", "equip", "ammo", "automatic", "penetration", "kniferate", "firerate"}})
client:Element("Toggle", "remove killers", {}, function(tbl)
if tbl.Toggle then
if workspace:FindFirstChild("Map") and workspace:FindFirstChild("Map"):FindFirstChild("Killers") then
local clone = workspace:FindFirstChild("Map"):FindFirstChild("Killers"):Clone()
clone.Name = "KillersClone"
clone.Parent = workspace:FindFirstChild("Map")
workspace:FindFirstChild("Map"):FindFirstChild("Killers"):Destroy()
end
else
if workspace:FindFirstChild("Map") and workspace:FindFirstChild("Map"):FindFirstChild("KillersClone") then
workspace:FindFirstChild("Map"):FindFirstChild("KillersClone").Name = "Killers"
end
end
end)
client:Element("ToggleColor", "hitmarker", {default = {Color = COL3RGB(255,255,255)}})
client:Element("Toggle", "buy any grenade")
client:Element("Toggle", "primodial.dev watermark", {}, function(tbl)
if tbl.Toggle then
local Primodial = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local Frame_2 = Instance.new("Frame")
local UIGradient = Instance.new("UIGradient")
local TextLabel = Instance.new("TextLabel")
local ImageLabel = Instance.new("ImageLabel")
local UICorner = Instance.new("UICorner")
Primodial.Name = "Primodial"
Primodial.Parent = game.CoreGui
Primodial.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Frame.Parent = Primodial
Frame.BackgroundColor3 = Color3.fromRGB(34, 34, 34)
Frame.BackgroundTransparency = 1.000
Frame.BorderColor3 = Color3.fromRGB(34, 34, 34)
Frame.Position = UDim2.new(0.00854599476, 0, 0.236096084, 0)
Frame.Size = UDim2.new(0, 218, 0, 30)
Frame.Active = true
Frame.Draggable = true
Frame_2.Parent = Frame
Frame_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Frame_2.BorderColor3 = Color3.fromRGB(34, 34, 34)
Frame_2.BorderSizePixel = 1
Frame_2.Position = UDim2.new(0, 1, 0, 0)
Frame_2.Size = UDim2.new(0, 2, 0, 30)
UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(189, 189, 255)), ColorSequenceKeypoint.new(0.51, Color3.fromRGB(103, 204, 226)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(80, 116, 163))}
UIGradient.Parent = Frame_2
TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = Color3.fromRGB(34, 34, 34)
TextLabel.BackgroundTransparency = 0.500
TextLabel.BorderColor3 = Color3.fromRGB(34, 34, 34)
TextLabel.Position = UDim2.new(0.0219270196, 0, 0, 0)
TextLabel.Size = UDim2.new(0, 213, 0, 30)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = " primodial - GoldenKennyS"
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.TextSize = 14.000
TextLabel.TextStrokeTransparency = 0.000
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
ImageLabel.Parent = Frame
ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Position = UDim2.new(0.0280000009, 0, 0, 0)
ImageLabel.Size = UDim2.new(0, 30, 0, 30)
ImageLabel.Image = "rbxasset://textures/ui/GuiImagePlaceholder.png"
UICorner.CornerRadius = UDim.new(2, 0)
UICorner.Parent = ImageLabel
-- Scripts:
local function YDQUIX_fake_script() -- TextLabel.LocalScript
local script = Instance.new('LocalScript', TextLabel)
local plr = game.Players.LocalPlayer
if plr then
script.Parent.Text = " Supremacy.cc 1.2 - "..plr.Name..""
end
end
coroutine.wrap(YDQUIX_fake_script)()
local function CMCHWI_fake_script() -- Frame.LocalScript
local script = Instance.new('LocalScript', Frame)
local gui = script.Parent
gui.Draggable = true
gui.Active = true
end
coroutine.wrap(CMCHWI_fake_script)()
local function HRCOFO_fake_script() -- ImageLabel.LocalScript
local script = Instance.new('LocalScript', ImageLabel)
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local userId = player.UserId
local thumbType = Enum.ThumbnailType.HeadShot
local thumbSize = Enum.ThumbnailSize.Size420x420
local content, isReady = Players:GetUserThumbnailAsync(userId, thumbType, thumbSize)
local imageLabel = script.Parent
imageLabel.Image = content
end
coroutine.wrap(HRCOFO_fake_script)()
else
game.CoreGui.Primodial:Destroy()
end
end)
client:Element("Toggle", "skeet.idb watermark", {}, function(tbl)
if tbl.Toggle then
local idb = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local TextLabel_2 = Instance.new("TextLabel")
local TextLabel_3 = Instance.new("TextLabel")
local TextLabel_4 = Instance.new("TextLabel")
local TextLabel_5 = Instance.new("TextLabel")
local TextLabel_6 = Instance.new("TextLabel")
local TextLabel_7 = Instance.new("TextLabel")
local TextLabel_8 = Instance.new("TextLabel")
local Frame_2 = Instance.new("Frame")
idb.Name = "idb"
idb.Parent = game.CoreGui
idb.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
Frame.Parent = idb
Frame.BackgroundColor3 = Color3.fromRGB(5, 7, 24)
Frame.BackgroundTransparency = 0.200
Frame.Position = UDim2.new(0.722871194, 0, 0.000093, 0)
Frame.Size = UDim2.new(0, 368, 0, 25)
TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Size = UDim2.new(0, 143, 0, 25)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = "Supremacy.cc 1.2 "
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.TextSize = 14.000
TextLabel.TextStrokeTransparency = 0.000
TextLabel_2.Parent = Frame
TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_2.BackgroundTransparency = 1.000
TextLabel_2.Position = UDim2.new(0.387848258, 0, 0, 0)
TextLabel_2.Size = UDim2.new(0, 0, 0, 25)
TextLabel_2.Font = Enum.Font.Code
TextLabel_2.Text = "|"
TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_2.TextSize = 14.000
TextLabel_2.TextStrokeTransparency = 0.000
TextLabel_3.Parent = Frame
TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_3.BackgroundTransparency = 1.000
TextLabel_3.Position = UDim2.new(0.512347817, 0, 0, 0)
TextLabel_3.Size = UDim2.new(0, 43, 0, 25)
TextLabel_3.Font = Enum.Font.Code
TextLabel_3.Text = "125ms"
TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_3.TextSize = 14.000
TextLabel_3.TextStrokeTransparency = 0.000
TextLabel_4.Parent = Frame
TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_4.BackgroundTransparency = 1.000
TextLabel_4.Position = UDim2.new(0.387848258, 0, 0, 0)
TextLabel_4.Size = UDim2.new(0, 57, 0, 25)
TextLabel_4.Font = Enum.Font.Code
TextLabel_4.Text = "delay:"
TextLabel_4.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_4.TextSize = 14.000
TextLabel_4.TextStrokeTransparency = 0.000
TextLabel_5.Parent = Frame
TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_5.BackgroundTransparency = 1.000
TextLabel_5.Position = UDim2.new(0.631331861, 0, 0, 0)
TextLabel_5.Size = UDim2.new(0, 0, 0, 25)
TextLabel_5.Font = Enum.Font.Code
TextLabel_5.Text = "|"
TextLabel_5.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_5.TextSize = 14.000
TextLabel_5.TextStrokeTransparency = 0.000
TextLabel_6.Parent = Frame
TextLabel_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_6.BackgroundTransparency = 1.000
TextLabel_6.Position = UDim2.new(0.631331801, 0, 0, 0)
TextLabel_6.Size = UDim2.new(0, 68, 0, 25)
TextLabel_6.Font = Enum.Font.Code
TextLabel_6.Text = "tick: 64"
TextLabel_6.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_6.TextSize = 14.000
TextLabel_6.TextStrokeTransparency = 0.000
TextLabel_7.Parent = Frame
TextLabel_7.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_7.BackgroundTransparency = 1.000
TextLabel_7.Position = UDim2.new(0.815402091, 0, 0, 0)
TextLabel_7.Size = UDim2.new(0, 0, 0, 25)
TextLabel_7.Font = Enum.Font.Code
TextLabel_7.Text = "|"
TextLabel_7.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_7.TextSize = 14.000
TextLabel_7.TextStrokeTransparency = 0.000
TextLabel_8.Parent = Frame
TextLabel_8.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_8.BackgroundTransparency = 1.000
TextLabel_8.Position = UDim2.new(0.814664185, 0, 0, 0)
TextLabel_8.Size = UDim2.new(0, 70, 0, 25)
TextLabel_8.Font = Enum.Font.Code
TextLabel_8.Text = "00:00:00"
TextLabel_8.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_8.TextSize = 14.000
TextLabel_8.TextStrokeTransparency = 0.000
Frame_2.Parent = Frame
Frame_2.BackgroundColor3 = Color3.fromRGB(97, 59, 227)
Frame_2.BackgroundTransparency = 0.100
Frame_2.BorderColor3 = Color3.fromRGB(97, 59, 227)
Frame_2.Size = UDim2.new(0, 368, 0, 0)
-- Scripts:
local function HEZXMO_fake_script() -- TextLabel_3.LocalScript
local script = Instance.new('LocalScript', TextLabel_3)
function GetPing()
local Ping = 300-((1/wait())*10)
if Ping < 1 then
Ping = 1
end
return math.floor(Ping)
end
while wait() do
script.Parent.Text = GetPing().. "ms"
end
end
coroutine.wrap(HEZXMO_fake_script)()
local function FOZJBN_fake_script() -- TextLabel_8.LocalScript
local script = Instance.new('LocalScript', TextLabel_8)
local mo = "A.M."
local mont = nil
while wait() do
local l = math.fmod(tick(),86400)
local h = math.floor(l/3600)
local m = math.floor(l/60-h*60)
local s = math.floor(math.fmod(l,60))
local y = math.floor(1970+tick()/31579200)
local mon = {{"January",31,31},{"February",59,28},{"March",90,31},{"April",120,30},{"May",151,31},{"June",181,30},{"July",212,31},{"August",243,31},{"September",273,30},{"October",304,31},{"November",334,30},{"December",365,31}}
if y%4 == 0 then
mon[2][3] = 29
for i,v in pairs(mon) do
if i ~= 1 then
v[2] = v[2] + 1
end
end
end
local d = math.floor(tick()/86400%365.25+1)
for i,v in pairs(mon) do
if v[2]-v[3]<=d then
mont = i
end
end
d = d + mon[mont][3]-mon[mont][2]
if m <= 9 then
m = "0" ..m
end
if s <= 9 then
s = "0" ..s
end
if h >= 12 then
mo = "P.M."
else
mo = "A.M."
end
if h > 12 then
h = h - 12
end
script.Parent.Text = h.. ":" ..m.. ":" ..s
end
end
coroutine.wrap(FOZJBN_fake_script)()
local function KYFH_fake_script() -- Frame.LocalScript
local script = Instance.new('LocalScript', Frame)
local gui = script.Parent
gui.Draggable = true
gui.Active = true
end
coroutine.wrap(KYFH_fake_script)()
else
game.CoreGui.idb:Destroy()
end
end)
client:Element("Toggle", "watermark", {}, function(tbl)
if tbl.Toggle then
local ScreenGui = Instance.new("ScreenGui")
local drag = Instance.new("Frame")
local time = Instance.new("TextLabel")
local name = Instance.new("TextLabel")
local date = Instance.new("TextLabel")
local TextLabel = Instance.new("TextLabel")
local Frame = Instance.new("Frame")
local Frame_2 = Instance.new("Frame")
local Frame_3 = Instance.new("Frame")
local Frame_4 = Instance.new("Frame")
ScreenGui.Parent = game.CoreGui
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
ScreenGui.Name = "water"
drag.Name = "drag"
drag.Parent = ScreenGui
drag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
drag.BackgroundTransparency = 1.000
drag.Position = UDim2.new(0.359773636, 0, 0.975615144, 0)
drag.Size = UDim2.new(0, 520, 0, 22)
drag.Active = true
drag.Draggable = true
time.Name = "time"
time.Parent = drag
time.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
time.BackgroundTransparency = 1.000
time.Position = UDim2.new(0.755603075, 0, -0.0814277381, 0)
time.Size = UDim2.new(0, 130, 0, 21)
time.Font = Enum.Font.Code
time.Text = "00:00:00"
time.TextColor3 = Color3.fromRGB(255, 255, 255)
time.TextSize = 14.750
time.TextStrokeTransparency = 0.000
name.Name = "name"
name.Parent = drag
name.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
name.BackgroundTransparency = 1.000
name.Position = UDim2.new(0.264692307, 0, -0.00927262008, 0)
name.Size = UDim2.new(0, 110, 0, 16)
name.Font = Enum.Font.Code
name.Text = "goldenkennys"
name.TextColor3 = Color3.fromRGB(255, 255, 255)
name.TextScaled = true
name.TextSize = 14.750
name.TextStrokeTransparency = 0.000
name.TextWrapped = true
date.Name = "date"
date.Parent = drag
date.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
date.BackgroundTransparency = 1.000
date.Position = UDim2.new(0.494164765, 0, -0.0814277381, 0)
date.Size = UDim2.new(0, 130, 0, 21)
date.Font = Enum.Font.Code
date.Text = "December 10, 2021"
date.TextColor3 = Color3.fromRGB(255, 255, 255)
date.TextSize = 14.750
date.TextStrokeTransparency = 0.000
TextLabel.Parent = drag
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.BackgroundTransparency = 1.000
TextLabel.Position = UDim2.new(-0.00499947369, 0, -0.0814277381, 0)
TextLabel.Size = UDim2.new(0, 130, 0, 21)
TextLabel.Font = Enum.Font.Code
TextLabel.Text = "Supremacy.cc 1.2 c"
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel.TextSize = 14.750
TextLabel.TextStrokeTransparency = 0.000
Frame.Parent = drag
Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
Frame.Position = UDim2.new(0.755447805, 0, 0.01192303, 0)
Frame.Size = UDim2.new(0, 1, 0, 15)
Frame_2.Parent = drag
Frame_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Frame_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
Frame_2.Position = UDim2.new(0.241886094, 0, 0.01192303, 0)
Frame_2.Size = UDim2.new(0, 1, 0, 15)
Frame_3.Parent = drag
Frame_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Frame_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
Frame_3.Position = UDim2.new(-0.00152567029, 0, 0.853430092, 0)
Frame_3.Size = UDim2.new(0, 519, 0, 1)
Frame_4.Parent = drag
Frame_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Frame_4.BorderColor3 = Color3.fromRGB(0, 0, 0)
Frame_4.Position = UDim2.new(0.492721796, 0, 0.01192303, 0)
Frame_4.Size = UDim2.new(0, 1, 0, 15)
local function UQHM_fake_script() -- Text.LocalScript
local script = Instance.new('LocalScript', date)
local mo = "A.M."
local mont = nil
while wait() do
local l = math.fmod(tick(),86400)
local h = math.floor(l/3600)
local m = math.floor(l/60-h*60)
local s = math.floor(math.fmod(l,60))
local y = math.floor(1970+tick()/31579200)
local mon = {{"January",31,31},{"February",59,28},{"March",90,31},{"April",120,30},{"May",151,31},{"June",181,30},{"July",212,31},{"August",243,31},{"September",273,30},{"October",304,31},{"November",334,30},{"December",365,31}}
if y%4 == 0 then
mon[2][3] = 29
for i,v in pairs(mon) do
if i ~= 1 then
v[2] = v[2] + 1
end
end
end
local d = math.floor(tick()/86400%365.25+1)
for i,v in pairs(mon) do
if v[2]-v[3]<=d then
mont = i
end
end
d = d + mon[mont][3]-mon[mont][2]
if m <= 9 then
m = "0" ..m
end
if s <= 9 then
s = "0" ..s
end
if h >= 12 then
mo = "P.M."
else
mo = "A.M."
end
if h > 12 then
h = h - 12
end
script.Parent.Text = "" ..mon[mont][1].. " " ..d.. " " ..y
end
end
coroutine.wrap(UQHM_fake_script)()
local function ZBZX_fake_script() -- Time.LocalScript
local script = Instance.new('LocalScript', time)
local mo = "A.M."
local mont = nil
while wait() do
local l = math.fmod(tick(),86400)
local h = math.floor(l/3600)
local m = math.floor(l/60-h*60)
local s = math.floor(math.fmod(l,60))
local y = math.floor(1970+tick()/31579200)
local mon = {{"January",31,31},{"February",59,28},{"March",90,31},{"April",120,30},{"May",151,31},{"June",181,30},{"July",212,31},{"August",243,31},{"September",273,30},{"October",304,31},{"November",334,30},{"December",365,31}}
if y%4 == 0 then
mon[2][3] = 29
for i,v in pairs(mon) do
if i ~= 1 then
v[2] = v[2] + 1
end
end
end
local d = math.floor(tick()/86400%365.25+1)
for i,v in pairs(mon) do
if v[2]-v[3]<=d then
mont = i
end
end
d = d + mon[mont][3]-mon[mont][2]
if m <= 9 then
m = "0" ..m
end
if s <= 9 then
s = "0" ..s
end
if h >= 12 then
mo = "P.M."
else
mo = "A.M."
end
if h > 12 then
h = h - 12
end
script.Parent.Text = "" ..h.. ":" ..m.. ":" ..s.. " "
end
end
coroutine.wrap(ZBZX_fake_script)()
local function IPHCOC_fake_script() -- welcome.LocalScript
local script = Instance.new('LocalScript', name)
local plr = game.Players.LocalPlayer
script.Parent.Text = ""..plr.Name..""
end
coroutine.wrap(IPHCOC_fake_script)()
local function QQXIOK_fake_script() -- ScreenLabel.LocalScript
local script = Instance.new('LocalScript', drag)
local gui = script.Parent
gui.Draggable = true
gui.Active = true
end
coroutine.wrap(QQXIOK_fake_script)()
else
game.CoreGui.water:Destroy()
end
end)
client:Element("Toggle", "keystrokes", {}, function(tbl)
if tbl.Toggle then
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local W = Instance.new("TextLabel")
local S = Instance.new("TextLabel")
local A = Instance.new("TextLabel")
local D = Instance.new("TextLabel")
local E = Instance.new("TextLabel")
local R = Instance.new("TextLabel")
ScreenGui.Parent = game.CoreGui
ScreenGui.Name = "keystrokess"
Frame.Parent = game.CoreGui.keystrokess
Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Frame.BackgroundTransparency = 1.000
Frame.Position = UDim2.new(0.453987718, 0, 0.738977075, 0)
Frame.Size = UDim2.new(0, 72, 0, 75)
W.Name = "W"
W.Parent = Frame
W.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
W.BackgroundTransparency = 1.000
W.Position = UDim2.new(0.287764132, 0, -0.0102292299, 0)
W.Size = UDim2.new(0, 29, 0, 28)
W.Font = Enum.Font.Code
W.Text = "_"
W.TextColor3 = Color3.fromRGB(255, 255, 255)
W.TextSize = 14.000
W.TextStrokeTransparency = 0.000
S.Name = "S"
S.Parent = Frame
S.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
S.BackgroundTransparency = 1.000
S.Position = UDim2.new(0.287764132, 0, 0.35915342, 0)
S.Size = UDim2.new(0, 29, 0, 28)
S.Font = Enum.Font.Code
S.Text = "_"
S.TextColor3 = Color3.fromRGB(255, 255, 255)
S.TextSize = 14.000
S.TextStrokeTransparency = 0.000
A.Name = "A"
A.Parent = Frame
A.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
A.BackgroundTransparency = 1.000
A.Position = UDim2.new(-0.0950409099, 0, 0.35915345, 0)
A.Size = UDim2.new(0, 29, 0, 28)
A.Font = Enum.Font.Code
A.Text = "_"
A.TextColor3 = Color3.fromRGB(255, 255, 255)
A.TextSize = 14.000
A.TextStrokeTransparency = 0.000
D.Name = "D"
D.Parent = Frame
D.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
D.BackgroundTransparency = 1.000
D.Position = UDim2.new(0.684458077, 0, 0.35915342, 0)
D.Size = UDim2.new(0, 29, 0, 28)
D.Font = Enum.Font.Code
D.Text = "_"
D.TextColor3 = Color3.fromRGB(255, 255, 255)
D.TextSize = 14.000
D.TextStrokeTransparency = 0.000
E.Name = "E"
E.Parent = Frame
E.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
E.BackgroundTransparency = 1.000
E.Position = UDim2.new(-0.0950409099, 0, -0.0102293491, 0)
E.Size = UDim2.new(0, 29, 0, 28)
E.Font = Enum.Font.Code
E.Text = "_"
E.TextColor3 = Color3.fromRGB(255, 255, 255)
E.TextSize = 14.000
E.TextStrokeTransparency = 0.000
R.Name = "R"
R.Parent = Frame
R.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
R.BackgroundTransparency = 1.000
R.Position = UDim2.new(0.683231115, 0, -0.0102292895, 0)
R.Size = UDim2.new(0, 29, 0, 28)
R.Font = Enum.Font.Code
R.Text = "_"
R.TextColor3 = Color3.fromRGB(255, 255, 255)
R.TextSize = 14.000
R.TextStrokeTransparency = 0.000
-- Scripts:
local function SJBA_fake_script() -- Frame.LocalScript
local script = Instance.new('LocalScript', Frame)
local gui = script.Parent
gui.Draggable = true
gui.Active = true
end
coroutine.wrap(SJBA_fake_script)()
local function UTCCBQ_fake_script() -- Frame.LocalScript
local script = Instance.new('LocalScript', Frame)
local UIS = game:GetService("UserInputService")
local W = script.Parent.W
local A = script.Parent.A
local S = script.Parent.S
local D = script.Parent.D
local E = script.Parent.E
local R = script.Parent.R
UIS.InputBegan:Connect(function(key)
if key.KeyCode == Enum.KeyCode.W then
W.Text = "W"
elseif key.KeyCode == Enum.KeyCode.A then
A.Text = "A"
elseif key.KeyCode == Enum.KeyCode.S then
S.Text = "S"
elseif key.KeyCode == Enum.KeyCode.D then
D.Text = "D"
elseif key.KeyCode == Enum.KeyCode.Space then
E.Text = "J"
elseif key.KeyCode == Enum.KeyCode.LeftControl then
R.Text = "C"
end
end)
UIS.InputEnded:Connect(function(key)
if key.KeyCode == Enum.KeyCode.W then
W.Text = "_"
elseif key.KeyCode == Enum.KeyCode.A then
A.Text = "_"
elseif key.KeyCode == Enum.KeyCode.S then
S.Text = "_"
elseif key.KeyCode == Enum.KeyCode.D then
D.Text = "_"
elseif key.KeyCode == Enum.KeyCode.Space then
E.Text = "_"
elseif key.KeyCode == Enum.KeyCode.LeftControl then
R.Text = "_"
end
end)
end
coroutine.wrap(UTCCBQ_fake_script)()
else
game.CoreGui.keystrokess:Destroy()
end
end)
client:Element("Toggle", "chat alive")
client:Element("Jumbobox", "shop", {options = {"inf time", "anywhere"}})
client:Element("Toggle", "anti spectate")
local oldgrenadeallowed = Client.grenadeallowed
Client.grenadeallowed = function(...)
if values.misc.client["buy any grenade"].Toggle then
return true
end
return oldgrenadeallowed(...)
end
local movement = misc:Sector("movement", "Left")
movement:Element("Toggle", "bunny hop")
movement:Element("Dropdown", "direction", {options = {"forward", "directional", "directional 2"}})
movement:Element("Dropdown", "type", {options = {"gyro", "cframe"}})
movement:Element("Dropdown", "gyro type", {options = {"bypass exploits", "old"}})
movement:Element("Slider", "speed", {min = 15, max = 450, default = 40})
movement:Element("ToggleKeybind", "hrpclip", {}, function(tbl)
if tbl.Toggle and tbl.Active then
LocalPlayer.Character.HumanoidRootPart.Anchored = true
else
LocalPlayer.Character.HumanoidRootPart.Anchored = false
end
end)
movement:Element("ToggleKeybind", "jump bug")
movement:Element("ToggleKeybind", "edge jump")
movement:Element("ToggleKeybind", "edge bug")
local chat = misc:Sector("chat", "Left")
chat:Element("Toggle", "chat spam", nil, function(tbl)
if tbl.Toggle then
while values.misc.chat["chat spam"].Toggle do
if values.misc.chat.type.Dropdown == "Effort" then --made by me $$$
wait(values.misc.chat["speed (ms)"].Slider/1000)
local A_1 = chatmessages_effort[math.random(1,table.getn(chatmessages_effort))]
local A_2 = false
local A_3 = "Innocent"
local A_4 = false
local A_5 = false
local Event = game:GetService("ReplicatedStorage").Events.PlayerChatted
Event:FireServer(A_1, A_2, A_3, A_4, A_5)
end
if values.misc.chat.type.Dropdown == "VoidClient" then --made by me $$$
wait(values.misc.chat["speed (ms)"].Slider/1000)
local A_1 = chatmessages_VoidClient[math.random(1,table.getn(chatmessages_VoidClient))]
local A_2 = false
local A_3 = "Innocent"
local A_4 = false
local A_5 = false
local Event = game:GetService("ReplicatedStorage").Events.PlayerChatted
Event:FireServer(A_1, A_2, A_3, A_4, A_5)
else
if values.misc.chat.type.Dropdown == "Flirt" then --made by me $$$
wait(values.misc.chat["speed (ms)"].Slider/1000)
local A_1 = chatmessages_Flirt[math.random(1,table.getn(chatmessages_Flirt))]
local A_2 = false
local A_3 = "Innocent"
local A_4 = false
local A_5 = false
local Event = game:GetService("ReplicatedStorage").Events.PlayerChatted
Event:FireServer(A_1, A_2, A_3, A_4, A_5)
end
end
end
end
end)
chat:Element("Dropdown", "type", {options = {"Effort", "MudWare", "Flirt"}})
chat:Element("Slider", "speed (ms)", {min = 1000, max = 3000, default = 2000})
chat:Element("Toggle", "kill say")
chat:Element("Toggle", "bloxsense kill say")
chat:Element("Toggle", "flirt kill say")
chat:Element("TextBox", "message", {placeholder = "message"})
chat:Element("Toggle", "no filter")
local grenades = misc:Sector("grenades", "Right")
grenades:Element("ToggleKeybind", "ping exploit", {Type = "Toggle", Key = "T"}, function(tbl)
spawn(function()
while values.misc.grenades["ping exploit"].Toggle and values.misc.grenades["ping exploit"].Active do
pcall(function()
game:GetService("RunService").RenderStepped:Wait()
for i = 1,values.misc.grenades["ping limit"].Slider,1 do
game:GetService("ReplicatedStorage").Events.DropMag:FireServer(LocalPlayer.Character.Gun.Mag)
for i,v in pairs(workspace["Ray_Ignore"]:GetChildren()) do
if v.Name == "MagDrop" then
v:Destroy()
end
end
end
end)
end
end)
end)
grenades:Element("Slider", "ping limit", {min = 1, max = 5, default = 2})
grenades:Element("Toggle", "anti-ping", {}, function(tbl)
spawn(function()
while values.misc.grenades["anti-ping"].Toggle do
pcall(function()
game:GetService("RunService").RenderStepped:Wait()
for i,v in pairs(workspace["Ray_Ignore"]:GetChildren()) do
if v.Name == "MagDrop" then
v:Destroy()
end
end
end)
end
end)
end)
grenades:Element("ToggleKeybind", "spam grenades")
coroutine.wrap(function()
while true do
wait(0.5)
if values.misc.grenades["spam grenades"].Toggle and values.misc.grenades["spam grenades"].Active then
local oh1 = game:GetService("ReplicatedStorage").Weapons[values.misc.grenades.grenade.Dropdown].Model
local oh3 = 25
local oh4 = 35
local oh6 = ""
local oh7 = ""
game:GetService("ReplicatedStorage").Events.ThrowGrenade:FireServer(oh1, nil, oh3, oh4, Vec3(0,-100,0), oh6, oh7)
end
end
end)()
grenades:Element("Dropdown", "grenade", {options = {"Flashbang", "Smoke Grenade", "Molotov", "HE Grenade", "Decoy Grenade"}})
local Dance = INST("Animation")
Dance.AnimationId = "rbxassetid://5917459365"
local LoadedAnim
local animations = misc:Sector("animations", "Right")
animations:Element("ToggleKeybind", "enabled", nil, function(tbl)
pcall(function()
LoadedAnim:Stop()
end)
if not tbl.Toggle or tbl.Toggle and not tbl.Active then
else
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
LoadedAnim = LocalPlayer.Character.Humanoid:LoadAnimation(Dance)
LoadedAnim.Priority = Enum.AnimationPriority.Action
LoadedAnim:Play()
end
end
end)
animations:Element("Dropdown", "animation", {options = {"Default", "Floss", "head spin", "air anti aim", "dolphin", "not my fault", "Sit", "T"}}, function(tbl)
Dance.AnimationId = tbl.Dropdown == "Default" and "rbxassetid://3732699835" or tbl.Dropdown == "Floss" and "rbxassetid://5917459365" or tbl.Dropdown == "head spin" and "rbxassetid://3361426436" or tbl.Dropdown == "air anti aim" and "rbxassetid://4555782893" or tbl.Dropdown == "dolphin" and "rbxassetid://5918726674" or tbl.Dropdown == "not my fault" and "rbxassetid://6797891807" or tbl.Dropdown == "Sit" and "rbxassetid://507768133" or tbl.Dropdown == "T" and "rbxassetid://3338010159"
if Dance.AnimationId == "rbxassetid://3361426436" or "rbxassetid://3338010159" then
Dance.loop = true
else
Dance.loop = false
end
pcall(function()
LoadedAnim:Stop()
end)
if values.misc.animations.enabled.Toggle and values.misc.animations.enabled.Active then
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
LoadedAnim = LocalPlayer.Character.Humanoid:LoadAnimation(Dance)
LoadedAnim.Priority = Enum.AnimationPriority.Action
LoadedAnim:Play()
end
end
end)
local MX_ONHIT = Instance.new("ScreenGui")
local OnHitFrame = Instance.new("Frame")
local UIListLayout = Instance.new("UIListLayout")
local SampleLabel = Instance.new("TextLabel")
MX_ONHIT.Name = "MX_ONHIT"
MX_ONHIT.Parent = game.CoreGui
MX_ONHIT.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
OnHitFrame.Parent = MX_ONHIT
OnHitFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
OnHitFrame.BackgroundTransparency = 1.000
OnHitFrame.Position = UDim2.new(1, -300, 0, 0)
OnHitFrame.Size = UDim2.new(0, 300, 0, 500)
UIListLayout.Parent = OnHitFrame
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
SampleLabel.Name = "SampleLabel"
SampleLabel.Parent = OnHitFrame
SampleLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
SampleLabel.BackgroundTransparency = 1.000
SampleLabel.BorderSizePixel = 1
SampleLabel.Size = UDim2.new(1, 0, 0, 18)
SampleLabel.Font = Enum.Font.SourceSansLight
SampleLabel.Text = "Hit SamplePlayer in HeadHB "
SampleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
SampleLabel.TextSize = 16.000
SampleLabel.TextStrokeTransparency = 0.000
SampleLabel.TextTransparency = 1.000
SampleLabel.TextXAlignment = Enum.TextXAlignment.Right
local function CreateHitElement(text,col)
spawn(function()
local Label = SampleLabel:Clone()
Label.Text = text
Label.Parent = MX_ONHIT.Frame
Label.TextTransparency = 0
Label.TextColor3 = col
wait(5)
Label:Destroy()
end)
end
local objects = {}
local utility = {}
do
utility.default = {
Line = {
Thickness = 1.5,
Color = COL3RGB(255, 255, 255),
Visible = false
},
Text = {
Size = 13,
Center = true,
Outline = true,
Font = Drawing.Fonts.Plex,
Color = COL3RGB(255, 255, 255),
Visible = false
},
Square = {
Thickness = 1.5,
Filled = false,
Color = COL3RGB(255, 255, 255),
Visible = false
},
}
function utility.create(type, isOutline)
local drawing = Drawing.new(type)
for i, v in pairs(utility.default[type]) do
drawing[i] = v
end
if isOutline then
drawing.Color = COL3(0,0,0)
drawing.Thickness = 3
end
return drawing
end
function utility.add(plr)
if not objects[plr] then
objects[plr] = {
Name = utility.create("Text"),
Weapon = utility.create("Text"),
Armor = utility.create("Text"),
BoxOutline = utility.create("Square", true),
Box = utility.create("Square"),
HealthOutline = utility.create("Line", true),
Health = utility.create("Line"),
}
end
end
for _,plr in pairs(Players:GetPlayers()) do
if Player ~= LocalPlayer then
utility.add(plr)
end
end
Players.PlayerAdded:Connect(utility.add)
Players.PlayerRemoving:Connect(function(plr)
wait()
if objects[plr] then
for i,v in pairs(objects[plr]) do
if type(v) == "userdata" then
v:Remove()
else
for i2,v2 in pairs(v) do
if v then
v:Remove()
end
end
end
end
objects[plr] = nil
end
end)
end
local Items = INST("ScreenGui")
Items.Name = "Items"
Items.Parent = game.CoreGui
Items.ResetOnSpawn = false
Items.ZIndexBehavior = "Global"
do
function add(plr)
local ImageLabel = INST("ImageLabel")
ImageLabel.BackgroundColor3 = COL3RGB(255, 255, 255)
ImageLabel.BackgroundTransparency = 1.000
ImageLabel.Size = UDIM2(0, 62, 0, 25)
ImageLabel.Visible = false
ImageLabel.Image = "rbxassetid://1784884358"
ImageLabel.ScaleType = Enum.ScaleType.Fit
ImageLabel.Name = plr.Name
ImageLabel.AnchorPoint = Vec2(0.5,0.5)
ImageLabel.Parent = Items
end
for _,plr in pairs(Players:GetPlayers()) do
if Player ~= LocalPlayer then
add(plr)
end
end
Players.PlayerAdded:Connect(add)
Players.PlayerRemoving:Connect(function(plr)
wait()
Items[plr.Name]:Destroy()
end)
end
local debrisitems = {}
workspace.Debris.ChildAdded:Connect(function(obj)
if obj:IsA("BasePart") and Weapons:FindFirstChild(obj.Name) then
RunService.RenderStepped:Wait()
local BillboardGui = INST("BillboardGui")
BillboardGui.AlwaysOnTop = true
BillboardGui.Size = UDIM2(0, 40, 0, 40)
BillboardGui.Adornee = obj
local ImageLabel = INST("ImageLabel")
ImageLabel.Parent = BillboardGui
ImageLabel.BackgroundTransparency = 1
ImageLabel.Size = UDIM2(1, 0, 1, 0)
ImageLabel.ImageColor3 = values.visuals.world["item esp"].Color
ImageLabel.Image = GetIcon.getWeaponOfKiller(obj.Name)
ImageLabel.ScaleType = Enum.ScaleType.Fit
ImageLabel.Visible = values.visuals.world["item esp"].Toggle and TBLFIND(values.visuals.world["types"].Jumbobox, "icon") and true or false
BillboardGui.Parent = obj
end
end)
for _, obj in pairs(workspace.Debris:GetChildren()) do
if obj:IsA("BasePart") and Weapons:FindFirstChild(obj.Name) then
RunService.RenderStepped:Wait()
local BillboardGui = INST("BillboardGui")
BillboardGui.AlwaysOnTop = true
BillboardGui.Size = UDIM2(0, 40, 0, 40)
BillboardGui.Adornee = obj
local ImageLabel = INST("ImageLabel")
ImageLabel.Parent = BillboardGui
ImageLabel.BackgroundTransparency = 1
ImageLabel.Size = UDIM2(1, 0, 1, 0)
ImageLabel.ImageColor3 = values.visuals.world["item esp"].Color
ImageLabel.Image = GetIcon.getWeaponOfKiller(obj.Name)
ImageLabel.ScaleType = Enum.ScaleType.Fit
ImageLabel.Visible = values.visuals.world["item esp"].Toggle and TBLFIND(values.visuals.world["types"].Jumbobox, "icon") and true or false
BillboardGui.Parent = obj
end
end
local function YROTATION(cframe)
local x, y, z = cframe:ToOrientation()
return CF(cframe.Position) * CFAngles(0,y,0)
end
local function XYROTATION(cframe)
local x, y, z = cframe:ToOrientation()
return CF(cframe.Position) * CFAngles(x,y,0)
end
local weps = {
Pistol = {"USP", "P2000", "Glock", "DualBerettas", "P250", "FiveSeven", "Tec9", "CZ", "DesertEagle", "R8"},
SMG = {"MP9", "MAC10", "MP7", "UMP", "P90", "Bizon"},
Rifle = {"M4A4", "M4A1", "AK47", "Famas", "Galil", "AUG", "SG"},
Sniper = {"AWP", "Scout", "G3SG1"}
}
local weps2 = {
Pistol = {"USP", "P2000", "Glock", "DualBerettas", "P250", "FiveSeven", "Tec9", "CZ", "DesertEagle", "R8"},
SMG = {"MP9", "MAC10", "MP7", "UMP", "P90", "Bizon"},
Rifle = {"M4A4", "M4A1", "AK47", "Famas", "Galil", "AUG", "SG"},
Sniper = {"AWP", "Scout", "G3SG1"}
}
local function GetWeaponRage(weapon)
return TBLFIND(weps.Pistol, weapon) and "pistol" or TBLFIND(weps.Rifle, weapon) and "rifle" or weapon == "AWP" and "awp" or weapon == "G3SG1" and "auto" or weapon == "Scout" and "scout" or "default"
end
local function GetStatsRage(weapon)
if weapon == "default" then
return values.rage.weapons.default
else
if values.rage.weapons[weapon]["override default"].Toggle then
return values.rage.weapons[weapon]
else
return values.rage.weapons.default
end
end
end
local function GetWeaponLegit(weapon)
return TBLFIND(weps2.Pistol, weapon) and "pistol" or TBLFIND(weps2.Rifle, weapon) and "rifle" or TBLFIND(weps2.SMG, weapon) and "smg" or TBLFIND(weps2.Sniper, weapon) and "sniper" or "default"
end
local function GetStatsLegit(weapon)
if weapon == "default" then
return values.legit.main.default
else
if values.legit.main[weapon]["override default"].Toggle then
return values.legit.main[weapon]
else
return values.legit.main.default
end
end
end
local Jitter = false
local Spin = 0
local RageTarget
local Filter = false
local LastStep
local TriggerDebounce = false
local DisableAA = false
local Fov = Drawing.new("Circle")
Fov.Filled = true
Fov.Color = COL3RGB(15,15,15)
Fov.Transparency = 0.5
Fov.Position = Vec2(Mouse.X, Mouse.Y + 16)
Fov.Radius = 120
RunService.RenderStepped:Connect(function(step)
Fov.Visible = false
LastStep = step
Ping = game.Stats.PerformanceStats.Ping:GetValue()
RageTarget = nil
local CamCFrame = Camera.CFrame
local CamLook = CamCFrame.LookVector
local PlayerIsAlive = false
local Character = LocalPlayer.Character
RageTarget = nil
Spin = CLAMP(Spin + values.rage.angles["spin speed"].Slider, 0, 360)
if Spin == 360 then Spin = 0 end
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") and LocalPlayer.Character:FindFirstChild("Humanoid").Health > 0 and LocalPlayer.Character:FindFirstChild("UpperTorso") then
PlayerIsAlive = true
end
for i,v in pairs(ChamItems) do
if v.Parent == nil then
TBLREMOVE(ChamItems, i)
end
end
Fov.Position = Vec2(Camera.ViewportSize.X/2, Camera.ViewportSize.Y/2)
if PlayerIsAlive then
local SelfVelocity = LocalPlayer.Character.HumanoidRootPart.Velocity
if values.rage.fakelag["ping spike"].Toggle and values.rage.fakelag["ping spike"].Active then
for count = 1, 50 do
game:GetService("ReplicatedStorage").Events.RemoteEvent:FireServer({[1] = "createparticle", [2] = "bullethole", [3] = LocalPlayer.Character.Head, [4] = Vec3(0,0,0)})
end
end
local Root = LocalPlayer.Character.HumanoidRootPart
if values.misc.client["infinite crouch"].Toggle then
Client.crouchcooldown = 0
end
if TBLFIND(values.misc.client["gun modifiers"].Jumbobox, "kniferate") and Client.gun:FindFirstChild("Melee") then
Client.DISABLED = false
end
if TBLFIND(values.misc.client["gun modifiers"].Jumbobox, "firerate") then
Client.DISABLED = false
end
if values.rage.exploits["kill all"].Toggle and values.rage.exploits["kill all"].Active and LocalPlayer.Character:FindFirstChild("UpperTorso") and LocalPlayer.Character:FindFirstChild("Gun") then
for _,Player in pairs(Players:GetPlayers()) do
if Player.Character and Player.Team ~= LocalPlayer.Team and Player.Character:FindFirstChild("UpperTorso") then
local oh1 = Player.Character.Head
local oh2 = Player.Character.Head.CFrame.p
local oh3 = Client.gun.Name
local oh4 = 320000
local oh5 = LocalPlayer.Character.Gun
local oh8 = 9e9
local oh9 = false
local oh10 = true
local oh11 = Vec3(0,0,0)
local oh12 = 16868
local oh13 = Vec3(0, 0, 0)
game:GetService("ReplicatedStorage").Events.HitPart:FireServer(oh1, oh2, oh3, oh4, oh5, oh6, oh7, oh8, oh9, oh10, oh11, oh12, oh13)
end
end
end
if TBLFIND(values.visuals.effects.removals.Jumbobox, "scope lines") then
NewScope.Enabled = LocalPlayer.Character:FindFirstChild("AIMING") and true or false
Crosshairs.Scope.Visible = false
else
NewScope.Enabled = false
end
local RageGuy
if workspace:FindFirstChild("Map") and Client.gun ~= "none" and Client.gun.Name ~= "C4" then
if values.rage.aimbot.enabled.Toggle then
local Origin = values.rage.aimbot.origin.Dropdown == "character" and LocalPlayer.Character.LowerTorso.Position + Vec3(0, 2.5, 0) or CamCFrame.p
local Stats = GetStatsRage(GetWeaponRage(Client.gun.Name))
for _,Player in pairs(Players:GetPlayers()) do
if TBLFIND(values.misc.client["gun modifiers"].Jumbobox, "firerate") then
Client.DISABLED = false
else
if TBLFIND(values.misc.client["gun modifiers"].Jumbobox, "kniferate") and Client.gun:FindFirstChild("Melee") then
Client.DISABLED = false
end
end
if Player.Character and Player.Character:FindFirstChild("Humanoid") and Player.Character:FindFirstChild("Humanoid").Health > 0 and Player.Team ~= "TTT" and Player ~= LocalPlayer then
if TBLFIND(values.rage.aimbot.resolver.Jumbobox, "pitch") then
Player.Character.UpperTorso.Waist.C0 = CFAngles(0, 0, 0)
Player.Character.LowerTorso.Root.C0 = CFAngles(0,0,0)
Player.Character.Head.Neck.C0 = CFrame.new(0,1,0) * CFAngles(0, 0, 0)
end
if TBLFIND(values.rage.aimbot.resolver.Jumbobox, "yaw") then
Player.Character.UpperTorso.Waist.C0 = CFrame.new(Vector3.new(0, 0.6, 0)) * CFrame.Angles(0, 0, 0)
end
if TBLFIND(values.rage.aimbot.resolver.Jumbobox, "roll") then
Player.Character.Humanoid.MaxSlopeAngle = 0
end
if TBLFIND(values.rage.aimbot.resolver.Jumbobox, "animation") then
for i2,Animation in pairs(Player.Character.Humanoid:GetPlayingAnimationTracks()) do
Animation:Stop()
end
end
end
if Player.Character and Player.Character:FindFirstChild("Humanoid") and not Client.DISABLED and Player.Character:FindFirstChild("Humanoid").Health > 0 and Player.Team ~= "TTT" and not Player.Character:FindFirstChildOfClass("ForceField") and GetDeg(CamCFrame, Player.Character.Head.Position) <= Stats["max fov"].Slider and Player ~= LocalPlayer then
if Player.Team ~= LocalPlayer.Team or values.rage.aimbot.teammates.Toggle and Player:FindFirstChild("Status") and Player.Status.Team.Value ~= LocalPlayer.Status.Team.Value and Player.Status.Alive.Value then
if Client.gun:FindFirstChild("Melee") and values.rage.aimbot["knifebot"].Toggle then
local Ignore = {unpack(Collision)}
INSERT(Ignore, workspace.Map.Clips)
INSERT(Ignore, workspace.Map.SpawnPoints)
INSERT(Ignore, LocalPlayer.Character)
INSERT(Ignore, Player.Character.HumanoidRootPart)
if Player.Character:FindFirstChild("BackC4") then
INSERT(Ignore, Player.Character.BackC4)
end
if Player.Character:FindFirstChild("Gun") then
INSERT(Ignore, Player.Character.Gun)
end
local Ray = Ray.new(Origin, (Player.Character.HumanoidRootPart.Position - Origin).unit * values.rage.aimbot["Knifebot Radius"].Slider)
local Hit, Pos = workspace:FindPartOnRayWithIgnoreList(Ray, Ignore, false, true)
if Hit and Hit.Parent == Player.Character then
RageGuy = Hit
RageTarget = Hit
if not values.rage.aimbot["silent aim"].Toggle then
Camera.CFrame = CF(CamCFrame.Position, Hit.Position)
end
Filter = true
Client.firebullet()
Filter = false
local Arguments = {
[1] = Hit,
[2] = Hit.Position,
[3] = Client.gun.Name,
[4] = 4096,
[5] = LocalPlayer.Character.Gun,
[8] = 10,
[9] = false,
[10] = false,
[11] = Vec3(),
[12] = 16868,
[13] = Vec3()
}
game.ReplicatedStorage.Events.HitPart:FireServer(unpack(Arguments))
end
else
local Ignore = {unpack(Collision)}
INSERT(Ignore, workspace.Map.Clips)
INSERT(Ignore, workspace.Map.SpawnPoints)
INSERT(Ignore, LocalPlayer.Character)
INSERT(Ignore, Player.Character.HumanoidRootPart)
if Player.Character:FindFirstChild("BackC4") then
INSERT(Ignore, Player.Character.BackC4)
end
if Player.Character:FindFirstChild("Gun") then
INSERT(Ignore, Player.Character.Gun)
end
local Hitboxes = {}
for _,Hitbox in ipairs(Stats.hitboxes.Jumbobox) do
if Stats["prefer body"].Toggle then
if Hitbox == "head" and (not values.rage.aimbot["auto baim"].Toggle or Player.Character:FindFirstChild("FakeHead")) then
INSERT(Hitboxes, Player.Character.Head)
elseif Hitbox == "torso" then
INSERT(Hitboxes, Player.Character.UpperTorso)
else
INSERT(Hitboxes, Player.Character.LowerTorso)
end
else
if Hitbox == "torso" then
INSERT(Hitboxes, Player.Character.UpperTorso)
elseif Hitbox == "pelvis" then
INSERT(Hitboxes, Player.Character.LowerTorso)
elseif Hitbox == "arms" then
INSERT(Hitboxes, Player.Character.RightHand)
INSERT(Hitboxes, Player.Character.LeftHand)
elseif Hitbox == "feet" then
INSERT(Hitboxes, Player.Character.LeftFoot)
INSERT(Hitboxes, Player.Character.RightFoot)
elseif not values.rage.aimbot["auto baim"].Toggle or Player.Character:FindFirstChild("FakeHead") then
INSERT(Hitboxes, Player.Character.Head)
end
end
end
for _,Hitbox in ipairs(Hitboxes) do
local Ignore2 = {unpack(Ignore)}
for _,Part in pairs(Player.Character:GetChildren()) do
if Part ~= Hitbox then INSERT(Ignore2, Part) end
end
if values.rage.aimbot["automatic penetration"].Toggle then
local Hits = {}
local EndHit, Hit, Pos
local penetration = Client.gun.Penetration.Value * 0.01
local Ray1 = Ray.new(Origin, (Hitbox.Position - Origin).unit * (Hitbox.Position - Origin).magnitude)
repeat
Hit, Pos = workspace:FindPartOnRayWithIgnoreList(Ray1, Ignore2, false, true)
if Hit ~= nil and Hit.Parent ~= nil then
if Hit and Multipliers[Hit.Name] ~= nil then
EndHit = Hit
else
table.insert(Ignore2, Hit)
table.insert(Hits, {["Position"] = Pos,["Hit"] = Hit})
end
end
until EndHit ~= nil or #Hits >= 4 or Hit == nil
if EndHit ~= nil and Multipliers[EndHit.Name] ~= nil and #Hits <= 4 then
if #Hits == 0 then
local Damage = Client.gun.DMG.Value * Multipliers[EndHit.Name]
if Player:FindFirstChild("Kevlar") then
if string.find(EndHit.Name, "Head") then
if Player:FindFirstChild("Helmet") then
Damage = (Damage / 100) * Client.gun.ArmorPenetration.Value
end
else
Damage = (Damage / 100) * Client.gun.ArmorPenetration.Value
end
end
Damage = Damage * (Client.gun.RangeModifier.Value/100 ^ ((Origin - EndHit.Position).Magnitude/500))/100
if Damage >= Stats["minimum damage"].Slider then
RageGuy = EndHit
RageTarget = EndHit
if not values.rage.aimbot["silent aim"].Toggle then
Camera.CFrame = CFrame.new(CamCFrame.Position, EndHit.Position)
end
Filter = true
if values.rage.aimbot["automatic fire"].Dropdown == "standard" then
Client.firebullet()
if values.rage.exploits["double tap"].Toggle and values.rage.exploits["double tap"].Active then
Client.firebullet()
end
CreateHitElement("Hit "..EndHit.Parent.Name.." in the "..EndHit.Name,Color3.new(1,1,1))
elseif values.rage.aimbot["automatic fire"].Dropdown == "hitpart" then
CreateHitElement("Hit "..EndHit.Parent.Name.." in the "..EndHit.Name,Color3.new(1,1,1))
Client.firebullet()
local Arguments = {
[1] = EndHit,
[2] = EndHit.Position,
[3] = LocalPlayer.Character.EquippedTool.Value,
[4] = 100,
[5] = LocalPlayer.Character.Gun,
[8] = 1,
[9] = false,
[10] = false,
[11] = Vector3.new(),
[12] = 100,
[13] = Vector3.new()
}
game.ReplicatedStorage.Events.HitPart:FireServer(unpack(Arguments))
if values.rage.exploits["double tap"].Toggle and values.rage.exploits["double tap"].Active then
Client.firebullet()
local Arguments = {
[1] = EndHit,
[2] = EndHit.Position,
[3] = LocalPlayer.Character.EquippedTool.Value,
[4] = 100,
[5] = LocalPlayer.Character.Gun,
[8] = 1,
[9] = false,
[10] = false,
[11] = Vector3.new(),
[12] = 100,
[13] = Vector3.new()
}
game.ReplicatedStorage.Events.HitPart:FireServer(unpack(Arguments))
end
end
Filter = false
break
end
else
local penetration = Client.gun.Penetration.Value * 0.01
local limit = 0
local dmgmodifier = 1
for i = 1, #Hits do
local data = Hits[i]
local part = data["Hit"]
local pos = data["Position"]
local modifier = 1
if part.Material == Enum.Material.DiamondPlate then
modifier = 3
end
if part.Material == Enum.Material.CorrodedMetal or part.Material == Enum.Material.Metal or part.Material == Enum.Material.Concrete or part.Material == Enum.Material.Brick then
modifier = 2
end
if part.Name == "Grate" or part.Material == Enum.Material.Wood or part.Material == Enum.Material.WoodPlanks then
modifier = 0.05
end
if part.Name == "nowallbang" then
modifier = 100
end
if part:FindFirstChild("PartModifier") then
modifier = part.PartModifier.Value
end
if part.Transparency == 1 or part.CanCollide == false or part.Name == "Glass" or part.Name == "Cardboard" then
modifier = 0
end
local direction = (Hitbox.Position - pos).unit * math.clamp(Client.gun.Range.Value, 1, 100)
local ray = Ray.new(pos + direction * 1, direction * -2)
local _,endpos = workspace:FindPartOnRayWithWhitelist(ray, {part}, true)
local thickness = (endpos - pos).Magnitude
thickness = thickness * modifier
limit = math.min(penetration, limit + thickness)
dmgmodifier = 1 - limit / penetration
end
local Damage = Client.gun.DMG.Value * Multipliers[EndHit.Name] * dmgmodifier
if Player:FindFirstChild("Kevlar") then
if string.find(EndHit.Name, "Head") then
if Player:FindFirstChild("Helmet") then
Damage = (Damage / 100) * Client.gun.ArmorPenetration.Value
end
else
Damage = (Damage / 100) * Client.gun.ArmorPenetration.Value
end
end
Damage = Damage * (Client.gun.RangeModifier.Value/100 ^ ((Origin - EndHit.Position).Magnitude/500))/100
if Damage >= Stats["minimum damage"].Slider then
RageGuy = EndHit
RageTarget = EndHit
if not values.rage.aimbot["silent aim"].Toggle then
Camera.CFrame = CFrame.new(CamCFrame.Position, EndHit.Position)
end
Filter = true
if values.rage.aimbot["automatic fire"].Dropdown == "standard" then
Client.firebullet()
if values.rage.exploits["double tap"].Toggle and values.rage.exploits["double tap"].Active then
Client.firebullet()
end
CreateHitElement("Hit "..EndHit.Parent.Name.." in the "..EndHit.Name,Color3.new(1,1,1))
elseif values.rage.aimbot["automatic fire"].Dropdown == "hitpart" then
CreateHitElement("Hit "..EndHit.Parent.Name.." in the "..EndHit.Name,Color3.new(1,1,1))
Client.firebullet()
local Arguments = {
[1] = EndHit,
[2] = EndHit.Position,
[3] = LocalPlayer.Character.EquippedTool.Value,
[4] = 100,
[5] = LocalPlayer.Character.Gun,
[8] = 1,
[9] = false,
[10] = false,
[11] = Vector3.new(),
[12] = 100,
[13] = Vector3.new()
}
game.ReplicatedStorage.Events.HitPart:FireServer(unpack(Arguments))
if values.rage.exploits["double tap"].Toggle and values.rage.exploits["double tap"].Active then
Client.firebullet()
local Arguments = {
[1] = EndHit,
[2] = EndHit.Position,
[3] = LocalPlayer.Character.EquippedTool.Value,
[4] = 100,
[5] = LocalPlayer.Character.Gun,
[8] = 1,
[9] = false,
[10] = false,
[11] = Vector3.new(),
[12] = 100,
[13] = Vector3.new()
}
game.ReplicatedStorage.Events.HitPart:FireServer(unpack(Arguments))
end
end
Filter = false
break
end
end
end
else
local Ray = Ray.new(Origin, (Hitbox.Position - Origin).unit * (Hitbox.Position - Origin).magnitude)
local Hit, Pos = workspace:FindPartOnRayWithIgnoreList(Ray, Ignore2, false, true)
if Hit and Multipliers[Hit.Name] ~= nil then
local Damage = Client.gun.DMG.Value * Multipliers[Hit.Name]
if Player:FindFirstChild("Kevlar") then
if string.find(Hit.Name, "Head") then
if Player:FindFirstChild("Helmet") then
Damage = (Damage / 100) * Client.gun.ArmorPenetration.Value
end
else
Damage = (Damage / 100) * Client.gun.ArmorPenetration.Value
end
end
Damage = Damage * (Client.gun.RangeModifier.Value/100 ^ ((Origin - Hit.Position).Magnitude/500))
if Damage >= Stats["minimum damage"].Slider then
RageGuy = Hit
RageTarget = Hit
if not values.rage.aimbot["silent aim"].Toggle then
Camera.CFrame = CFrame.new(CamCFrame.Position, Hit.Position)
end
Filter = true
if values.rage.aimbot["automatic fire"].Dropdown == "standard" then
Client.firebullet()
if values.rage.exploits["double tap"].Toggle and values.rage.exploits["double tap"].Active then
Client.firebullet()
end
CreateHitElement("Hit "..EndHit.Parent.Name.." in the "..EndHit.Name,Color3.new(1,1,1))
elseif values.rage.aimbot["automatic fire"].Dropdown == "hitpart" then
CreateHitElement("Hit "..EndHit.Parent.Name.." in the "..EndHit.Name,Color3.new(1,1,1))
Client.firebullet()
local Arguments = {
[1] = EndHit,
[2] = EndHit.Position,
[3] = LocalPlayer.Character.EquippedTool.Value,
[4] = 100,
[5] = LocalPlayer.Character.Gun,
[8] = 1,
[9] = false,
[10] = false,
[11] = Vector3.new(),
[12] = 100,
[13] = Vector3.new()
}
game.ReplicatedStorage.Events.HitPart:FireServer(unpack(Arguments))
if values.rage.exploits["double tap"].Toggle and values.rage.exploits["double tap"].Active then
Client.firebullet()
local Arguments = {
[1] = EndHit,
[2] = EndHit.Position,
[3] = LocalPlayer.Character.EquippedTool.Value,
[4] = 100,
[5] = LocalPlayer.Character.Gun,
[8] = 1,
[9] = false,
[10] = false,
[11] = Vector3.new(),
[12] = 100,
[13] = Vector3.new()
}
game.ReplicatedStorage.Events.HitPart:FireServer(unpack(Arguments))
end
end
Filter = false
break
end
end
end
end
end
end
end
end
elseif values.legit.aimbot["aim assist"].Toggle and values.legit.aimbot["aim assist"].Active and not library.uiopen then
local Stats = GetStatsLegit(GetWeaponLegit(Client.gun.Name))
local Ignore = {LocalPlayer.Character, Camera, workspace.Map.Clips, workspace.Map.SpawnPoints, workspace.Debris}
local Closest = 9999
local Target
Fov.Radius = Stats["field of view"].Slider
Fov.Visible = values.legit.settings["draw fov"].Toggle
Fov.Color = values.legit.settings["draw fov"].Color
if not TBLFIND(Stats.conditions.Jumbobox, "smoke") then
INSERT(Ignore, workspace.Ray_Ignore)
end
if not TBLFIND(Stats.conditions.Jumbobox, "blind") or LocalPlayer.PlayerGui.Blnd.Blind.BackgroundTransparency > 0.9 then
if not TBLFIND(Stats.conditions.Jumbobox, "standing") or SelfVelocity.Magnitude < 3 then
for _,Player in pairs(Players:GetPlayers()) do
if Player.Character and Player.Character:FindFirstChild("Humanoid") and Player.Character:FindFirstChild("Humanoid").Health > 0 then
if not values.legit.settings["forcefield check"].Toggle or not Player.Character:FindFirstChildOfClass("ForceField") then
if Player.Team ~= LocalPlayer.Team or values.legit.settings["free for all"].Toggle then
local Pos, onScreen = Camera:WorldToViewportPoint(Player.Character.HumanoidRootPart.Position)
if onScreen then
local Magnitude = (Vec2(Pos.X, Pos.Y) - Vec2(Mouse.X, Mouse.Y)).Magnitude
if Magnitude < Stats["field of view"].Slider then
local Hitbox = Stats.hitbox.Dropdown == "head" and Player.Character.Head or Stats.hitbox.Dropdown == "chest" and Player.Character.UpperTorso
if Stats.hitbox.Dropdown == "closest" then
local HeadPos = Camera:WorldToViewportPoint(Player.Character.Head.Position)
local TorsoPos = Camera:WorldToViewportPoint(Player.Character.UpperTorso.Position)
local HeadDistance = (Vec2(HeadPos.X, HeadPos.Y) - Vec2(Mouse.X, Mouse.Y)).Magnitude
local TorsoDistance = (Vec2(TorsoPos.X, TorsoPos.Y) - Vec2(Mouse.X, Mouse.Y)).Magnitude
if HeadDistance < TorsoDistance then
Hitbox = Player.Character.Head
else
Hitbox = Player.Character.UpperTorso
end
end
if Hitbox ~= nil then
if not TBLFIND(Stats.conditions.Jumbobox, "visible") then
Target = Hitbox
else
local Ray1 = RAY(Camera.CFrame.Position, (Hitbox.Position - Camera.CFrame.Position).unit * (Hitbox.Position - Camera.CFrame.Position).magnitude)
local Hit, Pos = workspace:FindPartOnRayWithIgnoreList(Ray1, Ignore, false, true)
if Hit and Hit:FindFirstAncestor(Player.Name) then
Target = Hitbox
end
end
end
end
end
end
end
end
end
end
end
if Target ~= nil then
local Pos = Camera:WorldToScreenPoint(Target.Position)
local Magnitude = Vec2(Pos.X - Mouse.X, Pos.Y - Mouse.Y)
mousemoverel(Magnitude.x/Stats.smoothing.Slider, Magnitude.y/Stats.smoothing.Slider)
end
end
if not values.rage.aimbot.enabled.Toggle and values.legit.aimbot["triggerbot"].Toggle and values.legit.aimbot["triggerbot"].Active and not TriggerDebounce then
local Stats = GetStatsLegit(GetWeaponLegit(Client.gun.Name))
if Stats.triggerbot.Toggle then
if not TBLFIND(Stats.conditions.Jumbobox, "blind") or LocalPlayer.PlayerGui.Blnd.Blind.BackgroundTransparency > 0.9 then
if not TBLFIND(Stats.conditions.Jumbobox, "standing") or SelfVelocity.Magnitude < 3 then
if Mouse.Target and Mouse.Target.Parent and Players:GetPlayerFromCharacter(Mouse.Target.Parent) and Multipliers[Mouse.Target.Name] ~= nil and Client.gun.DMG.Value * Multipliers[Mouse.Target.Name] >= Stats["minimum dmg"].Slider then
local OldTarget = Mouse.Target
local Player = Players:GetPlayerFromCharacter(Mouse.Target.Parent)
if Player.Team ~= LocalPlayer.Team or values.legit.settings["free for all"].Toggle then
coroutine.wrap(function()
TriggerDebounce = true
wait(Stats["delay (ms)"].Slider/1000)
repeat RunService.RenderStepped:Wait()
if not Client.DISABLED then
Client.firebullet()
end
until Mouse.Target == nil or Player ~= Players:GetPlayerFromCharacter(Mouse.Target.Parent)
TriggerDebounce = false
end)()
end
end
end
end
end
end
end
BodyVelocity:Destroy()
BodyVelocity = INST("BodyVelocity")
BodyVelocity.MaxForce = Vector3.new(300000,0,300000)
if UserInputService:IsKeyDown("Space") and values.misc.movement["bunny hop"].Toggle then
local add = 0
if values.misc.movement.direction.Dropdown == "directional" or values.misc.movement.direction.Dropdown == "directional 2" then
if UserInputService:IsKeyDown("A") then add = 90 end
if UserInputService:IsKeyDown("S") then add = 180 end
if UserInputService:IsKeyDown("D") then add = 270 end
if UserInputService:IsKeyDown("A") and UserInputService:IsKeyDown("W") then add = 45 end
if UserInputService:IsKeyDown("D") and UserInputService:IsKeyDown("W") then add = 315 end
if UserInputService:IsKeyDown("D") and UserInputService:IsKeyDown("S") then add = 225 end
if UserInputService:IsKeyDown("A") and UserInputService:IsKeyDown("S") then add = 145 end
end
local rot = YROTATION(CamCFrame) * CFAngles(0,RAD(add),0)
BodyVelocity.Parent = LocalPlayer.Character.UpperTorso
LocalPlayer.Character.Humanoid.Jump = true
if values.misc.movement.type.Dropdown == "gyro" and values.misc.movement["gyro type"].Dropdown == "bypass exploits" then
BodyVelocity.MaxForce = Vector3.new(300000,0,300000)
else
BodyVelocity.MaxForce = Vector3.new(HUGE,0,HUGE)
end
BodyVelocity.Velocity = Vec3(rot.LookVector.X,0,rot.LookVector.Z) * (values.misc.movement["speed"].Slider * 2)
if add == 0 and values.misc.movement.direction.Dropdown == "directional" and not UserInputService:IsKeyDown("W") then
BodyVelocity:Destroy()
else
if values.misc.movement.type.Dropdown == "cframe" then
BodyVelocity:Destroy()
Root.CFrame = Root.CFrame + Vec3(rot.LookVector.X,0,rot.LookVector.Z) * values.misc.movement["speed"].Slider/50
else
if values.misc.movement.type.Dropdown == "old" and
game:GetService("UserInputService"):IsKeyDown(Enum.KeyCode.Space)
then
LocalPlayer.Character.Humanoid.WalkSpeed = values.misc.movement["speed"].Slider * 2
LocalPlayer.Character.Humanoid.Jump = true
end
end
end
end
if values.misc.movement["edge jump"].Toggle and values.misc.movement["edge jump"].Active then
if LocalPlayer.Character.Humanoid:GetState() ~= Enum.HumanoidStateType.Freefall and LocalPlayer.Character.Humanoid:GetState() ~= Enum.HumanoidStateType.Jumping then
coroutine.wrap(function()
RunService.RenderStepped:Wait()
if LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("Humanoid") and LocalPlayer.Character.Humanoid:GetState() == Enum.HumanoidStateType.Freefall and LocalPlayer.Character.Humanoid:GetState() ~= Enum.HumanoidStateType.Jumping then
LocalPlayer.Character.Humanoid:ChangeState("Jumping")
end
end)()
end
end
Jitter = not Jitter
LocalPlayer.Character.Humanoid.AutoRotate = false
if values.rage.angles.enabled.Toggle and not DisableAA then
local Angle = -ATAN2(CamLook.Z, CamLook.X) + RAD(-90)
if values.rage.angles["yaw base"].Dropdown == "spin" then
Angle = Angle + RAD(Spin)
end
if values.rage.angles["yaw base"].Dropdown == "random" then
Angle = Angle + RAD(RANDOM(0, 360))
end
if values.rage.angles["yaw base"].Dropdown == "3 head" then
Angle = Angle + math.rad(math.random(1, 180))
end
if values.rage.angles["yaw base"].Dropdown == "stutter" then
Angle = Angle + RAD(RANDOM(0, 90))
end
if values.rage.angles["yaw base"].Dropdown == "wasd yaw base" then
if UserInputService:IsKeyDown("W") then
Angle = Angle + 0
elseif values.rage.angles["reset yaw"].Toggle and values.rage.angles["reset yaw"].Active then
Angle = -ATAN2(CamLook.Z, CamLook.X) + RAD(-90)
end
if UserInputService:IsKeyDown("A") then
Angle = Angle + 90
elseif values.rage.angles["reset yaw"].Toggle and values.rage.angles["reset yaw"].Active then
Angle = -ATAN2(CamLook.Z, CamLook.X) + RAD(-90)
end
if UserInputService:IsKeyDown("S") then
Angle = Angle + -180
elseif values.rage.angles["reset yaw"].Toggle and values.rage.angles["reset yaw"].Active then
Angle = -ATAN2(CamLook.Z, CamLook.X) + RAD(-90)
end
if UserInputService:IsKeyDown("D") then
Angle = Angle + -90
elseif values.rage.angles["reset yaw"].Toggle and values.rage.angles["reset yaw"].Active then
Angle = -ATAN2(CamLook.Z, CamLook.X) + RAD(-90)
end
end
if values.rage.angles["reset yaw"].Toggle and values.rage.angles["reset yaw"].Active then
Angle = -ATAN2(CamLook.Z, CamLook.X) + RAD(-90)
end
local Offset = RAD(-values.rage.angles["yaw offset"].Slider - (values.rage.angles.jitter.Toggle and Jitter and values.rage.angles["jitter offset"].Slider or 0))
local CFramePos = CF(Root.Position) * CFAngles(0, Angle + Offset, 0)
if values.rage.angles["yaw base"].Dropdown == "targets" then
local part
local closest = 9999
for _,plr in pairs(Players:GetPlayers()) do
if plr.Character and plr.Character:FindFirstChild("Humanoid") and plr.Character:FindFirstChild("Humanoid").Health > 0 and plr.Team ~= LocalPlayer.Team then
local pos, onScreen = Camera:WorldToViewportPoint(plr.Character.HumanoidRootPart.Position)
local magnitude = (Vec2(pos.X, pos.Y) - Vec2(Mouse.X, Mouse.Y)).Magnitude
if closest > magnitude then
part = plr.Character.HumanoidRootPart
closest = magnitude
end
end
end
if part ~= nil then
CFramePos = CF(Root.Position, part.Position) * CFAngles(0, Offset, 0)
end
end
Root.CFrame = YROTATION(CFramePos)
if values.rage.angles["body roll"].Dropdown == "180" then
Root.CFrame = Root.CFrame * CFAngles(values.rage.angles["body roll"].Dropdown == "180" and RAD(-values.rage.angles["body roll offset"].Slider or 0) or 0, 1, 0)
LocalPlayer.Character.Humanoid.HipHeight = values.rage.angles["high pos"].Slider or 1
else
LocalPlayer.Character.Humanoid.HipHeight = values.rage.angles["high pos"].Slider or 1
end
Root.CFrame = YROTATION(CFramePos)
if values.rage.angles["body roll"].Dropdown == "360" then
Root.CFrame = Root.CFrame * CFAngles(values.rage.angles["body roll"].Dropdown == "360" and RAD(-values.rage.angles["body roll offset"].Slider or 0) or 0, 1, 0)
LocalPlayer.Character.Humanoid.HipHeight = values.rage.angles["high pos"].Slider or 1
else
LocalPlayer.Character.Humanoid.HipHeight = values.rage.angles["high pos"].Slider or 1
end
local Pitch = values.rage.angles["pitch"].Dropdown == "up" and 1 or values.rage.angles["pitch"].Dropdown == "down" and -1 or values.rage.angles["pitch"].Dropdown == "180" and 2 or values.rage.angles["pitch"].Dropdown == "180+" and -9 or values.rage.angles["pitch"].Dropdown == "weird" and -5/93 -13 or values.rage.angles["pitch"].Dropdown == "random" and RANDOM(2.5, 2)/8 or values.rage.angles["pitch"].Dropdown == "crazy" and RANDOM(-99999999, 100)/100 or values.rage.angles["pitch"].Dropdown == "normal" and -74 or values.rage.angles["pitch"].Dropdown == "normal+" and 71 or values.rage.angles["pitch"].Dropdown == "new" and values.rage.angles["pitch angle"].Slider or values.rage.angles["pitch"].Dropdown == "up+" and 12 or values.rage.angles["pitch"].Dropdown == "extend" and -12 or values.rage.angles["pitch"].Dropdown == "fake nohead" and -99 or values.rage.angles["pitch"].Dropdown == "extend+" and -62 or values.rage.angles["pitch"].Dropdown == "imposter" and math.huge or 2.5
if values.rage.angles["extend pitch"].Toggle and (values.rage.angles["pitch"].Dropdown == "up" or values.rage.angles["pitch"].Dropdown == "down" or values.rage.angles["pitch"].Dropdown == "negative" or values.rage.angles["pitch"].Dropdown == "glitch" or values.rage.angles["pitch"].Dropdown == "Sus_down" or values.rage.angles["pitch"].Dropdown == "180" or values.rage.angles ["pitch"].Dropdown == "Bodyarm") then
Pitch = (Pitch*2)/1.6
end
game.ReplicatedStorage.Events.ControlTurn:FireServer(Pitch, LocalPlayer.Character:FindFirstChild("Climbing") and true or false)
else
LocalPlayer.Character.Humanoid.HipHeight = values.rage.angles["high pos"].Slider or 1
Root.CFrame = CF(Root.Position) * CFAngles(0, -ATAN2(CamLook.Z, CamLook.X) + RAD(270), 0)
game.ReplicatedStorage.Events.ControlTurn:FireServer(CamLook.Y, LocalPlayer.Character:FindFirstChild("Climbing") and true or false)
end
if values.rage.others["remove head"].Toggle then
if LocalPlayer.Character:FindFirstChild("FakeHead") then
LocalPlayer.Character.FakeHead:Destroy()
end
if LocalPlayer.Character:FindFirstChild("HeadHB") then
LocalPlayer.Character.HeadHB:Destroy()
end
end
if TBLFIND(values.misc.client["gun modifiers"].Jumbobox, "recoil") then
Client.resetaccuracy()
Client.RecoilX = 0
Client.RecoilY = 0
end
end
for _,Player in pairs(Players:GetPlayers()) do
if Player.Character and Player ~= LocalPlayer and Player.Character:FindFirstChild("HumanoidRootPart") and Player.Character.HumanoidRootPart:FindFirstChild("OldPosition") then
coroutine.wrap(function()
local Position = Player.Character.HumanoidRootPart.Position
RunService.RenderStepped:Wait()
if Player.Character and Player ~= LocalPlayer and Player.Character:FindFirstChild("HumanoidRootPart") then
if Player.Character.HumanoidRootPart:FindFirstChild("OldPosition") then
Player.Character.HumanoidRootPart.OldPosition.Value = Position
else
local Value = INST("Vector3Value")
Value.Name = "OldPosition"
Value.Value = Position
Value.Parent = Player.Character.HumanoidRootPart
end
end
end)()
end
end
for _,Player in pairs(Players:GetPlayers()) do
local tbl = objects[Player]
if tbl == nil then return end
if Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") and Player.Team ~= "TTT" and (Player.Team ~= LocalPlayer.Team or values.visuals.players.teammates.Toggle) and Player.Character:FindFirstChild("Gun") and Player.Character:FindFirstChild("Humanoid") and Player ~= LocalPlayer then
local HumanoidRootPart = Player.Character.HumanoidRootPart
local RootPosition = HumanoidRootPart.Position
local Pos, OnScreen = Camera:WorldToViewportPoint(RootPosition)
local Size = (Camera:WorldToViewportPoint(RootPosition - Vec3(0, 3, 0)).Y - Camera:WorldToViewportPoint(RootPosition + Vec3(0, 2.6, 0)).Y) / 2
local Drawings, Text = TBLFIND(values.visuals.players.outlines.Jumbobox, "drawings") ~= nil, TBLFIND(values.visuals.players.outlines.Jumbobox, "text") ~= nil
tbl.Box.Color = values.visuals.players.box.Color
tbl.Box.Size = Vec2(Size * 1.5, Size * 1.9)
tbl.Box.Position = Vec2(Pos.X - Size*1.5 / 2, (Pos.Y - Size*1.6 / 2))
if values.visuals.players.box.Toggle then
tbl.Box.Visible = OnScreen
if Drawings then
tbl.BoxOutline.Size = tbl.Box.Size
tbl.BoxOutline.Position = tbl.Box.Position
tbl.BoxOutline.Visible = OnScreen
else
tbl.BoxOutline.Visible = false
end
else
tbl.Box.Visible = false
tbl.BoxOutline.Visible = false
end
if values.visuals.players.health.Toggle then
tbl.Health.Color = COL3(0,1,0)
tbl.Health.From = Vec2((tbl.Box.Position.X - 5), tbl.Box.Position.Y + tbl.Box.Size.Y)
tbl.Health.To = Vec2(tbl.Health.From.X, tbl.Health.From.Y - CLAMP(Player.Character.Humanoid.Health / Player.Character.Humanoid.MaxHealth, 0, 1) * tbl.Box.Size.Y)
tbl.Health.Visible = OnScreen
if Drawings then
tbl.HealthOutline.From = Vec2(tbl.Health.From.X, tbl.Box.Position.Y + tbl.Box.Size.Y + 1)
tbl.HealthOutline.To = Vec2(tbl.Health.From.X, (tbl.Health.From.Y - 1 * tbl.Box.Size.Y) -1)
tbl.HealthOutline.Visible = OnScreen
else
tbl.HealthOutline.Visible = false
end
else
tbl.Health.Visible = false
tbl.HealthOutline.Visible = false
end
if values.visuals.players.weapon.Toggle then
tbl.Weapon.Color = values.visuals.players.weapon.Color
tbl.Weapon.Text = Player.Character.EquippedTool.Value
tbl.Weapon.Position = Vec2(tbl.Box.Size.X/2 + tbl.Box.Position.X, tbl.Box.Size.Y + tbl.Box.Position.Y + 1)
tbl.Weapon.Font = Drawing.Fonts[values.visuals.players.font.Dropdown]
tbl.Weapon.Outline = Text
tbl.Weapon.Size = values.visuals.players.size.Slider
tbl.Weapon.Visible = OnScreen
else
tbl.Weapon.Visible = false
end
if values.visuals.players["weapon icon"].Toggle then
Items[Player.Name].ImageColor3 = values.visuals.players["weapon icon"].Color
Items[Player.Name].Image = GetIcon.getWeaponOfKiller(Player.Character.EquippedTool.Value)
Items[Player.Name].Position = UDIM2(0, tbl.Box.Size.X/2 + tbl.Box.Position.X, 0, tbl.Box.Size.Y + tbl.Box.Position.Y + (values.visuals.players.weapon.Toggle and -10 or -22))
Items[Player.Name].Visible = OnScreen
else
Items[Player.Name].Visible = false
end
if values.visuals.players.name.Toggle then
tbl.Name.Color = values.visuals.players.name.Color
tbl.Name.Text = Player.Name
tbl.Name.Position = Vec2(tbl.Box.Size.X/2 + tbl.Box.Position.X, tbl.Box.Position.Y - 16)
tbl.Name.Font = Drawing.Fonts[values.visuals.players.font.Dropdown]
tbl.Name.Outline = Text
tbl.Name.Size = values.visuals.players.size.Slider
tbl.Name.Visible = OnScreen
else
tbl.Name.Visible = false
end
local LastInfoPos = tbl.Box.Position.Y - 1
if TBLFIND(values.visuals.players.indicators.Jumbobox, "armor") and Player:FindFirstChild("Kevlar") then
tbl.Armor.Color = COL3RGB(0, 150, 255)
tbl.Armor.Text = Player:FindFirstChild("Helmet") and "HK" or "K"
tbl.Armor.Position = Vec2(tbl.Box.Size.X + tbl.Box.Position.X + 12, LastInfoPos)
tbl.Armor.Font = Drawing.Fonts[values.visuals.players.font.Dropdown]
tbl.Armor.Outline = Text
tbl.Armor.Size = values.visuals.players.size.Slider
tbl.Armor.Visible = OnScreen
LastInfoPos = LastInfoPos + values.visuals.players.size.Slider
else
tbl.Armor.Visible = false
end
else
if Player.Name ~= LocalPlayer.Name then
Items[Player.Name].Visible = false
for i,v in pairs(tbl) do
v.Visible = false
end
end
end
end
end)
local mt = getrawmetatable(game)
local oldNamecall = mt.__namecall
local oldIndex = mt.__index
local oldNewIndex = mt.__newindex
setreadonly(mt,false)
mt.__namecall = function(self, ...)
local method = tostring(getnamecallmethod())
local args = {...}
if method == "SetPrimaryPartCFrame" and self.Name == "Arms" then
if values.visuals.self["third person"].Toggle and values.visuals.self["third person"].Active and values.visuals.self["no arm third person"].Toggle and LocalPlayer.Character then
args[1] = args[1] * CF(99, 99, 99)
else
if values.visuals.self["viewmodel changer"].Toggle then
args[1] = args[1] * ViewmodelOffset
end
if values.visuals.self["visualize silent angles"].Toggle and RageTarget then -- is it enabled and are we aimbotting at someone?
args[1] = CFrame.lookAt(args[1].p, RageTarget.Position)-- if yes, apply the cframe.lookat on top of the viewmodel offset
end
end
end
if method == "SetPrimaryPartCFrame" and self.Name ~= "Arms" then
args[1] = args[1] + Vec3(0, 3, 0)
coroutine.wrap(function()
DisableAA = true
wait(2)
DisableAA = false
end)()
end
if method == "Kick" then
return
end
if method == "FireServer" then
if LEN(self.Name) == 38 then
return
elseif self.Name == "FallDamage" and TBLFIND(values.misc.client["damage bypass"].Jumbobox, "fall") or values.misc.movement["jump bug"].Toggle and values.misc.movement["jump bug"].Active then
return
elseif self.Name == "BURNME" and TBLFIND(values.misc.client["damage bypass"].Jumbobox, "fire") then
return
elseif self.Name == "ControlTurn" and not checkcaller() then
return
end
if self.Name == "PlayerChatted" and values.misc.client["chat alive"].Toggle then
args[2] = false
args[3] = "Innocent"
args[4] = false
args[5] = false
end
if self.Name == "ReplicateCamera" and values.misc.client["anti spectate"].Toggle then
args[1] = CF()
end
end
if method == "FindPartOnRayWithWhitelist" and not checkcaller() and Client.gun ~= "none" and Client.gun.Name ~= "C4" then
if #args[2] == 1 and args[2][1].Name == "SpawnPoints" then
local Team = LocalPlayer.Status.Team.Value
if TBLFIND(values.misc.client.shop.Jumbobox, "anywhere") then
return Team == "T" and args[2][1].BuyArea or args[2][1].BuyArea2
end
end
end
if method == "FindPartOnRayWithIgnoreList" and args[2][1] == workspace.Debris then
if not checkcaller() or Filter then
if TBLFIND(values.misc.client["gun modifiers"].Jumbobox, "penetration") then
INSERT(args[2], workspace.Map)
end
if TBLFIND(values.misc.client["gun modifiers"].Jumbobox, "spread") then
args[1] = RAY(Camera.CFrame.p, Camera.CFrame.LookVector * Client.gun.Range.Value)
end
local Stats = GetStatsLegit(GetWeaponLegit(Client.gun.Name))
if values.legit.aimbot["silent aim"].Toggle and values.legit.aimbot["silent aim"].Active and Stats["silent aim"].Toggle then
local Ignore = {LocalPlayer.Character, Camera, workspace.Map.Clips, workspace.Map.SpawnPoints, workspace.Debris}
local Closest = 9999
local Target
if not TBLFIND(Stats.conditions.Jumbobox, "smoke") then
INSERT(Ignore, workspace.Ray_Ignore)
end
coroutine.wrap(function()
if not TBLFIND(Stats.conditions.Jumbobox, "blind") or LocalPlayer.PlayerGui.Blnd.Blind.BackgroundTransparency > 0.9 then
if not TBLFIND(Stats.conditions.Jumbobox, "blind") or SelfVelocity.Magnitude < 3 then
for _,Player in pairs(Players:GetPlayers()) do
if Player.Character and Player.Character:FindFirstChild("Humanoid") and Player.Character:FindFirstChild("Humanoid").Health > 0 then
if not values.legit.settings["forcefield check"].Toggle or not Player.Character:FindFirstChildOfClass("ForceField") then
if Player.Team ~= LocalPlayer.Team or values.legit.settings["free for all"].Toggle then
local Pos, onScreen = Camera:WorldToViewportPoint(Player.Character.HumanoidRootPart.Position)
if onScreen then
local Magnitude = (Vec2(Pos.X, Pos.Y) - Vec2(Mouse.X, Mouse.Y)).Magnitude
if Magnitude < Stats["field of view"].Slider then
local Hitbox = Stats.priority.Dropdown == "head" and Player.Character.Head or Stats.priority.Dropdown == "chest" and Player.Character.UpperTorso
if Stats.priority.Dropdown == "closest" then
local HeadPos = Camera:WorldToViewportPoint(Player.Character.Head.Position)
local TorsoPos = Camera:WorldToViewportPoint(Player.Character.UpperTorso.Position)
local HeadDistance = (Vec2(HeadPos.X, HeadPos.Y) - Vec2(Mouse.X, Mouse.Y)).Magnitude
local TorsoDistance = (Vec2(TorsoPos.X, TorsoPos.Y) - Vec2(Mouse.X, Mouse.Y)).Magnitude
if HeadDistance < TorsoDistance then
Hitbox = Player.Character.Head
else
Hitbox = Player.Character.UpperTorso
end
end
if Hitbox ~= nil then
if not TBLFIND(Stats.conditions.Jumbobox, "visible") then
Target = Hitbox
else
local Ray1 = RAY(Camera.CFrame.Position, (Hitbox.Position - Camera.CFrame.Position).unit * (Hitbox.Position - Camera.CFrame.Position).magnitude)
local Hit, Pos = workspace:FindPartOnRayWithIgnoreList(Ray1, Ignore, false, true)
if Hit and Hit:FindFirstAncestor(Player.Name) then
Target = Hitbox
end
end
end
end
end
end
end
end
end
end
end
local Hit = RANDOM(1, 100) <= Stats.hitchance.Slider
if Target ~= nil and Hit then
args[1] = RAY(Camera.CFrame.Position, (Target.Position - Camera.CFrame.Position).unit * (Target.Position - Camera.CFrame.Position).magnitude)
end
end)()
end
if RageTarget ~= nil then
local Origin = values.rage.aimbot.origin.Dropdown == "character" and LocalPlayer.Character.LowerTorso.Position + Vec3(0, 2.5, 0) or Camera.CFrame.p
if values.rage.aimbot["prefer real hitbox"].Toggle then
spawn(function()
args[1] = RAY(Origin, (RageTarget.Position - Origin).unit * (RageTarget.Position - Origin).magnitude)
end)
else
args[1] = RAY(Origin, (RageTarget.Position - Origin).unit * (RageTarget.Position - Origin).magnitude)
end
end
end
end
if method == "InvokeServer" then
if self.Name == "Moolah" then
return
elseif self.Name == "Hugh" then
return
elseif self.Name == "Filter" and values.misc.chat["no filter"].Toggle then
return args[1]
end
end
if values.rage.others["leg movement"].Dropdown == "slide walk" then
if FIND(args[1].Name, "Walk") or FIND(args[1].Name, "Run") or FIND(args[1].Name, "Jump") then
args[1] = FakeAnim
end
end
if values.rage.others["leg movement"].Dropdown == "slide fake walk" then
if FIND(args[1].Name, "Jump") then
args[1] = FakeAnim
end
end
if method == "LoadAnimation" and self.Name == "Humanoid" then
if values.rage.others["leg movement"].Dropdown == "slide" then
if FIND(args[1].Name, "Jump") then
args[1] = FakeAnim
end
end
if values.rage.others["no animations"].Toggle then
args[1] = FakeAnim
end
end
if method == "FireServer" and self.Name == "HitPart" then
if values.rage.aimbot["force hit"].Toggle then
args[1] = RageTarget
args[2] = RageTarget.Position
end
if values.rage.aimbot["prediction"].Dropdown ~= "off" and RageTarget ~= nil then
coroutine.wrap(function()
if Players:GetPlayerFromCharacter(args[1].Parent) or args[1] == RageTarget then
if values.rage.aimbot["prediction"].Dropdown == "ping" then
if Players:GetPlayerFromCharacter(args[1].Parent) or args[1] == RageTarget then
local hrp = RageTarget.Parent.HumanoidRootPart.Position
local oldHrp = RageTarget.Parent.HumanoidRootPart.OldPosition.Value
local vel = (Vec3(hrp.X, 0, hrp.Z) - Vec3(oldHrp.X, 0, oldHrp.Z)) / LastStep
local dir = Vec3(vel.X / vel.magnitude, 0, vel.Z / 100 * values.rage.aimbot["prediction amount"].Slider)
args[2] = args[2] + dir * (Ping / (POW(Ping, 1.5)) * (dir / (dir / 2)))
args[4] = 0
args[12] = args[12] - 500
end
else
local Velocity = RageTarget.Parent.HumanoidRootPart.Velocity
local Direction = Vector3.new(Velocity.X, 0, Velocity.Z) / 100 * values.rage.aimbot["prediction amount"].Slider
if Velocity.magnitude >= 8 then
args[2] = args[2] + Direction * (Velocity.magnitude*(Ping/1000) * (Ping > 200 and 1 or 2))
args[4] = 0
args[12] = args[12] - 500
end
end
end
end)()
end
if (values.rage.aimbot["accuracy boost"].Toggle and RageTarget ~= nil) then
coroutine.wrap(function()
if Players:GetPlayerFromCharacter(args[1].Parent) or args[1] == RageTarget then
local hrp = RageTarget.Parent.HumanoidRootPart.Position
local oldHrp = RageTarget.Parent.HumanoidRootPart.OldPosition.Value
local vel = (Vec3(hrp.X, 0, hrp.Z) - Vec3(oldHrp.X, 0, oldHrp.Z)) / LastStep
local dir = Vec3(vel.X / vel.magnitude, 0, vel.Z / vel.magnitude * values.rage.aimbot["accuracy multiplier"].Slider)
args[2] = args[2] + dir * (Ping / (POW(Ping, 1.2)) * (dir / (dir / 2)))
args[4] = 0
args[12] = args[12] - 500
end
end)()
end
if values.visuals.world["bullet tracers"].Toggle then
coroutine.wrap(function()
local beam = INST("Part")
beam.Anchored = true
beam.CanCollide = false
beam.Material = Enum.Material.ForceField
beam.Color = values.visuals.world["bullet tracers"].Color
beam.Size = Vec3(0.1, 0.1, (Camera.CFrame.Position - args[2]).Magnitude)
beam.CFrame = CF(Camera.CFrame.Position, args[2]) * CF(0, 0, -beam.Size.Z / 2)
beam.Parent = workspace.Debris
library:Tween(beam, TweenInfo.new(1.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Transparency = 1})
wait(1.5)
beam:Destroy()
end)()
end
if values.visuals.world["impacts"].Toggle then
coroutine.wrap(function()
local hit = Instance.new("Part")
hit.Transparency = 1
hit.Anchored = true
hit.CanCollide = false
hit.Size = Vector3.new(0.3,0.3,0.3)
hit.Position = args[2]
local selection = Instance.new("SelectionBox")
selection.LineThickness = 0
selection.SurfaceTransparency = 0.5
selection.Color3 = values.visuals.world["impacts"].Color
selection.SurfaceColor3 = values.visuals.world["impacts"].Color
selection.Parent = hit
selection.Adornee = hit
hit.Parent = workspace.Debris
wait(5.9)
library:Tween(selection, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {SurfaceTransparency = 1})
hit:Destroy()
end)()
if values.visuals.world["hit chams"].Toggle then
coroutine.wrap(function()
if Players:GetPlayerFromCharacter(args[1].Parent) and Players:GetPlayerFromCharacter(args[1].Parent).Team ~= LocalPlayer.Team then
for _,hitbox in pairs(args[1].Parent:GetChildren()) do
if hitbox:IsA("BasePart") or hitbox.Name == "Head" then
coroutine.wrap(function()
local part = INST("Part")
part.CFrame = hitbox.CFrame
part.Anchored = true
part.CanCollide = false
part.Material = Enum.Material.ForceField
part.Color = values.visuals.world["hit chams"].Color
part.Size = hitbox.Size
part.Parent = workspace.Debris
library:Tween(part, TweenInfo.new(2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Transparency = 1})
wait(2)
part:Destroy()
end)()
end
end
end
end)()
end
end
end
return oldNamecall(self, unpack(args))
end
mt.__index = newcclosure(function(self, key)
local CallingScript = getcallingscript()
if not checkcaller() and self == Viewmodels and LocalPlayer.Character ~= nil and LocalPlayer.Character:FindFirstChild("UpperTorso") then
local WeaponName = string.gsub(key, "v_", "")
if not string.find(WeaponName, "Arms") then
if Weapons[WeaponName]:FindFirstChild("Melee") and values.skins.knife["knife changer"].Toggle then
if Viewmodels:FindFirstChild("v_"..values.skins.knife.model.Scroll) then
return Viewmodels:FindFirstChild("v_"..values.skins.knife.model.Scroll)
else
local Clone = Models.Knives[values.skins.knife.model.Scroll]:Clone()
return Clone
end
end
end
end
if key == "Value" then
if self.Name == "Auto" and table.find(values.misc.client["gun modifiers"].Jumbobox, "automatic") then
return true
elseif self.Name == "ReloadTime" and table.find(values.misc.client["gun modifiers"].Jumbobox, "reload") then
return 0.001
elseif self.Name == "EquipTime" and table.find(values.misc.client["gun modifiers"].Jumbobox, "equip") then
return 0.001
elseif self.Name == "BuyTime" and table.find(values.misc.client.shop.Jumbobox, "inf time") then
return 5
end
end
return oldIndex(self, key)
end)
mt.__newindex = function(self, i, v)
if self:IsA("Humanoid") and i == "JumpPower" and not checkcaller() then
if values.misc.movement["jump bug"].Toggle and values.misc.movement["jump bug"].Active then
v = 24
end
if values.misc.movement["edge bug"].Toggle and values.misc.movement["edge bug"].Active then
v = 0
end
elseif self:IsA("Humanoid") and i == "CameraOffset" then
if values.rage.angles.enabled.Toggle and values.rage.angles["body roll"].Dropdown == "180" and not DisableAA then
v = v + Vec3(0, -3.5, 0)
end
end
return oldNewIndex(self, i, v)
end
Crosshairs.Scope:GetPropertyChangedSignal("Visible"):Connect(function(current)
if not TBLFIND(values.visuals.effects.removals.Jumbobox, "scope lines") then return end
if current ~= false then
Crosshairs.Scope.Visible = false
end
end)
Crosshair:GetPropertyChangedSignal("Visible"):Connect(function(current)
if not LocalPlayer.Character then return end
if not values.visuals.effects["force crosshair"].Toggle then return end
Crosshair.Visible = true
end)
LocalPlayer.Additionals.TotalDamage:GetPropertyChangedSignal("Value"):Connect(function(current)
if current == 0 then return end
coroutine.wrap(function()
if values.misc.client.hitmarker.Toggle then
local Line = Drawing.new("Line")
local Line2 = Drawing.new("Line")
local Line3 = Drawing.new("Line")
local Line4 = Drawing.new("Line")
local x, y = Camera.ViewportSize.X/2, Camera.ViewportSize.Y/2
Line.From = Vec2(x + 4, y + 4)
Line.To = Vec2(x + 10, y + 10)
Line.Color = values.misc.client.hitmarker.Color
Line.Visible = true
Line2.From = Vec2(x + 4, y - 4)
Line2.To = Vec2(x + 10, y - 10)
Line2.Color = values.misc.client.hitmarker.Color
Line2.Visible = true
Line3.From = Vec2(x - 4, y - 4)
Line3.To = Vec2(x - 10, y - 10)
Line3.Color = values.misc.client.hitmarker.Color
Line3.Visible = true
Line4.From = Vec2(x - 4, y + 4)
Line4.To = Vec2(x - 10, y + 10)
Line4.Color = values.misc.client.hitmarker.Color
Line4.Visible = true
Line.Transparency = 1
Line2.Transparency = 1
Line3.Transparency = 1
Line4.Transparency = 1
Line.Thickness = 1
Line2.Thickness = 1
Line3.Thickness = 1
Line4.Thickness = 1
wait(0.3)
for i = 1,0,-0.1 do
wait()
Line.Transparency = i
Line2.Transparency = i
Line3.Transparency = i
Line4.Transparency = i
end
Line:Remove()
Line2:Remove()
Line3:Remove()
Line4:Remove()
end
end)()
if values.visuals.world.hitsound.Dropdown == "none" then return end
local sound = INST("Sound")
sound.Parent = game:GetService("SoundService")
sound.SoundId = values.visuals.world.hitsound.Dropdown == "moan1" and "rbxassetid://2440889605" or values.visuals.world.hitsound.Dropdown == "skeet" and "rbxassetid://5633695679" or values.visuals.world.hitsound.Dropdown == "neverlose" and "rbxassetid://6534948092" or values.visuals.world.hitsound.Dropdown == "rust" and "rbxassetid://1255040462" or values.visuals.world.hitsound.Dropdown == "bag" and "rbxassetid://6534947588" or values.visuals.world.hitsound.Dropdown == "baimware" and "rbxassetid://3124331820" or values.visuals.world.hitsound.Dropdown == "moan2" and "rbxassetid://2440891382" or values.visuals.world.hitsound.Dropdown == "moan3" and "rbxassetid://2440889869" or values.visuals.world.hitsound.Dropdown == "moan4" and "rbxassetid://2440888376" or values.visuals.world.hitsound.Dropdown == "bell" and "rbxassetid://6534947240" or values.visuals.world.hitsound.Dropdown == "pop" and "rbxassetid://198598793" or values.visuals.world.hitsound.s.world.hitsound.Dropdown
sound.Volume = values.visuals.world["sound volume"].Slider
sound.PlayOnRemove = true
sound:Destroy()
end)
LocalPlayer.Status.Kills:GetPropertyChangedSignal("Value"):Connect(function(current)
if current == 0 then return end
if values.misc.chat["bloxsense kill say"].Toggle then
local bO={"1 by bloxsense.gay","1'd by bloxsense.gay","you just got beamed bloxsense.gay","im sorry thats a 1, bloxsense.gay on top","thats a 1 right there, could not have done it without bloxsense.gay"}
local bQ=bO[math.random(1,table.getn(bO))]
local bR=false
local bS="Innocent"
local bT=false
local bU=false
local bV=game:GetService("ReplicatedStorage").Events.PlayerChatted;bV:FireServer(bQ,bR,bS,bT,bU)
end
end)
LocalPlayer.Status.Kills:GetPropertyChangedSignal("Value"):Connect(function(current)
if current == 0 then return end
if values.misc.chat["flirt kill say"].Toggle then
local A_1 = chatmessages_Flirt[math.random(1,table.getn(chatmessages_Flirt))]
local A_2 = false
local A_3 = "Innocent"
local A_4 = false
local A_5 = false
local Event = game:GetService("ReplicatedStorage").Events.PlayerChatted
Event:FireServer(A_1, A_2, A_3, A_4, A_5)
end
end)
game.Players.LocalPlayer.Status.Kills.Changed:Connect(function(val)
if values.visuals.world['Killsoundtoggle'].Toggle ~= "" and val ~= 0 then
local marker = Instance.new("Sound")
marker.Parent = game:GetService("SoundService")
marker.SoundId = "rbxassetid://"..values.visuals.world['Killsound'].Text
marker.Volume = 3
marker:Play()
end
end)
LocalPlayer.Status.Kills:GetPropertyChangedSignal("Value"):Connect(function(current)
if current == 0 then return end
if values.misc.chat["kill say"].Toggle then
game:GetService("ReplicatedStorage").Events.PlayerChatted:FireServer(values.misc.chat["message"].Text ~= "" and values.misc.chat["message"].Text or "AYO !! π¨ BRO WATCH π YO JET WATCH YO- πΊπ½β", false, "Innocent", false, true)
end
end)
Camera.ChildAdded:Connect(function(obj)
if TBLFIND(values.misc.client["gun modifiers"].Jumbobox, "ammo") then
Client.ammocount = 999999
Client.primarystored = 999999
Client.ammocount2 = 999999
Client.secondarystored = 999999
end
RunService.RenderStepped:Wait()
if obj.Name ~= "Arms" then return end
local Model
for i,v in pairs(obj:GetChildren()) do
if v:IsA("Model") and (v:FindFirstChild("Right Arm") or v:FindFirstChild("Left Arm")) then
Model = v
end
end
if Model == nil then return end
for i,v in pairs(obj:GetChildren()) do
if (v:IsA("BasePart") or v:IsA("Part")) and v.Transparency ~= 1 and v.Name ~= "Flash" then
local valid = true
if v:IsA("Part") and v:FindFirstChild("Mesh") and not v:IsA("BlockMesh") then
valid = false
local success, err = pcall(function()
local OriginalTexture = INST("StringValue")
OriginalTexture.Value = v.Mesh.TextureId
OriginalTexture.Name = "OriginalTexture"
OriginalTexture.Parent = v.Mesh
end)
local success2, err2 = pcall(function()
local OriginalTexture = INST("StringValue")
OriginalTexture.Value = v.Mesh.TextureID
OriginalTexture.Name = "OriginalTexture"
OriginalTexture.Parent = v.Mesh
end)
if success or success2 then valid = true end
end
for i2,v2 in pairs(v:GetChildren()) do
if (v2:IsA("BasePart") or v2:IsA("Part")) then
INSERT(WeaponObj, v2)
end
end
if valid then
INSERT(WeaponObj, v)
end
end
end
local gunname = Client.gun ~= "none" and values.skins.knife["knife changer"].Toggle and Client.gun:FindFirstChild("Melee") and values.skins.knife.model.Scroll or Client.gun ~= "none" and Client.gun.Name
if values.skins.skins["skin changer"].Toggle and gunname ~= nil and Skins:FindFirstChild(gunname) then
if values.skins.skins.skin.Scroll[gunname] ~= "Inventory" then
MapSkin(gunname, values.skins.skins.skin.Scroll[gunname])
end
end
for _,v in pairs(WeaponObj) do
if v:IsA("MeshPart") then
local OriginalTexture = INST("StringValue")
OriginalTexture.Value = v.TextureID
OriginalTexture.Name = "OriginalTexture"
OriginalTexture.Parent = v
end
local OriginalColor = INST("Color3Value")
OriginalColor.Value = v.Color
OriginalColor.Name = "OriginalColor"
OriginalColor.Parent = v
local OriginalMaterial = INST("StringValue")
OriginalMaterial.Value = v.Material.Name
OriginalMaterial.Name = "OriginalMaterial"
OriginalMaterial.Parent = v
if values.visuals.effects["weapon chams"].Toggle then
UpdateWeapon(v)
end
end
RArm = Model:FindFirstChild("Right Arm"); LArm = Model:FindFirstChild("Left Arm")
if RArm then
local OriginalColor = INST("Color3Value")
OriginalColor.Value = RArm.Color
OriginalColor.Name = "Color3Value"
OriginalColor.Parent = RArm
if values.visuals.effects["arm chams"].Toggle then
RArm.Color = values.visuals.effects["arm chams"].Color
RArm.Transparency = values.visuals.effects["arm chams"].Transparency
end
RGlove = RArm:FindFirstChild("Glove") or RArm:FindFirstChild("RGlove")
if values.skins.glove["glove changer"].Toggle and Client.gun ~= "none" then
if RGlove then RGlove:Destroy() end
RGlove = GloveModels[values.skins.glove.model.Dropdown].RGlove:Clone()
RGlove.Mesh.TextureId = Gloves[values.skins.glove.model.Dropdown][values.skins.glove.model.Scroll[values.skins.glove.model.Dropdown]].Textures.TextureId
RGlove.Parent = RArm
RGlove.Transparency = 0
RGlove.Welded.Part0 = RArm
end
if RGlove.Transparency == 1 then
RGlove:Destroy()
RGlove = nil
else
local GloveTexture = INST("StringValue")
GloveTexture.Value = RGlove.Mesh.TextureId
GloveTexture.Name = "StringValue"
GloveTexture.Parent = RGlove
if values.visuals.effects["accessory chams"].Toggle then
UpdateAccessory(RGlove)
end
end
RSleeve = RArm:FindFirstChild("Sleeve")
if RSleeve ~= nil then
local SleeveTexture = INST("StringValue")
SleeveTexture.Value = RSleeve.Mesh.TextureId
SleeveTexture.Name = "StringValue"
SleeveTexture.Parent = RSleeve
if values.visuals.effects["arm chams"].Toggle then
LArm.Color = values.visuals.effects["arm chams"].Color
end
if values.visuals.effects["accessory chams"].Toggle then
UpdateAccessory(RSleeve)
end
end
end
if LArm then
local OriginalColor = INST("Color3Value")
OriginalColor.Value = LArm.Color
OriginalColor.Name = "Color3Value"
OriginalColor.Parent = LArm
if values.visuals.effects["arm chams"].Toggle then
LArm.Color = values.visuals.effects["arm chams"].Color
LArm.Transparency = values.visuals.effects["arm chams"].Transparency
end
LGlove = LArm:FindFirstChild("Glove") or LArm:FindFirstChild("LGlove")
if values.skins.glove["glove changer"].Toggle and Client.gun ~= "none" then
if LGlove then LGlove:Destroy() end
LGlove = GloveModels[values.skins.glove.model.Dropdown].LGlove:Clone()
LGlove.Mesh.TextureId = Gloves[values.skins.glove.model.Dropdown][values.skins.glove.model.Scroll[values.skins.glove.model.Dropdown]].Textures.TextureId
LGlove.Transparency = 0
LGlove.Parent = LArm
LGlove.Welded.Part0 = LArm
end
if LGlove.Transparency == 1 then
LGlove:Destroy()
LGlove = nil
else
local GloveTexture = INST("StringValue")
GloveTexture.Value = LGlove.Mesh.TextureId
GloveTexture.Name = "StringValue"
GloveTexture.Parent = LGlove
if values.visuals.effects["accessory chams"].Toggle then
UpdateAccessory(LGlove)
end
end
LSleeve = LArm:FindFirstChild("Sleeve")
if LSleeve ~= nil then
local SleeveTexture = INST("StringValue")
SleeveTexture.Value = LSleeve.Mesh.TextureId
SleeveTexture.Name = "StringValue"
SleeveTexture.Parent = LSleeve
if values.visuals.effects["accessory chams"].Toggle then
UpdateAccessory(LSleeve)
end
end
end
end)
Camera.ChildAdded:Connect(function(obj)
if obj.Name == "Arms" then
RArm, LArm, RGlove, RSleeve, LGlove, LSleeve = nil, nil, nil, nil, nil, nil
WeaponObj = {}
end
end)
Camera:GetPropertyChangedSignal("FieldOfView"):Connect(function(fov)
if LocalPlayer.Character == nil then return end
if fov == values.visuals.self["fov changer"].Slider then return end
if values.visuals.self["on scope"].Toggle or not LocalPlayer.Character:FindFirstChild("AIMING") then
Camera.FieldOfView = values.visuals.self["fov changer"].Slider
end
end)
LocalPlayer.Cash:GetPropertyChangedSignal("Value"):Connect(function(cash)
if values.misc.client["infinite cash"].Toggle and cash ~= 90000000 then
LocalPlayer.Cash.Value = 9000000
end
end)
if workspace:FindFirstChild("Map") and workspace:FindFirstChild("Map"):FindFirstChild("Origin") then
if workspace.Map.Origin.Value == "de_cache" or workspace.Map.Origin.Value == "de_vertigo" or workspace.Map.Origin.Value == "de_nuke" or workspace.Map.Origin.Value == "de_aztec" then
oldSkybox = Lighting:FindFirstChildOfClass("Sky"):Clone()
end
end
workspace.ChildAdded:Connect(function(obj)
if obj.Name == "Map" then
wait(5)
if values.misc.client["remove killers"].Toggle then
if workspace:FindFirstChild("Map") and workspace:FindFirstChild("Map"):FindFirstChild("Killers") then
local clone = workspace:FindFirstChild("Map"):FindFirstChild("Killers"):Clone()
clone.Name = "KillersClone"
clone.Parent = workspace:FindFirstChild("Map")
workspace:FindFirstChild("Map"):FindFirstChild("Killers"):Destroy()
end
end
if oldSkybox ~= nil then
oldSkybox:Destroy()
oldSkybox = nil
end
local Origin = workspace.Map:WaitForChild("Origin")
if workspace.Map.Origin.Value == "de_cache" or workspace.Map.Origin.Value == "de_vertigo" or workspace.Map.Origin.Value == "de_nuke" or workspace.Map.Origin.Value == "de_aztec" then
oldSkybox = Lighting:FindFirstChildOfClass("Sky"):Clone()
local sky = values.visuals.world.skybox.Dropdown
if sky ~= "none" then
Lighting:FindFirstChildOfClass("Sky"):Destroy()
local skybox = INST("Sky")
skybox.SkyboxLf = Skyboxes[sky].SkyboxLf
skybox.SkyboxBk = Skyboxes[sky].SkyboxBk
skybox.SkyboxDn = Skyboxes[sky].SkyboxDn
skybox.SkyboxFt = Skyboxes[sky].SkyboxFt
skybox.SkyboxRt = Skyboxes[sky].SkyboxRt
skybox.SkyboxUp = Skyboxes[sky].SkyboxUp
skybox.Name = "override"
skybox.Parent = Lighting
end
else
local sky = values.visuals.world.skybox.Dropdown
if sky ~= "none" then
local skybox = INST("Sky")
skybox.SkyboxLf = Skyboxes[sky].SkyboxLf
skybox.SkyboxBk = Skyboxes[sky].SkyboxBk
skybox.SkyboxDn = Skyboxes[sky].SkyboxDn
skybox.SkyboxFt = Skyboxes[sky].SkyboxFt
skybox.SkyboxRt = Skyboxes[sky].SkyboxRt
skybox.SkyboxUp = Skyboxes[sky].SkyboxUp
skybox.Name = "override"
skybox.Parent = Lighting
end
end
end
end)
Lighting.ChildAdded:Connect(function(obj)
if obj:IsA("Sky") and obj.Name ~= "override" then
oldSkybox = obj:Clone()
end
end)
local function CollisionTBL(obj)
if obj:IsA("Accessory") then
INSERT(Collision, obj)
end
if obj:IsA("Part") then
if obj.Name == "HeadHB" or obj.Name == "FakeHead" then
INSERT(Collision, obj)
end
end
end
LocalPlayer.CharacterAdded:Connect(function(char)
repeat RunService.RenderStepped:Wait()
until char:FindFirstChild("Gun")
SelfObj = {}
if values.skins.characters["character changer"].Toggle then
ChangeCharacter(ChrModels:FindFirstChild(values.skins.characters.skin.Scroll))
end
if char:FindFirstChildOfClass("Shirt") then
local String = INST("StringValue")
String.Name = "OriginalTexture"
String.Value = char:FindFirstChildOfClass("Shirt").ShirtTemplate
String.Parent = char:FindFirstChildOfClass("Shirt")
if TBLFIND(values.visuals.effects.removals.Jumbobox, "clothes") then
char:FindFirstChildOfClass("Shirt").ShirtTemplate = ""
end
end
if char:FindFirstChildOfClass("Pants") then
local String = INST("StringValue")
String.Name = "OriginalTexture"
String.Value = char:FindFirstChildOfClass("Pants").PantsTemplate
String.Parent = char:FindFirstChildOfClass("Pants")
if TBLFIND(values.visuals.effects.removals.Jumbobox, "clothes") then
char:FindFirstChildOfClass("Pants").PantsTemplate = ""
end
end
for i,v in pairs(char:GetChildren()) do
if v:IsA("BasePart") and v.Transparency ~= 1 then
INSERT(SelfObj, v)
local Color = INST("Color3Value")
Color.Name = "OriginalColor"
Color.Value = v.Color
Color.Parent = v
local String = INST("StringValue")
String.Name = "OriginalMaterial"
String.Value = v.Material.Name
String.Parent = v
elseif v:IsA("Accessory") and v.Handle.Transparency ~= 1 then
INSERT(SelfObj, v.Handle)
local Color = INST("Color3Value")
Color.Name = "OriginalColor"
Color.Value = v.Handle.Color
Color.Parent = v.Handle
local String = INST("StringValue")
String.Name = "OriginalMaterial"
String.Value = v.Handle.Material.Name
String.Parent = v.Handle
end
end
if values.visuals.self["self chams"].Toggle then
for _,obj in pairs(SelfObj) do
if obj.Parent ~= nil then
obj.Material = values.visuals.self["self chams material"].Dropdown
obj.Color = values.visuals.self["self chams"].Color
end
end
end
LocalPlayer.Character.ChildAdded:Connect(function(Child)
if Child:IsA("Accessory") and Child.Handle.Transparency ~= 1 then
INSERT(SelfObj, Child.Handle)
local Color = INST("Color3Value")
Color.Name = "OriginalColor"
Color.Value = Child.Handle.Color
Color.Parent = Child.Handle
local String = INST("StringValue")
String.Name = "OriginalMaterial"
String.Value = Child.Handle.Material.Name
String.Parent = Child.Handle
if values.visuals.self["self chams"].Toggle then
for _,obj in pairs(SelfObj) do
if obj.Parent ~= nil then
obj.Material = values.visuals.self["self chams material"].Dropdown
obj.Color = values.visuals.self["self chams"].Color
end
end
end
end
end)
if values.misc.animations.enabled.Toggle and values.misc.animations.enabled.Active then
LoadedAnim = LocalPlayer.Character.Humanoid:LoadAnimation(Dance)
LoadedAnim.Priority = Enum.AnimationPriority.Action
LoadedAnim:Play()
end
end)
if LocalPlayer.Character ~= nil then
for i,v in pairs(LocalPlayer.Character:GetChildren()) do
if v:IsA("BasePart") and v.Transparency ~= 1 then
INSERT(SelfObj, v)
local Color = INST("Color3Value")
Color.Name = "OriginalColor"
Color.Value = v.Color
Color.Parent = v
local String = INST("StringValue")
String.Name = "OriginalMaterial"
String.Value = v.Material.Name
String.Parent = v
elseif v:IsA("Accessory") and v.Handle.Transparency ~= 1 then
INSERT(SelfObj, v.Handle)
local Color = INST("Color3Value")
Color.Name = "OriginalColor"
Color.Value = v.Handle.Color
Color.Parent = v.Handle
local String = INST("StringValue")
String.Name = "OriginalMaterial"
String.Value = v.Handle.Material.Name
String.Parent = v.Handle
end
end
if values.visuals.self["self chams"].Toggle then
for _,obj in pairs(SelfObj) do
if obj.Parent ~= nil then
obj.Material = values.visuals.self["self chams material"].Dropdown
obj.Color = values.visuals.self["self chams"].Color
end
end
end
LocalPlayer.Character.ChildAdded:Connect(function(Child)
if Child:IsA("Accessory") and Child.Handle.Transparency ~= 1 then
INSERT(SelfObj, Child.Handle)
local Color = INST("Color3Value")
Color.Name = "OriginalColor"
Color.Value = Child.Handle.Color
Color.Parent = Child.Handle
local String = INST("StringValue")
String.Name = "OriginalMaterial"
String.Value = Child.Handle.Material.Name
String.Parent = Child.Handle
if values.visuals.self["self chams"].Toggle then
for _,obj in pairs(SelfObj) do
if obj.Parent ~= nil then
obj.Material = values.visuals.self["self chams material"].Dropdown
obj.Color = values.visuals.self["self chams"].Color
end
end
end
end
end)
end
Players.PlayerAdded:Connect(function(Player)
Player:GetPropertyChangedSignal("Team"):Connect(function(new)
wait()
if Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") then
for _2,Obj in pairs(Player.Character:GetDescendants()) do
if Obj.Name == "VisibleCham" then
if values.visuals.players["visible chams"].Toggle then
if values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
Obj.Visible = true
else
Obj.Visible = false
end
else
Obj.Visible = false
end
Obj.Color3 = values.visuals.players["visible chams"].Color
end
end
end
end)
Player.CharacterAdded:Connect(function(Character)
Character.ChildAdded:Connect(function(obj)
wait(1)
CollisionTBL(obj)
end)
wait(1)
if Character ~= nil then
local Value = Instance.new("Vector3Value")
Value.Name = "OldPosition"
Value.Value = Character.HumanoidRootPart.Position
Value.Parent = Character.HumanoidRootPart
for _,obj in pairs(Character:GetChildren()) do
if obj:IsA("BasePart") and Player ~= LocalPlayer and obj.Name ~= "HumanoidRootPart" and obj.Name ~= "Head" and obj.Name ~= "BackC4" and obj.Name ~= "HeadHB" then
local VisibleCham = Instance.new("BoxHandleAdornment")
VisibleCham.Name = "VisibleCham"
VisibleCham.AlwaysOnTop = false
VisibleCham.ZIndex = 8
VisibleCham.Size = obj.Size + Vector3.new(0.18,0.18,0.18)
VisibleCham.AlwaysOnTop = false
VisibleCham.Transparency = 0.05
if values.visuals.players["visible chams"].Toggle then
if values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
VisibleCham.Visible = true
else
VisibleCham.Visible = false
end
else
VisibleCham.Visible = false
end
table.insert(ChamItems, VisibleCham)
VisibleCham.Color3 = values.visuals.players["visible chams"].Color
VisibleCham.AdornCullingMode = "Never"
VisibleCham.Adornee = obj
VisibleCham.Parent = obj
end
end
end
end)
end)
for _,Player in pairs(Players:GetPlayers()) do
if Player ~= LocalPlayer then
Player:GetPropertyChangedSignal("Team"):Connect(function(new)
wait()
if Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") then
for _2,Obj in pairs(Player.Character:GetDescendants()) do
if Obj.Name == "VisibleCham"then
if values.visuals.players["visible chams"].Toggle then
if values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
Obj.Visible = true
else
Obj.Visible = false
end
else
Obj.Visible = false
end
Obj.Color3 = values.visuals.players["visible chams"].Color
end
end
end
end)
else
LocalPlayer:GetPropertyChangedSignal("Team"):Connect(function(new)
wait()
for _,Player in pairs(Players:GetPlayers()) do
if Player.Character then
for _2,Obj in pairs(Player.Character:GetDescendants()) do
if Obj.Name == "VisibleCham" then
if values.visuals.players["visible chams"].Toggle then
if values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
Obj.Visible = true
else
Obj.Visible = false
end
else
Obj.Visible = false
end
Obj.Color3 = values.visuals.players["visible chams"].Color
end
end
end
end
end)
end
Player.CharacterAdded:Connect(function(Character)
Character.ChildAdded:Connect(function(obj)
wait(1)
CollisionTBL(obj)
end)
wait(1)
if Player.Character ~= nil and Player.Character:FindFirstChild("HumanoidRootPart") then
local Value = Instance.new("Vector3Value")
Value.Value = Player.Character.HumanoidRootPart.Position
Value.Name = "OldPosition"
Value.Parent = Player.Character.HumanoidRootPart
for _,obj in pairs(Player.Character:GetChildren()) do
if obj:IsA("BasePart") and Player ~= LocalPlayer and obj.Name ~= "HumanoidRootPart" and obj.Name ~= "Head" and obj.Name ~= "BackC4" and obj.Name ~= "HeadHB" then
local VisibleCham = Instance.new("BoxHandleAdornment")
VisibleCham.Name = "VisibleCham"
VisibleCham.AlwaysOnTop = false
VisibleCham.ZIndex = 5
VisibleCham.Size = obj.Size + Vector3.new(0.18,0.18,0.18)
VisibleCham.AlwaysOnTop = false
VisibleCham.Transparency = 0.05
if values.visuals.players["visible chams"].Toggle then
if values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
VisibleCham.Visible = true
else
VisibleCham.Visible = false
end
else
VisibleCham.Visible = false
end
table.insert(ChamItems, VisibleCham)
VisibleCham.Color3 = values.visuals.players["visible chams"].Color
VisibleCham.AdornCullingMode = "Never"
VisibleCham.Adornee = obj
VisibleCham.Parent = obj
end
end
end
end)
if Player.Character ~= nil and Player.Character:FindFirstChild("UpperTorso") then
local Value = Instance.new("Vector3Value")
Value.Name = "OldPosition"
Value.Value = Player.Character.HumanoidRootPart.Position
Value.Parent = Player.Character.HumanoidRootPart
for _,obj in pairs(Player.Character:GetChildren()) do
CollisionTBL(obj)
if obj:IsA("BasePart") and Player ~= LocalPlayer and obj.Name ~= "HumanoidRootPart" and obj.Name ~= "Head" and obj.Name ~= "BackC4" and obj.Name ~= "HeadHB" then
local VisibleCham = Instance.new("BoxHandleAdornment")
VisibleCham.Name = "VisibleCham"
VisibleCham.AlwaysOnTop = false
VisibleCham.ZIndex = 5
VisibleCham.Size = obj.Size + Vector3.new(0.18,0.18,0.18)
VisibleCham.AlwaysOnTop = false
VisibleCham.Transparency = 0.05
if values.visuals.players["visible chams"].Toggle then
if values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
VisibleCham.Visible = true
else
VisibleCham.Visible = false
end
else
VisibleCham.Visible = false
end
table.insert(ChamItems, VisibleCham)
VisibleCham.Color3 = values.visuals.players["visible chams"].Color
VisibleCham.AdornCullingMode = "Never"
VisibleCham.Adornee = obj
VisibleCham.Parent = obj
end
end
end
end
Players.PlayerAdded:Connect(function(Player)
Player:GetPropertyChangedSignal("Team"):Connect(function(new)
wait()
if Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") then
for _2,Obj in pairs(Player.Character:GetDescendants()) do
if Obj.Name == "WallCham" then
if values.visuals.players["chams"].Toggle then
if values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
Obj.Visible = true
else
Obj.Visible = false
end
else
Obj.Visible = false
end
Obj.Color3 = values.visuals.players["chams"].Color
end
end
end
end)
Player.CharacterAdded:Connect(function(Character)
Character.ChildAdded:Connect(function(obj)
wait(1)
CollisionTBL(obj)
end)
wait(1)
if Character ~= nil then
local Value = Instance.new("Vector3Value")
Value.Name = "OldPosition"
Value.Value = Character.HumanoidRootPart.Position
Value.Parent = Character.HumanoidRootPart
for _,obj in pairs(Character:GetChildren()) do
if obj:IsA("BasePart") and Player ~= LocalPlayer and obj.Name ~= "HumanoidRootPart" and obj.Name ~= "Head" and obj.Name ~= "BackC4" and obj.Name ~= "HeadHB" then
local WallCham = Instance.new("BoxHandleAdornment")
WallCham.Name = "WallCham"
WallCham.AlwaysOnTop = true
WallCham.ZIndex = 5
WallCham.Size = obj.Size + Vector3.new(0.08,0.08,0.08)
WallCham.AlwaysOnTop = true
WallCham.Transparency = 0.7
if values.visuals.players["chams"].Toggle then
if values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
WallCham.Visible = true
else
WallCham.Visible = false
end
else
WallCham.Visible = false
end
table.insert(ChamItems, WallCham)
WallCham.Color3 = values.visuals.players["chams"].Color
WallCham.AdornCullingMode = "Never"
WallCham.Adornee = obj
WallCham.Parent = obj
end
end
end
end)
end)
for _,Player in pairs(Players:GetPlayers()) do
if Player ~= LocalPlayer then
Player:GetPropertyChangedSignal("Team"):Connect(function(new)
wait()
if Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") then
for _2,Obj in pairs(Player.Character:GetDescendants()) do
if Obj.Name == "WallCham" then
if values.visuals.players["chams"].Toggle then
if values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
Obj.Visible = true
else
Obj.Visible = false
end
else
Obj.Visible = false
end
Obj.Color3 = values.visuals.players["chams"].Color
end
end
end
end)
else
LocalPlayer:GetPropertyChangedSignal("Team"):Connect(function(new)
wait()
for _,Player in pairs(Players:GetPlayers()) do
if Player.Character then
for _2,Obj in pairs(Player.Character:GetDescendants()) do
if Obj.Name == "WallCham" then
if values.visuals.players["chams"].Toggle then
if values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
Obj.Visible = true
else
Obj.Visible = false
end
else
Obj.Visible = false
end
Obj.Color3 = values.visuals.players["chams"].Color
end
end
end
end
end)
end
Player.CharacterAdded:Connect(function(Character)
Character.ChildAdded:Connect(function(obj)
wait(1)
CollisionTBL(obj)
end)
wait(1)
if Player.Character ~= nil and Player.Character:FindFirstChild("HumanoidRootPart") then
local Value = Instance.new("Vector3Value")
Value.Value = Player.Character.HumanoidRootPart.Position
Value.Name = "OldPosition"
Value.Parent = Player.Character.HumanoidRootPart
for _,obj in pairs(Player.Character:GetChildren()) do
if obj:IsA("BasePart") and Player ~= LocalPlayer and obj.Name ~= "HumanoidRootPart" and obj.Name ~= "Head" and obj.Name ~= "BackC4" and obj.Name ~= "HeadHB" then
local WallCham = Instance.new("BoxHandleAdornment")
WallCham.Name = "WallCham"
WallCham.AlwaysOnTop = true
WallCham.ZIndex = 5
WallCham.Size = obj.Size + Vector3.new(0.08,0.08,0.08)
WallCham.AlwaysOnTop = true
WallCham.Transparency = 0.7
if values.visuals.players["chams"].Toggle then
if values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
WallCham.Visible = true
else
WallCham.Visible = false
end
else
WallCham.Visible = false
end
table.insert(ChamItems, WallCham)
WallCham.Color3 = values.visuals.players["chams"].Color
WallCham.AdornCullingMode = "Never"
WallCham.Adornee = obj
WallCham.Parent = obj
end
end
end
end)
if Player.Character ~= nil and Player.Character:FindFirstChild("UpperTorso") then
local Value = Instance.new("Vector3Value")
Value.Name = "OldPosition"
Value.Value = Player.Character.HumanoidRootPart.Position
Value.Parent = Player.Character.HumanoidRootPart
for _,obj in pairs(Player.Character:GetChildren()) do
CollisionTBL(obj)
if obj:IsA("BasePart") and Player ~= LocalPlayer and obj.Name ~= "HumanoidRootPart" and obj.Name ~= "Head" and obj.Name ~= "BackC4" and obj.Name ~= "HeadHB" then
local WallCham = Instance.new("BoxHandleAdornment")
WallCham.Name = "WallCham"
WallCham.AlwaysOnTop = true
WallCham.ZIndex = 5
WallCham.Size = obj.Size + Vector3.new(0.08,0.08,0.08)
WallCham.AlwaysOnTop = true
WallCham.Transparency = 0.7
if values.visuals.players["chams"].Toggle then
if values.visuals.players.teammates.Toggle or Player.Team ~= LocalPlayer.Team then
WallCham.Visible = true
else
WallCham.Visible = false
end
else
WallCham.Visible = false
end
table.insert(ChamItems, WallCham)
WallCham.Color3 = values.visuals.players["chams"].Color
WallCham.AdornCullingMode = "Never"
WallCham.Adornee = obj
WallCham.Parent = obj
end
end
end
end
--hi



this
how do i toggle it
ins
@zebforsus how do i toggle the script
how do i change the toggle key cause i dont have an ins key on my laptop keyboard
detected dont use
i cant ******* edit