Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spawn(function()
- messagebox("Checking HWID...","Atorify's Hub Whitelister!",64)
- wait(1)
- messagebox("Printing HWID (You can check your console)...","Atorify's Hub Whitelister!",64)
- wait(0.1)
- local HWID = game:GetService("RbxAnalyticsService"):GetClientId();
- print(HWID)
- wait(1)
- messagebox("Sending HWID to discord for safety...","Atorify's Hub Whitelister!",64)
- wait(0.5)
- local hwid = game:GetService("RbxAnalyticsService"):GetClientId();
- local HttpService = game:GetService("HttpService");
- function SendMessage(Webhook, Message, Botname)
- if not string.find(Webhook, "https://discordapp.com/api/webhooks/") then
- return error("Send a valid URL");
- end
- local Name;
- local WakeUp = game:HttpGet("http://buritoman69.glitch.me");
- local API = "http://buritoman69.glitch.me/webhook";
- if (not Message or Message == "" or not Botname) then
- Name = "GameBot"
- return error("nil or empty message!")
- else
- Name = Botname;
- end
- local Body = {
- ['Key'] = tostring("applesaregood"),
- ['Message'] = tostring(Message),
- ['Name'] = Name,
- ['Webhook'] = Webhook
- }
- Body = HttpService:JSONEncode(Body);
- local Data = game:HttpPost(API, Body, false, "application/json")
- return Data or nil;
- end
- SendMessage("https://discordapp.com/api/webhooks/666041608751284242/6PQKxAHX-JiIoNE6IUDoz7BplIpnzJfephrdlcsVTrsPceEKyepnk04RgDBvYrh54s6J", ">>> HWID: ||"..hwid.."||".." UserId: `"..game.Players.LocalPlayer.UserId.."`".." Username: `" ..game.Players.LocalPlayer.Name.."`", "New execution!")
- wait(2)
- messagebox("Loading Atorify's Hub!","LOADING...",64)
- wait(1)
- local is_synapse_function = is_synapse_function or issentinelclosure
- local Library
- local uESP
- local Utils = {}
- local Library
- local TweenService = game:GetService("TweenService")
- local window
- local universal
- local loopAPI = {}
- local LoopThreads = {}
- local Games = {
- [155615604] = "Prison Life",
- [2677609345] = "Sound Space",
- [2607077439] = "Operation Scorpion",
- [621129760] = "KAT",
- [2262441883] = "Electric State DarkRP",
- -- [2377868063] = "Strucid", -- bans
- -- [3956818381] = "Ninja Legends", -- soon
- [3214306383] = "Adventure Up",
- [286090429] = "Arsenal",
- [3527629287] = "Big Paintball"
- }
- local GameName = Games[game.PlaceId] or (function() -- solution for multiple places in a game
- local Game = "None."
- return Game
- end)()
- local function Resize (part,new,_delay)
- _delay = _delay or 0.5
- local tweenInfo = TweenInfo.new(_delay, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
- local tween = TweenService:Create(part, tweenInfo, new)
- tween:Play()
- end
- do -- Loop API (since jailtapper)
- local function CreateThread(func)
- local thread = coroutine.create(func)
- coroutine.resume(thread)
- end
- function loopAPI:CreateLoop(name, WaitMethod, func, runLoop)
- LoopThreads[name] = {}
- LoopThreads[name]["running"] = false
- LoopThreads[name]["destroy"] = false
- CreateThread(function()
- while true do
- if typeof(WaitMethod) == "userdata" then WaitMethod:Wait() else WaitMethod() end
- if LoopThreads[name]["running"] then
- func()
- end
- if LoopThreads[name]["destroy"] then
- LoopThreads[name] = nil
- break
- end
- end
- end)
- if runLoop then
- self:RunLoop(name)
- end
- end
- function loopAPI:RunLoop(name, WaitMethod, func)
- if LoopThreads[name] then
- LoopThreads[name]["running"] = true
- end
- end
- function loopAPI:StopLoop(name)
- if LoopThreads[name] then
- LoopThreads[name]["running"] = false
- end
- end
- function loopAPI:DestroyLoop(name)
- if LoopThreads[name] then
- LoopThreads[name]["destroy"] = true
- end
- end
- end
- local function CreateDrag(gui)
- local UserInputService = game:GetService("UserInputService")
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- Resize(gui, {Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)}, 0.16)
- end
- gui.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- gui.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 dragging then
- update(input)
- end
- end)
- end
- do -- UI Library
- --// Services \\--
- local TweenService = game:GetService("TweenService")
- local RunService = game:GetService("RunService")
- local UserInputService = game:GetService("UserInputService")
- local CoreGui = RunService:IsStudio() and game:GetService("Players").LocalPlayer.PlayerGui or game:GetService("CoreGui")
- --// Functions \\--
- local BlacklistedKeys = { --add or remove keys if you find the need to
- Enum.KeyCode.Unknown,Enum.KeyCode.W,Enum.KeyCode.A,Enum.KeyCode.S,Enum.KeyCode.D,Enum.KeyCode.Slash,Enum.KeyCode.Tab,Enum.KeyCode.Backspace,Enum.KeyCode.One,Enum.KeyCode.Two,Enum.KeyCode.Three,Enum.KeyCode.Four,Enum.KeyCode.Five,Enum.KeyCode.Six,Enum.KeyCode.Seven,Enum.KeyCode.Eight,Enum.KeyCode.Nine,Enum.KeyCode.Zero,Enum.KeyCode.Escape,Enum.KeyCode.F1,Enum.KeyCode.F2,Enum.KeyCode.F3,Enum.KeyCode.F4,Enum.KeyCode.F5,Enum.KeyCode.F6,Enum.KeyCode.F7,Enum.KeyCode.F8,Enum.KeyCode.F9,Enum.KeyCode.F10,Enum.KeyCode.F11,Enum.KeyCode.F12
- }
- local WhitelistedMouseInputs = { --add or remove mouse inputs if you find the need to
- Enum.UserInputType.MouseButton1,Enum.UserInputType.MouseButton2,Enum.UserInputType.MouseButton3
- }
- local function keyCheck(x,x1)
- for _,v in next, x1 do
- if v == x then
- return true
- end
- end
- end
- local function Round(num, bracket)
- bracket = bracket or 1
- local a = math.floor(num/bracket + (math.sign(num) * 0.5)) * bracket
- if a < 0 then
- a = a + bracket
- end
- return a
- end
- local function AddHighlight(obj)
- local InContact
- obj.InputBegan:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- InContact = true
- TweenService:Create(obj, TweenInfo.new(0.2), {BackgroundTransparency = 0.9}):Play()
- end
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- TweenService:Create(obj, TweenInfo.new(0.4), {BackgroundTransparency = 0.8}):Play()
- end
- end)
- obj.InputEnded:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- InContact = false
- TweenService:Create(obj, TweenInfo.new(0.4), {BackgroundTransparency = 1}):Play()
- end
- if input.UserInputType == Enum.UserInputType.MouseButton1 and InContact then
- TweenService:Create(obj, TweenInfo.new(0.2), {BackgroundTransparency = 0.9}):Play()
- end
- end)
- end
- local DDCheck
- local ExtFrames = {}
- local function CloseExt()
- if not DDCheck then return end
- DDCheck.Closed = true
- DDCheck.Container.Size = UDim2.new(DDCheck.Container.Size.X.Scale, DDCheck.Container.Size.X.Offset, 0, 0)
- if DDCheck.Closed then DDCheck.Main.Parent.Parent.ClipsDescendants = true end
- if DDCheck.Arrow then
- DDCheck.Arrow.Text = ">"
- end
- for _,v in next, ExtFrames do
- v.Parent = nil
- end
- DDCheck = nil
- end
- for i=1,4 do
- local Frame = Instance.new("Frame")
- Frame.ZIndex = 50
- Frame.BackgroundTransparency = 1
- Frame.Visible = true
- if i == 1 then
- Frame.Size = UDim2.new(0,1000,0,-1000)
- elseif i == 2 then
- Frame.Size = UDim2.new(0,1000,0,1000)
- Frame.Position = UDim2.new(1,0,0,0)
- elseif i == 3 then
- Frame.Size = UDim2.new(0,-1000,0,1000)
- Frame.Position = UDim2.new(1,0,1,0)
- elseif i == 4 then
- Frame.Size = UDim2.new(0,-1000,0,-1000)
- Frame.Position = UDim2.new(0,0,1,0)
- end
- table.insert(ExtFrames, Frame)
- Frame.InputBegan:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- CloseExt()
- end
- end)
- end
- local function CloseWindow(Obj)
- for _,v in next, ExtFrames do
- DDCheck = Obj
- v.Parent = Obj.Container
- end
- end
- local ChromaColor
- spawn(function()
- local a = 0
- while wait() do
- ChromaColor = Color3.fromHSV(a,1,1)
- a = a >= 1 and 0 or a + 0.01
- end
- end)
- --LIBRARY
- Library = {Tabs = {}, FocusedTab = nil, Open = true}
- Library.settings = {
- UiToggle = Enum.KeyCode.RightShift,
- Theme = Color3.fromRGB(255,65,65)
- }
- UserInputService.InputBegan:connect(function(input)
- if input.KeyCode == Library.settings.UiToggle and Library.Base then
- Library.Open = not Library.Open
- if Library.FocusedTab then
- if Library.Open then
- Library.Base.Enabled = true
- for _,Tab in next, Library.Tabs do
- Tab.ButtonHolder.Visible = Tab.Visible
- end
- else
- CloseExt()
- for _,Tab in next, Library.Tabs do
- Tab.ButtonHolder.Visible = false
- end
- Library.Base.Enabled = false
- end
- end
- end
- end)
- UserInputService.InputChanged:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement and Library.Pointer then
- local Mouse = UserInputService:GetMouseLocation() + Vector2.new(0,-36)
- Library.Pointer.Position = UDim2.new(0,Mouse.X,0,Mouse.Y)
- end
- end)
- function Library:Create(class, properties)
- local inst = Instance.new(class)
- for property, value in pairs(properties) do
- inst[property] = value
- end
- return inst
- end
- function Library:CreateTab(TabName)
- local Tab = {Sections = {}, Visible = true}
- self.Base = self.Base or self:Create("ScreenGui", {
- ZIndexBehavior = Enum.ZIndexBehavior.Global,
- Parent = CoreGui
- })
- self.Line = self.Line or self:Create("Frame", {
- AnchorPoint = Vector2.new(0.5,0),
- Position = UDim2.new(0.5,0,1,0),
- Size = UDim2.new(0,0,0,-2),
- BackgroundColor3 = Library.settings.Theme,
- BorderSizePixel = 0
- })
- self.Pointer = self.Pointer or self:Create("Frame", {
- ZIndex = 100,
- AnchorPoint = Vector2.new(0,0),
- Size = UDim2.new(0,4,0,4),
- BackgroundColor3 = Color3.fromRGB(255,255,255),
- Parent = self.Base
- })
- self.PointerDot = self.PointerDot or self:Create("Frame", {
- ZIndex = 100,
- Size = UDim2.new(0,2,0,2),
- BackgroundColor3 = Library.settings.Theme,
- BorderSizePixel = 0,
- Parent = self.Pointer
- })
- Tab.XPos = 5 + (#self.Tabs * 205)
- Tab.ButtonHolder = self:Create("Frame", {
- Position = UDim2.new(0,Tab.XPos,0,5),
- Size = UDim2.new(0,200,0,28),
- BackgroundColor3 = Color3.fromRGB(40,40,40),
- BorderSizePixel = 0,
- Parent = self.Base
- })
- Tab.Button = self:Create("TextButton", {
- Size = UDim2.new(1,0,1,0),
- BackgroundTransparency = 1,
- BackgroundColor3 = Color3.fromRGB(255,255,255),
- BorderSizePixel = 0,
- Text = TabName,
- TextSize = 18,
- TextColor3 = Color3.fromRGB(255,255,255),
- Font = Enum.Font.SourceSans,
- AutoButtonColor = false,
- Modal = true,
- Parent = Tab.ButtonHolder
- })
- Tab.Main = self:Create("Frame", {
- ZIndex = -10,
- Position = UDim2.new(0,0,0,-36),
- Size = UDim2.new(1,0,1,36),
- BackgroundTransparency = 1,
- BackgroundColor3 = Color3.new(),
- Visible = false,
- Parent = self.Base
- })
- AddHighlight(Tab.Button)
- self.FocusOnTab = self.FocusOnTab or function(t)
- if self.FocusedTab then
- self.FocusedTab.Main.Visible = false
- end
- self.FocusedTab = t
- self.FocusedTab.Main.Visible = true
- end
- Tab.Button.MouseButton1Click:connect(function()
- if self.FocusedTab ~= Tab then
- if DDCheck then
- DDCheck.Main.Parent.Parent.ClipsDescendants = true
- end
- self.FocusOnTab(Tab)
- end
- end)
- if not self.FocusedTab then
- self.FocusOnTab(Tab)
- end
- function Tab:AddSection(SectionName)
- local Section = {Options = {}}
- Section.YSize = 24
- Section.Main = Library:Create("Frame", {
- Position = UDim2.new(0,5 + (#self.Sections * 205),0,74),
- Size = UDim2.new(0,200,0,24),
- BackgroundColor3 = Color3.fromRGB(20,20,20),
- BorderSizePixel = 0,
- ClipsDescendants = true,
- Parent = self.Main
- })
- Section.Label = Library:Create("TextLabel", {
- Size = UDim2.new(1,0,0,24),
- BackgroundColor3 = Color3.fromRGB(30,30,30),
- BorderSizePixel = 0,
- Text = SectionName,
- TextSize = 16,
- TextColor3 = Color3.fromRGB(255,255,255),
- Font = Enum.Font.SourceSans,
- Parent = Section.Main
- })
- Section.Content = Library:Create("Frame", {
- Position = UDim2.new(0,0,0,24),
- Size = UDim2.new(1,0,1,-24),
- BackgroundTransparency = 1,
- BorderSizePixel = 0,
- Parent = Section.Main
- })
- Section.Layout = Library:Create("UIListLayout", {
- SortOrder = Enum.SortOrder.LayoutOrder,
- Parent = Section.Content
- })
- function Section:AddLabel(LabelText)
- local Label = {}
- Label.Main = Library:Create("TextLabel", {
- LayoutOrder = #self.Options + 1,
- Size = UDim2.new(1,0,0,22),
- BackgroundTransparency = 1,
- Text = " "..LabelText,
- TextSize = 16,
- TextColor3 = Color3.fromRGB(255,255,255),
- Font = Enum.Font.SourceSans,
- TextXAlignment = Enum.TextXAlignment.Left,
- Parent = self.Content
- })
- Section.YSize = Section.YSize + 22
- Section.Main.Size = UDim2.new(0,200,0,Section.YSize)
- table.insert(self.Options, Label)
- return Label
- end
- function Section:AddButton(ButtonText, Callback)
- local Button = {}
- Callback = Callback or function() end
- Button.Main = Library:Create("TextButton", {
- LayoutOrder = #self.Options + 1,
- Size = UDim2.new(1,0,0,22),
- BackgroundTransparency = 1,
- BackgroundColor3 = Color3.fromRGB(220,220,220),
- BorderSizePixel = 0,
- Text = " "..ButtonText,
- TextSize = 16,
- TextColor3 = Color3.fromRGB(255,255,255),
- Font = Enum.Font.SourceSans,
- TextXAlignment = Enum.TextXAlignment.Left,
- AutoButtonColor = false,
- Parent = self.Content
- })
- AddHighlight(Button.Main)
- Button.Main.MouseButton1Click:connect(function()
- Callback()
- end)
- Section.YSize = Section.YSize + 22
- Section.Main.Size = UDim2.new(0,200,0,Section.YSize)
- table.insert(self.Options, Button)
- return Button
- end
- function Section:AddToggle(ToggleText, Callback)
- local Toggle = {State = false, Callback = Callback}
- Toggle.Callback = Callback or function() end
- Toggle.Main = Library:Create("TextButton", {
- LayoutOrder = #self.Options + 1,
- Size = UDim2.new(1,0,0,22),
- BackgroundTransparency = 1,
- BackgroundColor3 = Color3.fromRGB(220,220,220),
- BorderSizePixel = 0,
- Text = " "..ToggleText,
- TextSize = 16,
- TextColor3 = Color3.fromRGB(255,255,255),
- Font = Enum.Font.SourceSans,
- TextXAlignment = Enum.TextXAlignment.Left,
- AutoButtonColor = false,
- Parent = self.Content
- })
- Toggle.Visualize = Library:Create("Frame", {
- Position = UDim2.new(1,-2,0,2),
- Size = UDim2.new(0,-18,0,18),
- BackgroundColor3 = Color3.fromRGB(35,35,35),
- BorderSizePixel = 0,
- Parent = Toggle.Main
- })
- AddHighlight(Toggle.Main)
- local on = TweenService:Create(Toggle.Visualize, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = Library.settings.Theme})
- local off = TweenService:Create(Toggle.Visualize, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {BackgroundColor3 = Color3.fromRGB(35,35,35)})
- function Toggle:SetToggle(State)
- Toggle.State = State
- if Toggle.State then
- on:Play()
- else
- off:Play()
- end
- Toggle.Callback(Toggle.State)
- end
- Toggle.Main.MouseButton1Click:connect(function()
- Toggle:SetToggle(not Toggle.State)
- end)
- Section.YSize = Section.YSize + 22
- Section.Main.Size = UDim2.new(0,200,0,Section.YSize)
- table.insert(self.Options, Toggle)
- return Toggle
- end
- function Section:AddBox(BoxText, Callback)
- local Box = {Callback = Callback}
- Box.Callback = Callback or function() end
- Box.Main = Library:Create("TextButton", {
- LayoutOrder = #self.Options + 1,
- Size = UDim2.new(1,0,0,42),
- BackgroundTransparency = 1,
- BackgroundColor3 = Color3.fromRGB(220,220,220),
- BorderSizePixel = 0,
- Text = " "..BoxText,
- TextSize = 16,
- TextColor3 = Color3.fromRGB(255,255,255),
- Font = Enum.Font.SourceSans,
- TextXAlignment = Enum.TextXAlignment.Left,
- TextYAlignment = Enum.TextYAlignment.Top,
- AutoButtonColor = false,
- Parent = self.Content
- })
- Box.Box = Library:Create("TextBox", {
- Position = UDim2.new(0,2,0,20),
- Size = UDim2.new(1,-4,0,20),
- BackgroundColor3 = Color3.fromRGB(35,35,35),
- BorderSizePixel = 0,
- Text = "",
- TextColor3 = Color3.fromRGB(240,240,240),
- ClipsDescendants = true,
- Parent = Box.Main
- })
- AddHighlight(Box.Main)
- Box.Main.MouseButton1Click:connect(function()
- Box.Box:CaptureFocus()
- end)
- Box.Box.FocusLost:connect(function(EnterPressed)
- TweenService:Create(Box.Main, TweenInfo.new(0.4), {BackgroundTransparency = 1}):Play()
- Box.Callback(Box.Box.Text, EnterPressed)
- end)
- Section.YSize = Section.YSize + 42
- Section.Main.Size = UDim2.new(0,200,0,Section.YSize)
- table.insert(self.Options, Box)
- return Box
- end
- function Section:AddDropdown(DropdownText, Options, Callback, Groupbox)
- if Options then
- if typeof(Options) == "function" then
- Callback = Options
- Options = {}
- end
- if typeof(Options) == "boolean" then
- Groupbox = Options
- Callback = typeof(Options) == "function" and Options or function() end
- Options = {}
- end
- end
- if Callback and typeof(Callback) == "boolean" then
- Groupbox = Callback
- Callback = function() end
- end
- local Dropdown = {Order = 0, Closed = true, Value = Groupbox and nil or Options[1], Callback = Callback, Selected = {}}
- Dropdown.Callback = Callback or function() end
- Dropdown.Main = Library:Create("TextButton", {
- LayoutOrder = #self.Options + 1,
- Size = UDim2.new(1,0,0,42),
- BackgroundTransparency = 1,
- BackgroundColor3 = Color3.fromRGB(220,220,220),
- BorderSizePixel = 0,
- Text = " "..DropdownText,
- TextSize = 16,
- TextColor3 = Color3.fromRGB(255,255,255),
- Font = Enum.Font.SourceSans,
- TextXAlignment = Enum.TextXAlignment.Left,
- TextYAlignment = Enum.TextYAlignment.Top,
- AutoButtonColor = false,
- Parent = self.Content
- })
- Dropdown.Label = Library:Create("TextLabel", {
- Position = UDim2.new(0,2,0,20),
- Size = UDim2.new(1,-4,0,20),
- BackgroundColor3 = Color3.fromRGB(35,35,35),
- BorderSizePixel = 0,
- Text = Groupbox and "" or Dropdown.Value,
- TextSize = 16,
- TextColor3 = Color3.fromRGB(255,255,255),
- TextTruncate = Enum.TextTruncate.AtEnd,
- Font = Enum.Font.SourceSans,
- Parent = Dropdown.Main
- })
- Dropdown.Arrow = Library:Create("TextLabel", {
- Position = UDim2.new(1,0,0,2),
- Size = UDim2.new(0,-16,0,16),
- Rotation = 90,
- BackgroundTransparency = 1,
- Text = ">",
- TextColor3 = Color3.fromRGB(80,80,80),
- Font = Enum.Font.Arcade,
- TextSize = 18,
- Parent = Dropdown.Label
- })
- Dropdown.Container = Library:Create("Frame", {
- ZIndex = 2,
- Position = UDim2.new(0,0,1,2),
- Size = UDim2.new(1,0,0,0),
- BackgroundTransparency = 1,
- Parent = Dropdown.Label
- })
- Dropdown.SubContainer = Library:Create("Frame", {
- Size = UDim2.new(1,0,1,0),
- BackgroundTransparency = 1,
- ClipsDescendants = true,
- Parent = Dropdown.Container
- })
- Dropdown.Contentholder = Library:Create("ScrollingFrame", {
- ZIndex = 2,
- Size = UDim2.new(1,0,1,0),
- BackgroundColor3 = Color3.fromRGB(40,40,40),
- BorderColor3 = Color3.fromRGB(30,30,30),
- ScrollBarThickness = 6,
- ScrollBarImageColor3 = Color3.fromRGB(80,80,80),
- BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png",
- TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png",
- Parent = Dropdown.SubContainer
- })
- Dropdown.Layout = Library:Create("UIListLayout", {
- Padding = UDim.new(0,0),
- SortOrder = Enum.SortOrder.LayoutOrder,
- Parent = Dropdown.Contentholder
- })
- AddHighlight(Dropdown.Main)
- Dropdown.Main.InputBegan:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- Dropdown.Closed = not Dropdown.Closed
- if Dropdown.Closed then
- Dropdown.Arrow.Text = ">"
- Dropdown.Container:TweenSize(UDim2.new(1,0,0,0), "Out", "Quad", 0.2, true, function() if Dropdown.Closed then self.Main.ClipsDescendants = true end end)
- else
- CloseWindow(Dropdown)
- self.Main.ClipsDescendants = false
- Dropdown.Arrow.Text = "<"
- if Dropdown.Order > 5 then
- Dropdown.Container:TweenSize(UDim2.new(1,0,0,5*20), "Out", "Quad", 0.3, true)
- else
- Dropdown.Container:TweenSize(UDim2.new(1,0,0,Dropdown.Order*20), "Out", "Quad", 0.3, true)
- end
- end
- end
- end)
- local SelectedCount = 0
- local function AddOptions(Options)
- for _,value in pairs(Options) do
- Dropdown.Order = Dropdown.Order + 1
- local State
- local Pos = Dropdown.Order
- local Option = Library:Create("TextButton", {
- ZIndex = 3,
- LayoutOrder = Dropdown.Order,
- Size = UDim2.new(1,0,0,20),
- BackgroundTransparency = 1,
- BackgroundColor3 = Color3.fromRGB(255,255,255),
- Text = value,
- TextSize = 16,
- TextColor3 = Color3.fromRGB(240,240,240),
- Font = Enum.Font.SourceSans,
- AutoButtonColor = false,
- Parent = Dropdown.Contentholder
- })
- AddHighlight(Option)
- Option.MouseButton1Click:connect(function()
- Dropdown.Value = value
- if Groupbox then
- State = not State
- SelectedCount = SelectedCount + (State and 1 or -1)
- if State then
- Option.BackgroundColor3 = Library.settings.Theme
- Dropdown.Selected[value] = value
- else
- Option.BackgroundColor3 = Color3.fromRGB(255,255,255)
- Dropdown.Selected[value] = nil
- end
- local Text = ""
- for _,v in next, Dropdown.Selected do
- Text = SelectedCount > 1 and Text .. v .. ", " or Text .. v
- end
- Dropdown.Label.Text = SelectedCount > 1 and string.sub(Text, 1, string.len(Text) - 2) or Text
- if not State then return end
- else
- self.Main.ClipsDescendants = true
- Dropdown.Label.Text = Dropdown.Value
- Dropdown.Closed = true
- Dropdown.Arrow.Text = ">"
- Dropdown.Container:TweenSize(UDim2.new(1,0,0,0), "Out", "Quad", 0.2, true)
- end
- Dropdown.Callback(Dropdown.Value)
- end)
- Dropdown.Contentholder.CanvasSize = UDim2.new(0,0,0,Dropdown.Order*20)
- end
- end
- AddOptions(Options)
- if Groupbox then
- function Dropdown:IsSelected(Value)
- for _, v in next, self.Selected do
- if v == Value then
- return true
- end
- end
- return false
- end
- end
- function Dropdown:Refresh(options, keep)
- if not keep then
- Dropdown.Selected = {}
- Dropdown.Label.Text = Groupbox and "" or options[1]
- for _,v in pairs(Dropdown.Contentholder:GetChildren()) do
- if v:IsA"TextButton" then
- v:Destroy()
- Dropdown.Order = Dropdown.Order - 1
- Dropdown.Contentholder.CanvasSize = UDim2.new(0,0,0,Dropdown.Layout.AbsoluteContentSize.Y)
- end
- end
- end
- AddOptions(options)
- end
- if not Groupbox then
- function Dropdown:SetValue(value)
- Dropdown.Value = value
- Dropdown.Label.Text = Dropdown.Value
- Dropdown.Callback(Dropdown.Value)
- end
- end
- Section.YSize = Section.YSize + 42
- Section.Main.Size = UDim2.new(0,200,0,Section.YSize)
- table.insert(self.Options, Dropdown)
- return Dropdown
- end
- function Section:AddKeybind(BindText, BindKey, Callback, Hold)
- if BindKey then
- if typeof(BindKey) == "function" then
- Hold = Callback or false
- Callback = BindKey
- BindKey = Enum.KeyCode.F
- end
- if typeof(BindKey) == "string" then
- if not keyCheck(Enum.KeyCode[BindKey:upper()], BlacklistedKeys) then
- BindKey = Enum.KeyCode[BindKey:upper()]
- end
- if keyCheck(BindKey, WhitelistedMouseInputs) then
- BindKey = Enum.UserInputType[BindKey:upper()]
- end
- end
- if typeof(BindKey) == "boolean" then
- Hold = BindKey
- BindKey = Enum.KeyCode.F
- end
- end
- local Bind = {Binding = false, Holding = false, Key = BindKey, Hold = Hold, Callback = Callback}
- Bind.Callback = Callback or function() end
- local Bounds = game:GetService('TextService'):GetTextSize(Bind.Key.Name, 16, Enum.Font.SourceSans, Vector2.new(math.huge, math.huge))
- Bind.Main = Library:Create("TextButton", {
- LayoutOrder = #self.Options + 1,
- Size = UDim2.new(1,0,0,22),
- BackgroundTransparency = 1,
- BackgroundColor3 = Color3.fromRGB(220,220,220),
- Text = " "..BindText,
- TextSize = 16,
- TextColor3 = Color3.fromRGB(255,255,255),
- Font = Enum.Font.SourceSans,
- TextXAlignment = Enum.TextXAlignment.Left,
- AutoButtonColor = false,
- Parent = self.Content
- })
- Bind.Label = Library:Create("TextLabel", {
- Position = UDim2.new(1,-2,0,2),
- Size = UDim2.new(0,-Bounds.X-8,0,18),
- BackgroundColor3 = Color3.fromRGB(35,35,35),
- BorderSizePixel = 0,
- Text = Bind.Key.Name,
- TextSize = 16,
- TextColor3 = Color3.fromRGB(255,255,255),
- Font = Enum.Font.SourceSans,
- Parent = Bind.Main
- })
- AddHighlight(Bind.Main)
- Bind.Main.InputBegan:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- Bind.Label.Text = "..."
- Bind.Label.Size = UDim2.new(0,-Bind.Label.TextBounds.X-8,1,-4)
- end
- end)
- Bind.Main.InputEnded:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- Bind.Binding = true
- end
- end)
- local function SetKey(key)
- Bind.Key = key
- Bind.Label.Text = Bind.Key.Name
- if string.match(tostring(key), "Mouse") then
- Bind.Label.Text = string.sub(tostring(key), 20, 24)..string.sub(tostring(key), 31, 32)
- end
- Bind.Label.Size = UDim2.new(0,-Bind.Label.TextBounds.X-8,1,-4)
- Bind.Callback(Bind.Key)
- end
- local Loop
- local function DisconnectLoop()
- if Loop then
- Loop:Disconnect()
- Bind.Callback(true)
- end
- end
- UserInputService.InputBegan:connect(function(input)
- if Bind.Binding then
- if input.KeyCode == Enum.KeyCode.Backspace then
- SetKey(Bind.Key)
- Bind.Binding = false
- else
- if not keyCheck(input.KeyCode, BlacklistedKeys) then
- SetKey(input.KeyCode)
- Bind.Binding = false
- end
- if keyCheck(input.UserInputType, WhitelistedMouseInputs) then
- SetKey(input.UserInputType)
- Bind.Binding = false
- end
- end
- DisconnectLoop()
- else
- if not Library.Open then
- if input.KeyCode.Name == Bind.Key.Name or input.UserInputType.Name == Bind.Key.Name then
- Bind.Holding = true
- if Bind.Hold then
- Loop = RunService.RenderStepped:connect(function()
- Bind.Callback()
- if Library.Open or Bind.Holding == false or not Bind.Hold then
- DisconnectLoop()
- end
- end)
- else
- Bind.Callback()
- end
- end
- end
- end
- end)
- UserInputService.InputEnded:connect(function(input)
- if input.KeyCode.Name == Bind.Key.Name or input.UserInputType.Name == Bind.Key.Name then
- Bind.Holding = false
- DisconnectLoop()
- end
- end)
- function Bind:SetKeybind(Key)
- if typeof(Key) == "string" then
- if not keyCheck(Enum.KeyCode[Key:upper()], BlacklistedKeys) then
- Key = Enum.KeyCode[Key:upper()]
- end
- if keyCheck(Enum.KeyCode[Key:upper()], WhitelistedMouseInputs) then
- Key = Enum.UserInputType[Key:upper()]
- end
- end
- DisconnectLoop()
- SetKey(Key)
- end
- Section.YSize = Section.YSize + 22
- Section.Main.Size = UDim2.new(0,200,0,Section.YSize)
- table.insert(self.Options, Bind)
- return Bind
- end
- function Section:AddSlider(SliderText, MinVal, MaxVal, SetVal, Callback, Float)
- if SetVal and typeof(SetVal) == "function" then
- Float = Callback
- Callback = SetVal
- SetVal = 0
- end
- if Callback and typeof(Callback) == "number" then
- Float = Callback
- Callback = function() end
- end
- SetVal = SetVal or 0
- if SetVal > MaxVal then
- SetVal = MaxVal
- end
- if SetVal < MinVal then
- SetVal = MinVal
- end
- local Slider = {Value = SetVal, Callback = Callback}
- Slider.Callback = Callback or function() end
- Float = Float or 1
- Slider.Main = Library:Create("TextButton", {
- LayoutOrder = #self.Options + 1,
- Size = UDim2.new(1,0,0,42),
- BackgroundTransparency = 1,
- BackgroundColor3 = Color3.fromRGB(220,220,220),
- Text = " "..SliderText,
- TextSize = 16,
- TextColor3 = Color3.fromRGB(255,255,255),
- Font = Enum.Font.SourceSans,
- TextXAlignment = Enum.TextXAlignment.Left,
- TextYAlignment = Enum.TextYAlignment.Top,
- AutoButtonColor = false,
- Parent = self.Content
- })
- Slider.Holder = Library:Create("Frame", {
- Position = UDim2.new(0,0,0,18),
- Size = UDim2.new(1,0,0,17),
- BackgroundTransparency = 1,
- Parent = Slider.Main
- })
- Slider.Visualize = Library:Create("TextBox", {
- Position = UDim2.new(0,0,0.6,0),
- Size = UDim2.new(1,0,0.4,0),
- BackgroundTransparency = 1,
- Text = Slider.Value,
- TextSize = 16,
- TextColor3 = Color3.fromRGB(255,255,255),
- Font = Enum.Font.SourceSans,
- TextWrapped = true,
- Parent = Slider.Holder
- })
- Slider.Bar = Library:Create("Frame", {
- AnchorPoint = Vector2.new(0.5,0.5),
- Position = UDim2.new(0.5,0,0.2,0),
- Size = UDim2.new(1,-6,0,2),
- BackgroundColor3 = Color3.fromRGB(35,35,35),
- BorderSizePixel = 0,
- Parent = Slider.Holder
- })
- Slider.Fill = Library:Create("Frame", {
- BackgroundColor3 = Library.settings.Theme,
- BorderSizePixel = 0,
- Parent = Slider.Bar
- })
- if MinVal >= 0 then
- Slider.Fill.Size = UDim2.new((SetVal - MinVal) / (MaxVal - MinVal),0,1,0)
- else
- Slider.Fill.Position = UDim2.new((0 - MinVal) / (MaxVal - MinVal),0,0,0)
- Slider.Fill.Size = UDim2.new(SetVal / (MaxVal - MinVal),0,1,0)
- end
- Slider.Box = Library:Create("Frame", {
- AnchorPoint = Vector2.new(0.5,0.5),
- Position = UDim2.new((SetVal - MinVal) / (MaxVal - MinVal),0,0.5,0),
- Size = UDim2.new(0,4,0,12),
- BackgroundColor3 = Color3.fromRGB(5,5,5),
- BorderSizePixel = 0,
- Parent = Slider.Bar
- })
- AddHighlight(Slider.Main)
- function Slider:SetValue(Value)
- Value = Round(Value, Float)
- if Value >= MaxVal then
- Value = MaxVal
- end
- if Value <= MinVal then
- Value = MinVal
- end
- Slider.Box.Position = UDim2.new((Value - MinVal) / (MaxVal - MinVal),0,0.5,0)
- if MinVal >= 0 then
- Slider.Fill.Size = UDim2.new((Value - MinVal) / (MaxVal - MinVal),0,1,0)
- else
- Slider.Fill.Size = UDim2.new(Value / (MaxVal - MinVal),0,1,0)
- end
- Slider.Value = Value
- Slider.Visualize.Text = Value
- Slider.Callback(Value)
- end
- local Sliding
- local Modifying
- Slider.Main.InputBegan:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then
- Modifying = true
- Slider.Visualize:CaptureFocus()
- else
- Sliding = true
- Slider:SetValue(MinVal + ((input.Position.X - Slider.Bar.AbsolutePosition.X) / Slider.Bar.AbsoluteSize.X) * (MaxVal - MinVal))
- input.Changed:connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- Sliding = false
- end
- end)
- end
- end
- end)
- Slider.Visualize.Focused:connect(function()
- if not Modifying then
- Slider.Visualize:ReleaseFocus()
- end
- end)
- Slider.Visualize.FocusLost:connect(function()
- if Modifying then
- if tonumber(Slider.Visualize.Text) then
- Slider:SetValue(tonumber(Slider.Visualize.Text))
- else
- Slider.Visualize.Text = Slider.Value
- end
- end
- Modifying = false
- end)
- UserInputService.InputChanged:connect(function(input)
- if Modifying then
- if input.KeyCode == Enum.KeyCode.Escape or input.KeyCode == Enum.KeyCode.Space then
- Slider.Visualize:ReleaseFocus()
- end
- end
- if input.UserInputType == Enum.UserInputType.MouseMovement and Sliding then
- Slider:SetValue(MinVal + ((input.Position.X - Slider.Bar.AbsolutePosition.X) / Slider.Bar.AbsoluteSize.X) * (MaxVal - MinVal))
- end
- end)
- Section.YSize = Section.YSize + 42
- Section.Main.Size = UDim2.new(0,200,0,Section.YSize)
- table.insert(self.Options, Slider)
- return Slider
- end
- function Section:AddCP(ColorText, NewColor, Alpha, Callback)
- if Alpha then
- if typeof(Alpha) == "function" then
- Callback = Alpha
- Alpha = 1
- end
- end
- if NewColor then
- if typeof(NewColor) == "function" then
- Callback = NewColor
- NewColor = Color3.fromRGB(255,255,255)
- Alpha = 1
- end
- if typeof(NewColor) == "number" then
- Callback = Alpha
- Alpha = NewColor
- NewColor = Color3.fromRGB(255,255,255)
- end
- end
- Alpha = Alpha or 1
- local Color = {Color = NewColor, Alpha = Alpha, Closed = true, Callback = Callback}
- Color.Callback = Callback or function() end
- local Rain
- local Hue, Sat, Val = Color3.toHSV(Color3.fromRGB(NewColor.r*255,NewColor.g*255,NewColor.b*255))
- if Hue == 0 then
- Hue = 1
- end
- Color.Main = Library:Create("TextButton", {
- LayoutOrder = #self.Options + 1,
- Size = UDim2.new(1,0,0,22),
- BackgroundTransparency = 1,
- BackgroundColor3 = Color3.fromRGB(220,220,220),
- Text = " "..tostring(ColorText),
- TextColor3 = Color3.fromRGB(255,255,255),
- Font = Enum.Font.SourceSans,
- TextSize = 16,
- TextXAlignment = Enum.TextXAlignment.Left,
- AutoButtonColor = false,
- Parent = self.Content,
- })
- Color.Visualizebg = Library:Create("ImageLabel", {
- Position = UDim2.new(1,-2,0,2),
- Size = UDim2.new(0,-18,0,18),
- BorderSizePixel = 0,
- Image = "rbxassetid://3887014957",
- ScaleType = Enum.ScaleType.Tile,
- TileSize = UDim2.new(0,9,0,9),
- Parent = Color.Main
- })
- Color.Visualize = Library:Create("Frame", {
- Size = UDim2.new(1,0,1,0),
- BackgroundTransparency = 1 - Color.Alpha,
- BackgroundColor3 = Color.Color,
- BorderSizePixel = 0,
- Parent = Color.Visualizebg,
- })
- Color.Container = Library:Create("Frame", {
- Position = UDim2.new(1,4,0,0),
- Size = UDim2.new(0,200,0,0),
- BackgroundColor3 = Color3.fromRGB(40,40,40),
- BorderSizePixel = 0,
- Parent = Color.Visualize
- })
- Color.SubContainer = Library:Create("Frame", {
- Size = UDim2.new(1,0,1,0),
- BackgroundTransparency = 1,
- ClipsDescendants = true,
- Parent = Color.Container
- })
- Color.SatVal = Library:Create("ImageLabel", {
- ZIndex = 2,
- Position = UDim2.new(0,5,0,5),
- Size = UDim2.new(1,-30,1,-30),
- BackgroundColor3 = Color3.fromHSV(Hue,1,1),
- BorderSizePixel = 0,
- Image = "rbxassetid://4155801252",
- Parent = Color.SubContainer
- })
- Color.Pointer = Library:Create("Frame", {
- ZIndex = 2,
- AnchorPoint = Vector2.new(0.5,0.5),
- Position = UDim2.new(Sat,0,1-Val,0),
- Size = UDim2.new(0,4,0,4),
- BackgroundTransparency = 0.4,
- BackgroundColor3 = Color3.fromRGB(255,255,255),
- BorderColor3 = Color3.fromRGB(0,0,0),
- Parent = Color.SatVal
- })
- Color.Hue = Library:Create("ImageLabel", {
- ZIndex = 2,
- AnchorPoint = Vector2.new(1,0),
- Position = UDim2.new(1,-5,0,5),
- Size = UDim2.new(0,15,1,-30),
- BackgroundTransparency = 0,
- Image = "rbxassetid://4174584406",
- Parent = Color.SubContainer
- })
- Color.Pointer1 = Library:Create("TextLabel", {
- ZIndex = 2,
- AnchorPoint = Vector2.new(0,0.5),
- Position = UDim2.new(1,-10,1-Hue,0),
- Size = UDim2.new(0,16,0,16),
- BackgroundTransparency = 1,
- Text = utf8.char(9668),
- TextColor3 = Color3.fromRGB(0,0,0),
- TextStrokeTransparency = 0,
- TextStrokeColor3 = Color3.fromRGB(130,130,130),
- TextSize = 6,
- Parent = Color.Hue
- })
- Color.Alphabg = Library:Create("ImageLabel", {
- ZIndex = 2,
- Position = UDim2.new(0,5,1,-20),
- Size = UDim2.new(1,-30,0,15),
- BorderSizePixel = 0,
- Image = "rbxassetid://3887014957",
- ScaleType = Enum.ScaleType.Tile,
- TileSize = UDim2.new(0,10,0,10),
- Parent = Color.SubContainer
- })
- Color.Alphaimg = Library:Create("ImageLabel", {
- ZIndex = 2,
- Size = UDim2.new(1,0,1,0),
- BackgroundTransparency = 1,
- Image = "rbxassetid://3887017050",
- ImageColor3 = NewColor,
- Parent = Color.Alphabg
- })
- Color.Pointer2 = Library:Create("TextLabel", {
- ZIndex = 2,
- AnchorPoint = Vector2.new(0.5,0),
- Position = UDim2.new(1 - Color.Alpha,0,1,-10),
- Size = UDim2.new(0,16,0,16),
- BackgroundTransparency = 1,
- Text = utf8.char(9650),
- TextColor3 = Color3.fromRGB(0,0,0),
- TextStrokeTransparency = 0,
- TextStrokeColor3 = Color3.fromRGB(130,130,130),
- TextSize = 6,
- Parent = Color.Alphabg
- })
- Color.Rainbow = Library:Create("Frame", {
- ZIndex = 2,
- AnchorPoint = Vector2.new(1,1),
- Position = UDim2.new(1,-5,1,-5),
- Size = UDim2.new(0,15,0,15),
- BackgroundTransparency = 0.4,
- BackgroundColor3 = Color3.fromRGB(20,20,20),
- BorderSizePixel = 0,
- Parent = Color.SubContainer
- })
- spawn(function()
- while wait() do
- Color.Rainbow.BackgroundColor3 = ChromaColor
- end
- end)
- AddHighlight(Color.Main)
- Color.Main.InputBegan:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- Color.Closed = not Color.Closed
- if Color.Closed then
- Color.Container:TweenSize(UDim2.new(0,200,0,0), "Out", "Quad", 0.2, true, function() if Color.Closed then self.Main.ClipsDescendants = true end end)
- else
- CloseWindow(Color)
- self.Main.ClipsDescendants = false
- Color.Container:TweenSize(UDim2.new(0,200,0,200), "Out", "Quad", 0.3, true)
- end
- end
- end)
- local Modifying
- local Modifying1
- local Modifying2
- function Color:UpdateSatVal(InputPos)
- local x = (InputPos.X - Color.SatVal.AbsolutePosition.X) / Color.SatVal.AbsoluteSize.X
- local y = (InputPos.Y - Color.SatVal.AbsolutePosition.Y) / Color.SatVal.AbsoluteSize.Y
- x = tonumber(string.format("%.2f", x))
- y = tonumber(string.format("%.2f", y))
- y = y > 1 and 1 or y < 0 and 0 or y
- x = x > 1 and 1 or x < 0 and 0 or x
- Color.Pointer.Position = UDim2.new(x,0,y,0)
- Sat = x
- Val = 1-y
- Color.Color = Color3.fromHSV(Hue, Sat, Val)
- Color.Visualize.BackgroundColor3 = Color.Color
- Color.Alphaimg.ImageColor3 = Color.Color
- Color.Callback(Color.Color, Color.Alpha)
- end
- function Color:UpdateHue(InputPos)
- local y = (InputPos.Y - Color.Hue.AbsolutePosition.Y) / Color.Hue.AbsoluteSize.Y
- y = tonumber(string.format("%.2f", y))
- y = y > 1 and 1 or y < 0 and 0 or y
- Hue = 1-y
- Color.Color = Color3.fromHSV(Hue, Sat, Val)
- Color.Pointer1.Position = UDim2.new(1,-10,1-Hue,0)
- Color.Visualize.BackgroundColor3 = Color.Color
- Color.SatVal.BackgroundColor3 = Color3.fromHSV(Hue,1,1)
- Color.Alphaimg.ImageColor3 = Color.Color
- Color.Callback(Color.Color, Color.Alpha)
- end
- function Color:SetAlpha(Alpha)
- local x = (Alpha - Color.Alphabg.AbsolutePosition.X) / Color.Alphabg.AbsoluteSize.X
- x = tonumber(string.format("%.2f", x))
- x = x > 1 and 1 or x < 0 and 0 or x
- Color.Alpha = 1 - x
- Color.Pointer2.Position = UDim2.new(1 - Color.Alpha,0,1,-10)
- Color.Visualize.BackgroundTransparency = 1 - Color.Alpha
- Color.Callback(Color.Color, Color.Alpha)
- end
- UserInputService.InputChanged:connect(function(input)
- if not Rain and input.UserInputType == Enum.UserInputType.MouseMovement and Modifying or Modifying1 or Modifying2 then
- local Mouse = UserInputService:GetMouseLocation() + Vector2.new(0, -36)
- if Modifying then
- Color:UpdateSatVal(Mouse)
- end
- if Modifying1 then
- Color:UpdateHue(Mouse)
- end
- if Modifying2 then
- Color:SetAlpha(Mouse.X)
- end
- end
- end)
- Color.SatVal.InputBegan:connect(function(input)
- if not Rain and input.UserInputType == Enum.UserInputType.MouseButton1 then
- Modifying = true
- Color:UpdateSatVal(input.Position)
- input.Changed:connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- Modifying = false
- end
- end)
- end
- end)
- Color.SatVal.InputChanged:connect(function(input)
- if not Rain and input.UserInputType == Enum.UserInputType.MouseMovement and Modifying then
- Color:UpdateSatVal(input.Position)
- end
- end)
- Color.Hue.InputBegan:connect(function(input)
- if not Rain and input.UserInputType == Enum.UserInputType.MouseButton1 then
- Modifying1 = true
- Color:UpdateHue(input.Position)
- input.Changed:connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- Modifying1 = false
- end
- end)
- end
- end)
- Color.Hue.InputChanged:connect(function(input)
- if not Rain and input.UserInputType == Enum.UserInputType.MouseMovement and Modifying1 then
- Color:UpdateHue(input.Position)
- end
- end)
- Color.Alphabg.InputBegan:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- Modifying2 = true
- Color:SetAlpha(input.Position.X)
- input.Changed:connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- Modifying2 = false
- end
- end)
- end
- end)
- Color.Alphabg.InputChanged:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement and Modifying2 then
- Color:SetAlpha(input.Position.X)
- end
- end)
- local OldColor
- local RainbowLoop
- Color.Rainbow.InputBegan:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- Rain = not Rain
- Color.Rainbow.BackgroundTransparency = Rain and 1 or 0.4
- if Rain then
- OldColor = Color.Color
- RainbowLoop = RunService.RenderStepped:connect(function()
- Color.Color = ChromaColor
- Color.Callback(Color.Color, Color.Alpha)
- end)
- else
- RainbowLoop:Disconnect()
- Color.Color = OldColor
- Color.Callback(Color.Color, Color.Alpha)
- end
- end
- end)
- Section.YSize = Section.YSize + 22
- Section.Main.Size = UDim2.new(0,200,0,Section.YSize)
- table.insert(self.Options, Color)
- return Color
- end
- table.insert(self.Sections, Section)
- return Section
- end
- table.insert(self.Tabs, Tab)
- return Tab
- end
- end
- do -- ESP Library
- local Players = game:GetService'Players';
- local RunService = game:GetService'RunService';
- local HttpService = game:GetService'HttpService';
- local LocalPlayer = Players.LocalPlayer;
- local Camera = workspace.CurrentCamera;
- uESP = {
- Enabled = false;
- Settings = {
- Box3D = false;
- DrawBox = true;
- DrawDistance = true;
- DrawNames = true;
- DrawTracers = false;
- MaxDistance = 10000;
- RefreshRate = 100;
- TextSize = 18;
- TextOutline = true;
- VisibilityCheck = false;
- TeamCheck = false;
- HeadDots = false;
- TeamColor = Color3.new(0, 1, 0);
- EnemyColor = Color3.new(1, 0, 0);
- };
- RenderList = {};
- RenderingCache = {};
- LastTick = 0;
- };
- local Active = {};
- local function Set(t, i, v)
- t[i] = v;
- end
- local function Combine(...)
- local Output = {};
- for i, v in pairs{...} do
- if typeof(v) == 'table' then
- table.foreach(v, function(i, v)
- Output[i] = v;
- end)
- end
- end
- return Output
- end
- function NewDrawing(InstanceName)
- local Instance = Drawing.new(InstanceName);
- return (function(Properties)
- for i, v in pairs(Properties) do
- pcall(Set, Instance, i, v);
- end
- return Instance;
- end)
- end
- function IsTeam(Player)
- if Player == LocalPlayer then return true; end
- if Player.Neutral and LocalPlayer.Neutral then
- return true;
- end
- if Player.TeamColor == LocalPlayer.TeamColor then
- return true;
- end
- return false;
- end
- local DrawingTypes = {
- Text = true;
- Line = true;
- Square = true;
- Circle = true;
- Rectangle = true;
- Triangle = true;
- Image = true;
- }
- function CleanDrawings(Table, Cache)
- Cache = Cache or {};
- if Cache[Table] or typeof(Table) ~= 'table' then return end
- Cache[Table] = true;
- for i, v in pairs(Table) do
- if DrawingTypes[typeof(v)] then
- v:Remove();
- end
- CleanDrawings(v, Cache);
- end
- end
- local Box = {};
- local Colors = {
- Color3.new(1, 0, 0);
- Color3.new(0, 1, 0);
- Color3.new(0, 0, 1);
- Color3.new(1, 0, 1);
- Color3.new(1, 1, 0);
- Color3.new(0, 1, 1);
- }
- function Box.new(Instance)
- local Box = {
- Instance = Instance;
- Cache = {};
- Lines = {};
- Was3D = uESP.Settings.Box3D;
- };
- function Box:Update(Properties) -- a lot of shorthand code im sorry
- local Properties = Properties or {};
- local Lines = self.Lines or {};
- local Instance = (self.Instance.ClassName == 'Model') and self.Instance or ((self.Instance.Parent.ClassName == 'Model') and self.Instance.Parent or self.Instance);
- if Instance == nil then
- self:Remove();
- end
- local Color = Properties.Color or Color3.new(1, 1, 1);
- local Properties = Combine({
- Transparency = 1;
- Thickness = 3;
- Color = Color;
- Visible = true;
- }, Properties);
- local Position, Size;
- if Instance.ClassName == 'Model' then
- Position, Size = Instance:GetBoundingBox();
- elseif Instance:IsA'BasePart' then
- Position, Size = Instance.CFrame, Instance.Size;
- else
- return;
- end
- if not uESP.Settings.Box3D and self.Was3D then
- self.Was3D = false;
- CleanDrawings(Lines);
- Lines = {};
- elseif uESP.Settings.Box3D and not self.Was3D then
- self.Was3D = true;
- CleanDrawings(Lines);
- Lines = {};
- end
- if Size.X < 16 and Size.Y < 16 and Size.Z < 16 then
- if uESP.Settings.Box3D then
- local Positions = {};
- Size = Size / 2;
- local Minimum, Maximum = -Size, Size
- local Corners = { -- https://www.unknownUtilss.me/forum/counterstrike-global-offensive/175021-3d-box-esp.html
- [0] = CFrame.new(Minimum.x, Minimum.y, Minimum.z);
- [1] = CFrame.new(Minimum.x, Maximum.y, Minimum.z);
- [2] = CFrame.new(Maximum.x, Maximum.y, Minimum.z);
- [3] = CFrame.new(Maximum.x, Minimum.y, Minimum.z);
- [4] = CFrame.new(Minimum.x, Minimum.y, Maximum.z);
- [5] = CFrame.new(Minimum.x, Maximum.y, Maximum.z);
- [6] = CFrame.new(Maximum.x, Maximum.y, Maximum.z);
- [7] = CFrame.new(Maximum.x, Minimum.y, Maximum.z);
- }
- for i, v in pairs(Corners) do
- local SP = Camera:WorldToViewportPoint((Position * v).p);
- Positions[i] = Vector2.new(SP.X, SP.Y);
- end
- for i = 1, 4 do
- Lines[i] = Lines[i] or {};
- Lines[i][1] = Lines[i][1] or NewDrawing'Line'(Properties);
- Lines[i][2] = Lines[i][2] or NewDrawing'Line'(Properties);
- Lines[i][3] = Lines[i][3] or NewDrawing'Line'(Properties);
- Lines[i][1].Color = Color;
- Lines[i][2].Color = Color;
- Lines[i][3].Color = Color;
- Lines[i][1].From = Positions[i - 1];
- Lines[i][1].To = Positions[i % 4];
- Lines[i][2].From = Positions[i - 1];
- Lines[i][2].To = Positions[i + 3];
- Lines[i][3].From = Positions[i + 3];
- Lines[i][3].To = Positions[i % 4 + 4];
- end
- else
- local Positions = {};
- Size = Size / 2;
- local Minimum, Maximum = -Size, Size
- local Corners = {
- CFrame.new(Maximum.x, Maximum.y, 0);
- CFrame.new(-Maximum.x, Maximum.y, 0);
- CFrame.new(Minimum.x, Minimum.y, 0);
- CFrame.new(-Minimum.x, Minimum.y, 0);
- }
- for i, v in pairs(Corners) do
- local SP = Camera:WorldToViewportPoint((Position * v).p);
- Positions[i] = Vector2.new(SP.X, SP.Y);
- end
- Lines[1] = Lines[1] or {};
- -- these stupid [1]'s are there because i'm too lazy to make a check if box is 2d or 3d even tho its easy/shrug
- Lines[1][1] = Lines[1][1] or NewDrawing'Line'(Properties);
- Lines[1][2] = Lines[1][2] or NewDrawing'Line'(Properties);
- Lines[1][3] = Lines[1][3] or NewDrawing'Line'(Properties);
- Lines[1][4] = Lines[1][4] or NewDrawing'Line'(Properties);
- Lines[1][1].Color = Color;
- Lines[1][2].Color = Color;
- Lines[1][3].Color = Color;
- Lines[1][4].Color = Color;
- Lines[1][1].From = Positions[1];
- Lines[1][1].To = Positions[2];
- Lines[1][2].From = Positions[2];
- Lines[1][2].To = Positions[3];
- Lines[1][3].From = Positions[3];
- Lines[1][3].To = Positions[4];
- Lines[1][4].From = Positions[4];
- Lines[1][4].To = Positions[1];
- end
- self.Lines = Lines;
- end
- end
- function Box:SetVisible(boolean)
- for i, v in pairs(self.Lines) do
- for _, Line in pairs(v) do
- Line.Visible = boolean;
- end
- end
- end
- function Box:Remove()
- for i, v in pairs(self.Lines) do
- for _, Line in pairs(v) do
- Line.Visible = false;
- Line:Remove();
- end
- end
- self.Update = function () end;
- end
- return setmetatable(Box, {
- __tostring = function()
- return 'Box';
- end;
- });
- end
- function uESP:Toggle()
- self.Enabled = not self.Enabled;
- end
- function uESP:UpdateSetting(Key, Value)
- if Settings[Key] ~= nil and typeof(Settings[Key]) == typeof(Value) then -- prevent setting shit like boolean to integer
- Settings[Key] = Value;
- end
- end
- function uESP:AddToRenderList(Instance, ...)
- if typeof(Instance) ~= 'Instance' then return end
- if not Instance:IsA'BasePart' then return end
- rawset(self.RenderList, Instance, {...});
- end
- function uESP:DrawInstance(Instance, Properties)
- Properties = Properties or {};
- --
- end
- function uESP:DrawPlayer(Player)
- Active[Player] = true;
- local Character = Player.Character;
- if not Character or not Character:IsDescendantOf(workspace) then return end
- if Player == LocalPlayer then return end;
- local Cache = uESP.RenderingCache[Character] or {};
- Cache.Box = Cache.Box or Box.new(Character);
- Cache.NameTag = Cache.NameTag or NewDrawing'Text'{
- Center = true;
- Outline = uESP.Settings.TextOutline;
- Size = uESP.Settings.TextSize;
- Visible = true;
- };
- Cache.DistanceTag = Cache.DistanceTag or NewDrawing'Text'{
- Center = true;
- Outline = uESP.Settings.TextOutline;
- Size = uESP.Settings.TextSize;
- Visible = true;
- };
- Cache.Tracer = Cache.Tracer or NewDrawing'Line'{
- Transparency = 1;
- Thickness = 2;
- };
- Cache.HeadDots = Cache.HeadDots or NewDrawing'Circle'{
- Filled = true;
- NumSides = 30;
- }
- uESP.RenderingCache[Character] = Cache;
- if uESP.Enabled and Player.Character:FindFirstChild'Head' then
- local Head = Character.Head;
- local Humanoid = Character:FindFirstChildOfClass'Humanoid';
- if Head then
- local ScreenPosition, Visible = Camera:WorldToViewportPoint(Head.Position + Vector3.new(0, Head.Size.Y / 2, 0));
- local ScreenPositionOnly = Camera:WorldToViewportPoint(Head.Position);
- local Scale = Head.Size.Y / 2;
- local Color = uESP.Settings.TeamCheck and not Player.Neutral and Player.TeamColor.Color or IsTeam(Player) and uESP.Settings.TeamColor or uESP.Settings.EnemyColor
- if Humanoid and Humanoid.Health < 1 then
- Visible = false;
- end
- if Visible then
- if uESP.Settings.DrawNames then
- LocalPlayer.NameDisplayDistance = 0;
- Cache.NameTag.Color = Color;
- Cache.NameTag.Position = Vector2.new(ScreenPosition.X, ScreenPosition.Y);
- Cache.NameTag.Text = Player.Name;
- Cache.NameTag.Visible = true;
- else
- LocalPlayer.NameDisplayDistance = 100;
- Cache.NameTag.Visible = false;
- end
- if uESP.Settings.HeadDots then
- local Top = Camera:WorldToViewportPoint((Head.CFrame * CFrame.new(0, Scale, 0)).p);
- local Bottom = Camera:WorldToViewportPoint((Head.CFrame * CFrame.new(0, -Scale, 0)).p);
- local Radius = (Top - Bottom).y;
- Cache.HeadDots.Visible = true
- Cache.HeadDots.Position = Vector2.new(ScreenPositionOnly.X, ScreenPositionOnly.Y)
- Cache.HeadDots.Color = Color
- Cache.HeadDots.Radius = Radius
- else
- Cache.HeadDots.Visible = false
- end
- if uESP.Settings.DrawDistance then
- Cache.DistanceTag.Color = Color3.new(1, 1, 1);
- Cache.DistanceTag.Position = Vector2.new(ScreenPosition.X, ScreenPosition.Y + (Cache.NameTag.TextBounds.Y));
- Cache.DistanceTag.Text = '[' .. math.floor(ScreenPosition.Z) .. ' Studs]';
- Cache.DistanceTag.Visible = true;
- else
- Cache.DistanceTag.Visible = false;
- end
- if uESP.Settings.DrawTracers then
- Cache.Tracer.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y);
- Cache.Tracer.To = Vector2.new(ScreenPosition.X, ScreenPosition.Y);
- Cache.Tracer.Color = Color;
- Cache.Tracer.Visible = true;
- else
- Cache.Tracer.Visible = false;
- end
- if ScreenPosition.Z >= 1.5 then
- Cache.Box:SetVisible(true);
- else
- Cache.Box:SetVisible(false);
- end
- Cache.Box:Update({Color = Color});
- else
- Cache.NameTag.Visible = false;
- Cache.DistanceTag.Visible = false;
- Cache.Tracer.Visible = false;
- Cache.HeadDots.Visible = false;
- Cache.Box:SetVisible(false);
- end
- end
- else
- Cache.NameTag.Visible = false;
- Cache.DistanceTag.Visible = false;
- Cache.Tracer.Visible = false;
- Cache.HeadDots.Visible = false;
- Cache.Box:SetVisible(false);
- end
- uESP.RenderingCache[Character] = Cache;
- Active[Player] = false;
- end
- function uESP:Draw()
- if uESP.Settings.RefreshRate > 1 and (tick() - uESP.LastTick) <= (uESP.Settings.RefreshRate / 1000) then
- return;
- end
- for i, v in pairs(Players:GetPlayers()) do
- uESP:DrawPlayer(v);
- end
- for i, v in pairs(self.RenderList) do
- uESP:DrawInstance(i, v);
- end
- for i, v in pairs(self.RenderingCache) do -- Remove trash
- if not i:IsDescendantOf(game) then
- CleanDrawings(self.RenderingCache[i]);
- self.RenderingCache[i] = nil;
- end
- end
- end
- function uESP:Unload()
- RunService:UnbindFromRenderStep(shared.ESPAPIName);
- CleanDrawings(uESP.RenderingCache);
- uESP = {};
- end
- function uESP:Init()
- pcall(function() uESP:Unload() end);
- wait(1/4);
- RunService:BindToRenderStep("esp", 1, function()
- uESP:Draw();
- end);
- end
- end
- do -- Utils API
- Utils.AddLaunch = function(LaunchName, func)
- getfenv(1)[LaunchName] = {}
- getfenv(1)[LaunchName].launch = function()
- func()
- end
- end
- Utils.FindValue = function(Table, Value)
- local Found = false
- for i, v in next, Table do
- if Value == v then
- Found = true
- end
- end
- return Found
- end
- Utils.FindConstant = function(func, ...)
- local args = {...}
- local ConstantsFound = 0
- local Found = false
- pcall(function()
- for i, v in next, debug.getconstants(func) do
- if Utils.FindValue(args, v) then
- ConstantsFound = ConstantsFound + 1
- end
- end
- end)
- if #args == ConstantsFound then
- Found = true
- end
- return Found
- end
- Utils.SetConstant = function(func, Constant, NewConstant)
- pcall(function()
- for i, v in next, debug.getconstants(func) do
- if v == Constant then
- debug.setconstant(func, i, NewConstant)
- end
- end
- end)
- end
- Utils.getClosestPlayer = function()
- local joe = game:GetService("Workspace").CurrentCamera
- local closestPlayer = nil
- local shortestDistance = math.huge
- local lp = game:GetService("Players").LocalPlayer
- for i, v in pairs(game:GetService("Players"):GetPlayers()) do
- if v ~= lp and v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild("Head") then
- local magnitude = (v.Character.HumanoidRootPart.Position - lp.Character.HumanoidRootPart.Position).magnitude
- if magnitude < shortestDistance then
- closestPlayer = v
- shortestDistance = magnitude
- end
- end
- end
- return closestPlayer
- end
- end
- Utils.AddLaunch("ESP", function()
- local ESP = universal:AddSection("ESP")
- uESP:Init()
- local Enable = ESP:AddToggle("Enable", function(toggle)
- uESP.Enabled = toggle
- end)
- ESP:AddToggle("Tracers", function(toggle)
- uESP.Settings.DrawTracers = toggle
- end)
- ESP:AddToggle("Team Check", function(toggle)
- uESP.Settings.TeamCheck = toggle
- end)
- ESP:AddToggle("Head Dots", function(toggle) uESP.Settings.HeadDots = toggle end)
- ESP:AddCP("Team Color", uESP.Settings.TeamColor, function(Color, Alpha)
- uESP.Settings.TeamColor = Color
- end)
- ESP:AddCP("Enemy Color", uESP.Settings.EnemyColor, function(Color, Alpha)
- uESP.Settings.EnemyColor = Color
- end)
- end)
- Utils.AddLaunch("Universal", function()
- universal = Library:CreateTab("Universal")
- ESP.launch()
- end)
- Utils.AddLaunch("PrisonLife", function()
- local Game = window:AddSection("Main")
- local TeleportsWindow = window:AddSection("Teleports")
- local CharactersCheat = window:AddSection("Character Cheats")
- local NoClipToggle = CharactersCheat:AddToggle("NoClip")
- --local TeamsWindow = window:AddSection("Teams")
- local ToolTip = require(game.ReplicatedStorage.Modules_client.TooltipModule)
- local WalkSpeedEnabled = false
- local GameMT, MTBackups = getrawmetatable(game), {}
- for i, v in next, GameMT do MTBackups[i] = v end
- local Teleports = {
- ["Guard Base"] = CFrame.new(802, 99, 2270),
- ["Criminal Base"] = CFrame.new(-943, 96, 2055),
- ["Police Room"] = CFrame.new(834.972, 99.989, 2275.318),
- ["Yard"] = CFrame.new(779.092, 96.001, 2451.114),
- ["Cafeteria"] = CFrame.new(930, 97.54, 2291),
- ["Prison Cells"] = CFrame.new(918, 97.73, 2447),
- ["Sewer Enterance"] = CFrame.new(917.174, 76.406, 2426.199),
- ["Sewer Exit"] = CFrame.new(916.506, 96.285, 2111.396)
- }
- Utils.GunMod = function()
- for i, v in next, getgc(true) do
- if type(v) == "table" and rawget(v, "MaxAmmo") then
- v.AutoFire = true
- v.MaxAmmo = math.huge
- v.CurrentAmmo = math.huge
- v.FireRate = 0
- v.Bullets = 10
- end
- end
- end
- Utils.Teleport = function(pos)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
- end
- Utils.SetWalkSpeed = function(Speed)
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = Speed
- end
- Utils.GetWalkSpeed = function()
- return game.Players.LocalPlayer.Character.Humanoid.WalkSpeed
- end
- Utils.GetJumpPower = function()
- return game.Players.LocalPlayer.Character.Humanoid.JumpPower
- end
- Utils.SetJumpPower = function(Speed)
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = Speed
- end
- Utils.GetTeam = function(TeamName)
- return game.Teams[TeamName].TeamColor.Name
- end
- local DefaultWalkSpeed = Utils.GetWalkSpeed()
- local DefaultJumpPower = Utils.GetJumpPower()
- Utils.GetCharacter = function()
- return game.Players.LocalPlayer.Character
- end
- Utils.SuperPunch = function()
- end
- Utils.GiveGuns = function()
- for i, v in next, Workspace.Prison_ITEMS.giver:GetChildren() do
- workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
- end
- end
- Utils.KillAura = function()
- while wait(0.1) do
- for i, plr in pairs(game.Players:GetChildren()) do
- if plr.Name ~= game.Players.LocalPlayer.Name then
- for i = 1, 10 do
- game.ReplicatedStorage.meleeEvent:FireServer(plr)
- end
- end
- end
- end
- end
- --[[Game:AddButton("Super Punch", function()
- Utils.SuperPunch()
- end)]]
- local StaminaBypass = Game:AddToggle("Stamina Bypass")
- for i, v in next, Teleports do
- TeleportsWindow:AddButton(i, function()
- Utils.Teleport(v)
- end)
- end
- Game:AddButton("Gun Mod", Utils.GunMod)
- Game:AddButton("Give Guns", Utils.GiveGuns)
- local JumpPowerEnabled = false
- local WS = CharactersCheat:AddSlider("WalkSpeed", DefaultWalkSpeed, 500, function(Speed)
- WalkSpeedEnabled = Speed > DefaultWalkSpeed
- Utils.SetWalkSpeed(Speed)
- end)
- local JP = CharactersCheat:AddSlider("JumpPower", DefaultJumpPower, 700, function(Speed)
- JumpPowerEnabled = Speed > DefaultJumpPower
- Utils.SetJumpPower(Speed)
- end)
- game:GetService("RunService").RenderStepped:Connect(function()
- if NoClipToggle.State then
- Utils.GetCharacter().Humanoid:ChangeState(11)
- end
- end)
- setreadonly(GameMT, false)
- local old = GameMT.__newindex
- GameMT.__newindex = newcclosure(function(t, k, n)
- local CallerScript = getfenv(2).script
- local shouldReturn = true
- if CallerScript.Name == "ClientInputHandler" and k == "WalkSpeed" and WalkSpeedEnabled then
- shouldReturn = false
- end
- if CallerScript.Name == "ClientInputHandler" and k == "Jump" and StaminaBypass.State then
- shouldReturn = false
- end
- if shouldReturn then
- return old(t, k, n)
- end
- end)
- setreadonly(GameMT, true)
- local oldPrint = getrenv().print
- getrenv().print = newcclosure(function(...)
- local CallerScript = getfenv(2).script
- local args = {...}
- local shouldReturn = true
- if CallerScript.Name == "ClientInputHandler" and tostring(args[1]):lower():find("jumping") and StaminaBypass.State then
- shouldReturn = false
- end
- if shouldReturn then
- return oldPrint(...)
- end
- end)
- loopAPI:CreateLoop("SpeedLoop", wait, function()
- pcall(function()
- if WalkSpeedEnabled then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = WS.Value
- end
- end)
- end, true)
- loopAPI:CreateLoop("JumpLoop", wait, function()
- pcall(function()
- if JumpPowerEnabled then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = JP.Value
- end
- end)
- end, true)
- local oldupdate = ToolTip.update
- ToolTip.update = function(Text)
- local shouldReturn = true
- if Text:lower():find("stamina") and StaminaBypass.State then
- shouldReturn = false
- end
- if shouldReturn then
- oldupdate(Text)
- end
- end
- --[[for i, v in next, game.Teams:GetChildren() do
- TeamsWindow:AddButton(v.Name, function()
- workspace.Remote.TeamEvent:FireServer(Utils.GetTeam(v.Name))
- end)
- end]]
- end)
- Utils.AddLaunch("NinjaLegends", function()
- local Farm = window:AddSection("Auto Farm")
- local Buy = window:AddSection("Auto Buy")
- local TPs = window:AddSection("Teleports")
- local Misc = window:AddSection("Misc")
- local Shop = TPs:AddButton("Shop", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").shopAreaCircles["shopAreaCircle11"].circleInner.CFrame
- end)
- local Skills = TPs:AddButton("Skills Shop", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").skillAreaCircles["skillsAreaCircle11"].circleInner.CFrame
- end)
- local Skills1 = TPs:AddButton("Light Skills Shop", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-116.49514, 3.24800324, 0.0838552266)
- end)
- local Skills2 = TPs:AddButton("Dark Skills Shop", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-116.549767, 3.24800324, 58.087841)
- end)
- local HideName = Misc:AddButton("Hide Name", function()
- local plrname = game.Players.LocalPlayer.Name
- workspace[plrname].Head.nameGui:Destroy()
- end)
- local MaxJP = Misc:AddButton("Max Jumps", function()
- while wait(.0001) do
- game.Players.LocalPlayer.multiJumpCount.Value = "50"
- end
- end)
- local KOTH = TPs:AddButton("King of the hill", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").kingOfTheHillPart.CFrame
- end)
- local UnlockIsland = TPs:AddButton("Unlock Islands", function()
- for i,v in next, game.workspace.islandUnlockParts:GetChildren() do
- if v then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.islandSignPart.CFrame;
- wait(1.3)
- end
- end
- end)
- local a1 = TPs:AddButton("Mystical Waters (100)", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(347.74881, 8824.53809, 114.271019)
- end)
- local a2 = TPs:AddButton("Sword of Legends (1000)", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1834.15967, 38.704483, -141.375641)
- end)
- local a5 = TPs:AddButton("Elemental Tornado (2000)", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(299.758484, 30383.0957, -90.1542206)
- end)
- local a3 = TPs:AddButton("Lava Pit (-100)", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-116.631485, 12952.5381, 271.14624)
- end)
- local a4 = TPs:AddButton("Tornado (-250)", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(325.641174, 16872.0938, -9.9906435)
- end)
- local a6 = TPs:AddButton("Swords Of Ancients (-2000)", function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(648.365662, 38.704483, 2409.72266)
- end)
- local ChestCollect = Misc:AddButton("Collect Evil Chest", function()
- game:GetService("Workspace").evilKarmaChest["circleInner"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(5)
- game:GetService("Workspace").evilKarmaChest["circleInner"].CFrame = game.Workspace.Part.CFrame
- end)
- local LightKarma = Misc:AddButton("Collect Light Chest", function()
- game:GetService("Workspace").lightKarmaChest["circleInner"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(5)
- game:GetService("Workspace").lightKarmaChest["circleInner"].CFrame = game.Workspace.Part.CFrame
- end)
- local ChestCollect = Misc:AddButton("Collect All Chest", function()
- game:GetService("Workspace").mythicalChest["circleInner"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(3.5)
- game:GetService("Workspace").goldenChest["circleInner"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(3.5)
- game:GetService("Workspace").enchantedChest["circleInner"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(3.5)
- game:GetService("Workspace").magmaChest["circleInner"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(3.5)
- game:GetService("Workspace").legendsChest["circleInner"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(3.5)
- game:GetService("Workspace").eternalChest["circleInner"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(3.5)
- game:GetService("Workspace").saharaChest["circleInner"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(3.5)
- game:GetService("Workspace").thunderChest["circleInner"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(3.5)
- game:GetService("Workspace").ancientChest["circleInner"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(3.5)
- game:GetService("Workspace").midnightShadowChest["circleInner"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(3.5)
- game:GetService("Workspace").groupRewardsCircle["circleInner"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(3.5)
- game:GetService("Workspace")["Daily Chest"].circleInner.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(3.5)
- game:GetService("Workspace")["wonderChest"].circleInner.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(3.5)
- game:GetService("Workspace").wonderChest["circleInner"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game:GetService("Workspace").midnightShadowChest["circleInner"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game:GetService("Workspace").ancientChest["circleInner"].CFrame = game.Workspace.Part.CFrame
- game:GetService("Workspace").midnightShadowChest["circleInner"].CFrame = game.Workspace.Part.CFrame
- game:GetService("Workspace").thunderChest["circleInner"].CFrame = game.Workspace.Part.CFrame
- game:GetService("Workspace").saharaChest["circleInner"].CFrame = game.Workspace.Part.CFrame
- game:GetService("Workspace").eternalChest["circleInner"].CFrame = game.Workspace.Part.CFrame
- game:GetService("Workspace").legendsChest["circleInner"].CFrame = game.Workspace.Part.CFrame
- game:GetService("Workspace").magmaChest["circleInner"].CFrame = game.Workspace.Part.CFrame
- game:GetService("Workspace").enchantedChest["circleInner"].CFrame = game.Workspace.Part.CFrame
- game:GetService("Workspace").goldenChest["circleInner"].CFrame = game.Workspace.Part.CFrame
- game:GetService("Workspace").mythicalChest["circleInner"].CFrame = game.Workspace.Part.CFrame
- game:GetService("Workspace").groupRewardsCircle["circleInner"].CFrame = game.Workspace.Part.CFrame
- game:GetService("Workspace")["Daily Chest"].circleInner.CFrame = game.Workspace.Part.CFrame
- end)
- local dsgfsag = Farm:AddToggle("Auto-Swing", function(yek)
- if yek then
- _G.swing = true
- while _G.swing do
- wait()
- game.Players.LocalPlayer.ninjaEvent:FireServer("swingKatana")
- end
- else
- _G.swing = false
- while _G.swing do
- wait()
- game.Players.LocalPlayer.ninjaEvent:FireServer("swingKatana")
- end
- end
- end)
- end)
- Utils.AddLaunch("HubLauncher", function()
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Close = Instance.new("TextButton")
- local Detail = Instance.new("ImageLabel")
- local Settings = Instance.new("TextButton")
- local Detail_2 = Instance.new("ImageLabel")
- local MainTab = Instance.new("Frame")
- local AtorifysHub1 = Instance.new("TextLabel")
- local AtorifysHub2 = Instance.new("TextLabel")
- local KeyFrame = Instance.new("Frame")
- local TextBox = Instance.new("TextBox")
- local KeyIcon = Instance.new("ImageLabel")
- local RememberMe = Instance.new("TextLabel")
- local Login = Instance.new("TextButton")
- local KeyLabel = Instance.new("TextLabel")
- local SettingsTab = Instance.new("Frame")
- local AtorifysHub1_2 = Instance.new("TextLabel")
- local AtorifysHub2_2 = Instance.new("TextLabel")
- local GameDetection = Instance.new("TextLabel")
- local BackIcon = Instance.new("TextButton")
- local loggingIn = false
- local Colors = {Vaild = Color3.fromRGB(169, 255, 76), Invaild = Color3.new(1, 0.254902, 0.254902)}
- ScreenGui.Parent = game.CoreGui
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
- Frame.BorderColor3 = Color3.new(0.815686, 0.815686, 0.815686)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.04093327, 0, 0.337049246, 0)
- Frame.Size = UDim2.new(0, 386, 0, 127)
- CreateDrag(Frame)
- Close.Name = "Close"
- Close.Parent = Frame
- Close.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
- Close.BorderSizePixel = 0
- Close.Position = UDim2.new(1, -25, 0, 0)
- Close.Size = UDim2.new(0, 25, 0.211321458, 0)
- Close.AutoButtonColor = false
- Close.Font = Enum.Font.SourceSans
- Close.Text = ""
- Close.TextColor3 = Color3.new(0, 0, 0)
- Close.TextSize = 14
- Close.MouseButton1Click:Connect(function()
- ScreenGui:Destroy()
- end)
- Detail.Name = "Detail"
- Detail.Parent = Close
- Detail.BackgroundColor3 = Color3.new(1, 1, 1)
- Detail.BackgroundTransparency = 1
- Detail.Position = UDim2.new(0.5, -8, 0.5, -8)
- Detail.Size = UDim2.new(0, 15, 0, 15)
- Detail.Image = "rbxassetid://3487597401"
- Settings.Name = "Settings"
- Settings.Parent = Frame
- Settings.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
- Settings.BorderSizePixel = 0
- Settings.Position = UDim2.new(1.02331603, -47, 0, 0)
- Settings.Size = UDim2.new(-0.023316063, 25, 0.211321458, 0)
- Settings.AutoButtonColor = false
- Settings.Font = Enum.Font.SourceSans
- Settings.Text = ""
- Settings.TextColor3 = Color3.new(0, 0, 0)
- Settings.TextSize = 14
- Detail_2.Name = "Detail"
- Detail_2.Parent = Settings
- Detail_2.BackgroundColor3 = Color3.new(1, 1, 1)
- Detail_2.BackgroundTransparency = 1
- Detail_2.Position = UDim2.new(0.5, -8, 0.5, -8)
- Detail_2.Size = UDim2.new(0, 15, 0, 15)
- Detail_2.Image = "rbxassetid://2766645188"
- MainTab.Name = "MainTab"
- MainTab.Parent = Frame
- MainTab.BackgroundColor3 = Color3.new(1, 1, 1)
- MainTab.BackgroundTransparency = 1
- MainTab.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- MainTab.Size = UDim2.new(0, 386, 0, 127)
- AtorifysHub1.Name = "AtorifysHub1"
- AtorifysHub1.Parent = MainTab
- AtorifysHub1.BackgroundColor3 = Color3.new(1, 1, 1)
- AtorifysHub1.BackgroundTransparency = 1
- AtorifysHub1.Position = UDim2.new(0.372686356, 0, 0.0636268258, 0)
- AtorifysHub1.Size = UDim2.new(0, 36, 0, 18)
- AtorifysHub1.Font = Enum.Font.SourceSansBold
- AtorifysHub1.Text = "Atorify's"
- AtorifysHub1.TextColor3 = Color3.new(1, 1, 1)
- AtorifysHub1.TextSize = 30
- AtorifysHub2.Name = "AtorifysHub2"
- AtorifysHub2.Parent = MainTab
- AtorifysHub2.BackgroundColor3 = Color3.new(1, 1, 1)
- AtorifysHub2.BackgroundTransparency = 1
- AtorifysHub2.Position = UDim2.new(0.486676008, 0, 0.0636268705, 0)
- AtorifysHub2.Size = UDim2.new(0, 53, 0, 18)
- AtorifysHub2.Font = Enum.Font.SourceSansBold
- AtorifysHub2.Text = " Hub"
- AtorifysHub2.TextColor3 = Color3.new(1, 0.254902, 0.254902)
- AtorifysHub2.TextSize = 30
- KeyFrame.Name = "KeyFrame"
- KeyFrame.Parent = MainTab
- KeyFrame.BackgroundColor3 = Color3.new(0.980392, 0.980392, 0.980392)
- KeyFrame.BorderSizePixel = 0
- KeyFrame.Position = UDim2.new(0.0231865197, 0, 0.392999977, 0)
- KeyFrame.Size = UDim2.new(0, 368, 0, 34)
- TextBox.Parent = KeyFrame
- TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox.BackgroundTransparency = 1
- TextBox.Position = UDim2.new(0.0867036358, 0, 0, 0)
- TextBox.Size = UDim2.new(0, 335, 0, 34)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.PlaceholderColor3 = Color3.new(0.698039, 0.698039, 0.698039)
- TextBox.PlaceholderText = "Please input your key"
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.new(0, 0, 0)
- TextBox.TextSize = 16
- TextBox.TextXAlignment = Enum.TextXAlignment.Left
- KeyIcon.Name = "KeyIcon"
- KeyIcon.Parent = KeyFrame
- KeyIcon.BackgroundColor3 = Color3.new(0.980392, 0.980392, 0.980392)
- KeyIcon.BackgroundTransparency = 1
- KeyIcon.BorderSizePixel = 0
- KeyIcon.Position = UDim2.new(0.0142740402, 0, 0.174600363, 0)
- KeyIcon.Size = UDim2.new(0, 19, 0, 21)
- KeyIcon.Image = "http://www.roblox.com/asset/?id=4510496189"
- RememberMe.Name = "RememberMe"
- RememberMe.Parent = MainTab
- RememberMe.BackgroundColor3 = Color3.new(1, 1, 1)
- RememberMe.BackgroundTransparency = 1
- RememberMe.Position = UDim2.new(0.105846979, 0, 0.731006682, 0)
- RememberMe.Size = UDim2.new(0, 73, 0, 18)
- RememberMe.Font = Enum.Font.Gotham
- RememberMe.Text = "Game: "..GameName
- RememberMe.TextColor3 = Color3.new(1, 1, 1)
- RememberMe.TextSize = 15
- Login.Name = "Login"
- Login.Parent = MainTab
- Login.BackgroundColor3 = Color3.new(1, 0.254902, 0.254902)
- Login.BorderColor3 = Color3.new(1, 0.254902, 0.254902)
- Login.Position = UDim2.new(0.795336783, 0, 0.724546075, 0)
- Login.Size = UDim2.new(0, 69, 0, 24)
- Login.Font = Enum.Font.SourceSansBold
- Login.Text = "Login"
- Login.TextColor3 = Color3.new(1, 1, 1)
- Login.TextSize = 14
- Login.MouseButton1Click:Connect(function()
- if not loggingIn then
- AtorifysHub2.TextColor3 = Colors.Vaild
- wait(0.30)
- ScreenGui:Destroy()
- Hub.launch()
- loggingIn = true
- end
- end)
- KeyLabel.Name = "KeyLabel"
- KeyLabel.Parent = MainTab
- KeyLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- KeyLabel.BackgroundTransparency = 1
- KeyLabel.Position = UDim2.new(0.0177640766, 0, 0.211321488, 0)
- KeyLabel.Size = UDim2.new(0, 27, 0, 18)
- KeyLabel.Font = Enum.Font.GothamSemibold
- KeyLabel.Text = "Key"
- KeyLabel.TextColor3 = Color3.new(1, 1, 1)
- KeyLabel.TextSize = 12
- SettingsTab.Name = "SettingsTab"
- SettingsTab.Parent = Frame
- SettingsTab.BackgroundColor3 = Color3.new(1, 1, 1)
- SettingsTab.BackgroundTransparency = 1
- SettingsTab.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- SettingsTab.Size = UDim2.new(0, 386, 0, 127)
- SettingsTab.Visible = false
- AtorifysHub1_2.Name = "AtorifysHub1"
- AtorifysHub1_2.Parent = SettingsTab
- AtorifysHub1_2.BackgroundColor3 = Color3.new(1, 1, 1)
- AtorifysHub1_2.BackgroundTransparency = 1
- AtorifysHub1_2.Position = UDim2.new(0.372686356, 0, 0.0636268258, 0)
- AtorifysHub1_2.Size = UDim2.new(0, 36, 0, 18)
- AtorifysHub1_2.Font = Enum.Font.SourceSansBold
- AtorifysHub1_2.Text = "Atorify's"
- AtorifysHub1_2.TextColor3 = Color3.new(1, 1, 1)
- AtorifysHub1_2.TextSize = 30
- AtorifysHub2_2.Name = "AtorifysHub2"
- AtorifysHub2_2.Parent = SettingsTab
- AtorifysHub2_2.BackgroundColor3 = Color3.new(1, 1, 1)
- AtorifysHub2_2.BackgroundTransparency = 1
- AtorifysHub2_2.Position = UDim2.new(0.486676008, 0, 0.0636268705, 0)
- AtorifysHub2_2.Size = UDim2.new(0, 53, 0, 18)
- AtorifysHub2_2.Font = Enum.Font.SourceSansBold
- AtorifysHub2_2.Text = " Hub"
- AtorifysHub2_2.TextColor3 = Color3.new(1, 0.254902, 0.254902)
- AtorifysHub2_2.TextSize = 30
- BackIcon.Name = "BackIcon"
- BackIcon.Parent = Frame
- BackIcon.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
- BackIcon.BorderSizePixel = 0
- BackIcon.Position = UDim2.new(1.02331603, -47, 0, 0)
- BackIcon.Size = UDim2.new(-0.023316063, 25, 0.211321458, 0)
- BackIcon.Visible = false
- BackIcon.AutoButtonColor = false
- BackIcon.Font = Enum.Font.SourceSans
- BackIcon.TextColor3 = Color3.new(1, 1, 1)
- BackIcon.TextSize = 20
- -- Scripts:
- local function SGKS_fake_script() -- Settings.LocalScript
- local script = Instance.new('LocalScript', Settings)
- local SettingsButton = script.Parent
- local GUIFrame = SettingsButton.Parent
- SettingsButton.Visible = false
- SettingsButton.MouseButton1Click:Connect(function()
- GUIFrame.MainTab.Visible = true
- SettingsButton.Visible = false
- GUIFrame.SettingsTab.Visible = false
- GUIFrame.BackIcon.Visible = false
- end)
- end
- coroutine.wrap(SGKS_fake_script)()
- local function EYWK_fake_script() -- CheckBox.LocalScript
- local script = Instance.new('LocalScript', CheckBox)
- local BackIcon = script.Parent
- BackIcon.Text = utf8.char(10003)
- end
- coroutine.wrap(EYWK_fake_script)()
- local function HOCN_fake_script() -- BackIcon.LocalScript
- local script = Instance.new('LocalScript', BackIcon)
- local BackIcon = script.Parent
- local GUIFrame = BackIcon.Parent
- BackIcon.Text = utf8.char(8592)
- BackIcon.MouseButton1Click:Connect(function()
- GUIFrame.MainTab.Visible = true
- BackIcon.Visible = false
- GUIFrame.SettingsTab.Visible = false
- GUIFrame.Settings.Visible = true
- end)
- end
- coroutine.wrap(HOCN_fake_script)()
- end)
- Utils.AddLaunch("UIInit", function()
- window = Library:CreateTab(GameName == "No Game Detected" and "Universal" or GameName)
- end)
- Utils.AddLaunch("SoundSpace", function()
- local Game = window:AddSection("Main")
- local Cubes = workspace.Client.Cubes
- local cam = workspace.CurrentCamera
- local AutoPlayer = Game:AddToggle("Auto Play")
- local currentCamera = game:GetService("Workspace").CurrentCamera
- local tweenservice = game:GetService("TweenService")
- local localPlayer = game:GetService("Players").LocalPlayer
- local client = game:GetService("Workspace").Client
- local function getClosestCube()
- local closestCube = nil
- local shortestDistance = math.huge
- for i, v in pairs(client.Cubes:GetChildren()) do
- if v:IsA("BasePart") then
- local magnitude = (v.Position - client.CameraPos.Position).magnitude
- if magnitude < shortestDistance then
- closestCube = v
- shortestDistance = magnitude
- end
- end
- end
- return closestCube
- end
- game:GetService("RunService").RenderStepped:Connect(function()
- if AutoPlayer.State then
- pcall(function()
- tweenservice:Create(currentCamera, TweenInfo.new(0.065, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {CFrame = CFrame.new(client.CameraPos.Position, getClosestCube().Position)}):Play()
- end)
- end
- end)
- end)
- Utils.AddLaunch("OperationScorpion", function()
- local Game = window:AddSection("Main")
- local WS = Game:AddToggle("WalkSpeed")
- while wait() do
- if WS.State then
- game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass"Humanoid".WalkSpeed = 100
- end
- end
- end)
- Utils.AddLaunch("KAT", function()
- local section = window:AddSection("Main")
- local silentaim = section:AddToggle("Aim Bot")
- local localPlayer = game:GetService("Players").LocalPlayer
- local joe = game:GetService("Workspace").CurrentCamera
- local mouse = localPlayer:GetMouse()
- local function getClosestPlayerToCursor(x, y)
- local closestPlayer = nil
- local shortestDistance = math.huge
- for i, v in pairs(game:GetService("Players"):GetPlayers()) do
- if v ~= localPlayer and v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild("Head") then
- local pos = joe:WorldToViewportPoint(v.Character.HumanoidRootPart.Position)
- local magnitude = (Vector2.new(pos.X, pos.Y) - Vector2.new(x, y)).magnitude
- if magnitude < shortestDistance then
- closestPlayer = v
- shortestDistance = magnitude
- end
- end
- end
- return closestPlayer
- end
- local mt = getrawmetatable(game)
- local oldIndex = mt.__index
- setreadonly(mt, false)
- local newClose = newcclosure or function(f) return f end
- mt.__index = newClose(function(t, k)
- if silentaim.State then
- if not checkcaller() and t == mouse and tostring(k) == "X" and string.find(getfenv(2).script.Name, "Client") and getClosestPlayerToCursor() then
- local closest = getClosestPlayerToCursor(oldIndex(t, k), oldIndex(t, "Y")).Character.Head
- local pos = joe:WorldToScreenPoint(closest.Position)
- return pos.X
- end
- if not checkcaller() and t == mouse and tostring(k) == "Y" and string.find(getfenv(2).script.Name, "Client") and getClosestPlayerToCursor() then
- local closest = getClosestPlayerToCursor(oldIndex(t, "X"), oldIndex(t, k)).Character.Head
- local pos = joe:WorldToScreenPoint(closest.Position)
- return pos.Y
- end
- if t == mouse and tostring(k) == "Hit" and string.find(getfenv(2).script.Name, "Client") and getClosestPlayerToCursor() then
- return getClosestPlayerToCursor(mouse.X, mouse.Y).Character.Head.CFrame
- end
- end
- return oldIndex(t, k)
- end)
- end)
- Utils.AddLaunch("ElectricStateDarkRP", function()
- local Game = window:AddSection("Main")
- local WS = Game:AddToggle("WalkSpeed", function(toggle)
- if not toggle then
- pcall(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- end)
- end
- end)
- local pi = math.pi
- local abs = math.abs
- local clamp = math.clamp
- local exp = math.exp
- local rad = math.rad
- local sign = math.sign
- local sqrt = math.sqrt
- local tan = math.tan
- local ContextActionService = game:GetService("ContextActionService")
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local StarterGui = game:GetService("StarterGui")
- local UserInputService = game:GetService("UserInputService")
- local Workspace = game:GetService("Workspace")
- local LocalPlayer = Players.LocalPlayer
- if not LocalPlayer then
- Players:GetPropertyChangedSignal("LocalPlayer"):Wait()
- LocalPlayer = Players.LocalPlayer
- end
- local Camera = Workspace.CurrentCamera
- Workspace:GetPropertyChangedSignal("CurrentCamera"):Connect(function()
- local newCamera = Workspace.CurrentCamera
- if newCamera then
- Camera = newCamera
- end
- end)
- local TOGGLE_INPUT_PRIORITY = Enum.ContextActionPriority.Low.Value
- local INPUT_PRIORITY = Enum.ContextActionPriority.High.Value
- local NAV_GAIN = Vector3.new(1, 1, 1)*64
- local PAN_GAIN = Vector2.new(0.75, 1)*8
- local FOV_GAIN = 300
- local PITCH_LIMIT = rad(90)
- local VEL_STIFFNESS = 1.5
- local PAN_STIFFNESS = 1.0
- local FOV_STIFFNESS = 4.0
- local Spring = {} do
- Spring.__index = Spring
- function Spring.new(freq, pos)
- local self = setmetatable({}, Spring)
- self.f = freq
- self.p = pos
- self.v = pos*0
- return self
- end
- function Spring:Update(dt, goal)
- local f = self.f*2*pi
- local p0 = self.p
- local v0 = self.v
- local offset = goal - p0
- local decay = exp(-f*dt)
- local p1 = goal + (v0*dt - offset*(f*dt + 1))*decay
- local v1 = (f*dt*(offset*f - v0) + v0)*decay
- self.p = p1
- self.v = v1
- return p1
- end
- function Spring:Reset(pos)
- self.p = pos
- self.v = pos*0
- end
- end
- local cameraPos = Vector3.new()
- local cameraRot = Vector2.new()
- local cameraFov = 0
- local velSpring = Spring.new(VEL_STIFFNESS, Vector3.new())
- local panSpring = Spring.new(PAN_STIFFNESS, Vector2.new())
- local fovSpring = Spring.new(FOV_STIFFNESS, 0)
- ------------------------------------------------------------------------
- local Input = {} do
- local thumbstickCurve do
- local K_CURVATURE = 2.0
- local K_DEADZONE = 0.15
- local function fCurve(x)
- return (exp(K_CURVATURE*x) - 1)/(exp(K_CURVATURE) - 1)
- end
- local function fDeadzone(x)
- return fCurve((x - K_DEADZONE)/(1 - K_DEADZONE))
- end
- function thumbstickCurve(x)
- return sign(x)*clamp(fDeadzone(abs(x)), 0, 1)
- end
- end
- local gamepad = {
- ButtonX = 0,
- ButtonY = 0,
- DPadDown = 0,
- DPadUp = 0,
- ButtonL2 = 0,
- ButtonR2 = 0,
- Thumbstick1 = Vector2.new(),
- Thumbstick2 = Vector2.new(),
- }
- local keyboard = {
- W = 0,
- A = 0,
- S = 0,
- D = 0,
- E = 0,
- Q = 0,
- U = 0,
- H = 0,
- J = 0,
- K = 0,
- I = 0,
- Y = 0,
- Up = 0,
- Down = 0,
- LeftShift = 0,
- RightShift = 0,
- }
- local mouse = {
- Delta = Vector2.new(),
- MouseWheel = 0,
- }
- local NAV_GAMEPAD_SPEED = Vector3.new(1, 1, 1)
- local NAV_KEYBOARD_SPEED = Vector3.new(1, 1, 1)
- local PAN_MOUSE_SPEED = Vector2.new(1, 1)*(pi/64)
- local PAN_GAMEPAD_SPEED = Vector2.new(1, 1)*(pi/8)
- local FOV_WHEEL_SPEED = 1.0
- local FOV_GAMEPAD_SPEED = 0.25
- local NAV_ADJ_SPEED = 0.75
- local NAV_SHIFT_MUL = 0.25
- local navSpeed = 1
- function Input.Vel(dt)
- navSpeed = clamp(navSpeed + dt*(keyboard.Up - keyboard.Down)*NAV_ADJ_SPEED, 0.01, 4)
- local kGamepad = Vector3.new(
- thumbstickCurve(gamepad.Thumbstick1.x),
- thumbstickCurve(gamepad.ButtonR2) - thumbstickCurve(gamepad.ButtonL2),
- thumbstickCurve(-gamepad.Thumbstick1.y)
- )*NAV_GAMEPAD_SPEED
- local kKeyboard = Vector3.new(
- keyboard.D - keyboard.A + keyboard.K - keyboard.H,
- keyboard.E - keyboard.Q + keyboard.I - keyboard.Y,
- keyboard.S - keyboard.W + keyboard.J - keyboard.U
- )*NAV_KEYBOARD_SPEED
- local shift = UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) or UserInputService:IsKeyDown(Enum.KeyCode.RightShift)
- return (kGamepad + kKeyboard)*(navSpeed*(shift and NAV_SHIFT_MUL or 1))
- end
- function Input.Pan(dt)
- local kGamepad = Vector2.new(
- thumbstickCurve(gamepad.Thumbstick2.y),
- thumbstickCurve(-gamepad.Thumbstick2.x)
- )*PAN_GAMEPAD_SPEED
- local kMouse = mouse.Delta*PAN_MOUSE_SPEED
- mouse.Delta = Vector2.new()
- return kGamepad + kMouse
- end
- function Input.Fov(dt)
- local kGamepad = (gamepad.ButtonX - gamepad.ButtonY)*FOV_GAMEPAD_SPEED
- local kMouse = mouse.MouseWheel*FOV_WHEEL_SPEED
- mouse.MouseWheel = 0
- return kGamepad + kMouse
- end
- do
- local function Keypress(action, state, input)
- keyboard[input.KeyCode.Name] = state == Enum.UserInputState.Begin and 1 or 0
- return Enum.ContextActionResult.Sink
- end
- local function GpButton(action, state, input)
- gamepad[input.KeyCode.Name] = state == Enum.UserInputState.Begin and 1 or 0
- return Enum.ContextActionResult.Sink
- end
- local function MousePan(action, state, input)
- local delta = input.Delta
- mouse.Delta = Vector2.new(-delta.y, -delta.x)
- return Enum.ContextActionResult.Sink
- end
- local function Thumb(action, state, input)
- gamepad[input.KeyCode.Name] = input.Position
- return Enum.ContextActionResult.Sink
- end
- local function Trigger(action, state, input)
- gamepad[input.KeyCode.Name] = input.Position.z
- return Enum.ContextActionResult.Sink
- end
- local function MouseWheel(action, state, input)
- mouse[input.UserInputType.Name] = -input.Position.z
- return Enum.ContextActionResult.Sink
- end
- local function Zero(t)
- for k, v in pairs(t) do
- t[k] = v*0
- end
- end
- function Input.StartCapture()
- ContextActionService:BindActionAtPriority("FreecamKeyboard", Keypress, false, INPUT_PRIORITY,
- Enum.KeyCode.W, Enum.KeyCode.U,
- Enum.KeyCode.A, Enum.KeyCode.H,
- Enum.KeyCode.S, Enum.KeyCode.J,
- Enum.KeyCode.D, Enum.KeyCode.K,
- Enum.KeyCode.E, Enum.KeyCode.I,
- Enum.KeyCode.Q, Enum.KeyCode.Y,
- Enum.KeyCode.Up, Enum.KeyCode.Down
- )
- ContextActionService:BindActionAtPriority("FreecamMousePan", MousePan, false, INPUT_PRIORITY, Enum.UserInputType.MouseMovement)
- ContextActionService:BindActionAtPriority("FreecamMouseWheel", MouseWheel, false, INPUT_PRIORITY, Enum.UserInputType.MouseWheel)
- ContextActionService:BindActionAtPriority("FreecamGamepadButton", GpButton, false, INPUT_PRIORITY, Enum.KeyCode.ButtonX, Enum.KeyCode.ButtonY)
- ContextActionService:BindActionAtPriority("FreecamGamepadTrigger", Trigger, false, INPUT_PRIORITY, Enum.KeyCode.ButtonR2, Enum.KeyCode.ButtonL2)
- ContextActionService:BindActionAtPriority("FreecamGamepadThumbstick", Thumb, false, INPUT_PRIORITY, Enum.KeyCode.Thumbstick1, Enum.KeyCode.Thumbstick2)
- end
- function Input.StopCapture()
- navSpeed = 1
- Zero(gamepad)
- Zero(keyboard)
- Zero(mouse)
- ContextActionService:UnbindAction("FreecamKeyboard")
- ContextActionService:UnbindAction("FreecamMousePan")
- ContextActionService:UnbindAction("FreecamMouseWheel")
- ContextActionService:UnbindAction("FreecamGamepadButton")
- ContextActionService:UnbindAction("FreecamGamepadTrigger")
- ContextActionService:UnbindAction("FreecamGamepadThumbstick")
- end
- end
- end
- local function GetFocusDistance(cameraFrame)
- local znear = 0.1
- local viewport = Camera.ViewportSize
- local projy = 2*tan(cameraFov/2)
- local projx = viewport.x/viewport.y*projy
- local fx = cameraFrame.rightVector
- local fy = cameraFrame.upVector
- local fz = cameraFrame.lookVector
- local minVect = Vector3.new()
- local minDist = 512
- for x = 0, 1, 0.5 do
- for y = 0, 1, 0.5 do
- local cx = (x - 0.5)*projx
- local cy = (y - 0.5)*projy
- local offset = fx*cx - fy*cy + fz
- local origin = cameraFrame.p + offset*znear
- local _, hit = Workspace:FindPartOnRay(Ray.new(origin, offset.unit*minDist))
- local dist = (hit - origin).magnitude
- if minDist > dist then
- minDist = dist
- minVect = offset.unit
- end
- end
- end
- return fz:Dot(minVect)*minDist
- end
- local function StepFreecam(dt)
- local vel = velSpring:Update(dt, Input.Vel(dt))
- local pan = panSpring:Update(dt, Input.Pan(dt))
- local fov = fovSpring:Update(dt, Input.Fov(dt))
- local zoomFactor = sqrt(tan(rad(70/2))/tan(rad(cameraFov/2)))
- cameraFov = clamp(cameraFov + fov*FOV_GAIN*(dt/zoomFactor), 1, 120)
- cameraRot = cameraRot + pan*PAN_GAIN*(dt/zoomFactor)
- cameraRot = Vector2.new(clamp(cameraRot.x, -PITCH_LIMIT, PITCH_LIMIT), cameraRot.y%(2*pi))
- local cameraCFrame = CFrame.new(cameraPos)*CFrame.fromOrientation(cameraRot.x, cameraRot.y, 0)*CFrame.new(vel*NAV_GAIN*dt)
- cameraPos = cameraCFrame.p
- Camera.CFrame = cameraCFrame
- Camera.Focus = cameraCFrame*CFrame.new(0, 0, -GetFocusDistance(cameraCFrame))
- Camera.FieldOfView = cameraFov
- end
- local PlayerState = {} do
- local mouseBehavior
- local mouseIconEnabled
- local cameraType
- local cameraFocus
- local cameraCFrame
- local cameraFieldOfView
- local screenGuis = {}
- local coreGuis = {
- Backpack = true,
- Chat = true,
- Health = true,
- PlayerList = true,
- }
- local setCores = {
- BadgesNotificationsActive = true,
- PointsNotificationsActive = true,
- }
- function PlayerState.Push()
- for name in pairs(coreGuis) do
- coreGuis[name] = StarterGui:GetCoreGuiEnabled(Enum.CoreGuiType[name])
- StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType[name], false)
- end
- for name in pairs(setCores) do
- setCores[name] = StarterGui:GetCore(name)
- StarterGui:SetCore(name, false)
- end
- local playergui = LocalPlayer:FindFirstChildOfClass("PlayerGui")
- if playergui then
- for _, gui in pairs(playergui:GetChildren()) do
- if gui:IsA("ScreenGui") and gui.Enabled then
- screenGuis[#screenGuis + 1] = gui
- gui.Enabled = false
- end
- end
- end
- cameraFieldOfView = Camera.FieldOfView
- Camera.FieldOfView = 70
- cameraType = Camera.CameraType
- Camera.CameraType = Enum.CameraType.Custom
- cameraCFrame = Camera.CFrame
- cameraFocus = Camera.Focus
- mouseIconEnabled = UserInputService.MouseIconEnabled
- UserInputService.MouseIconEnabled = false
- mouseBehavior = UserInputService.MouseBehavior
- UserInputService.MouseBehavior = Enum.MouseBehavior.Default
- end
- function PlayerState.Pop()
- for name, isEnabled in pairs(coreGuis) do
- StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType[name], isEnabled)
- end
- for name, isEnabled in pairs(setCores) do
- StarterGui:SetCore(name, isEnabled)
- end
- for _, gui in pairs(screenGuis) do
- if gui.Parent then
- gui.Enabled = true
- end
- end
- Camera.FieldOfView = cameraFieldOfView
- cameraFieldOfView = nil
- Camera.CameraType = cameraType
- cameraType = nil
- Camera.CFrame = cameraCFrame
- cameraCFrame = nil
- Camera.Focus = cameraFocus
- cameraFocus = nil
- UserInputService.MouseIconEnabled = mouseIconEnabled
- mouseIconEnabled = nil
- UserInputService.MouseBehavior = mouseBehavior
- mouseBehavior = nil
- end
- end
- local function StartFreecam()
- local cameraCFrame = Camera.CFrame
- cameraRot = Vector2.new(cameraCFrame:toEulerAnglesYXZ())
- cameraPos = cameraCFrame.p
- cameraFov = Camera.FieldOfView
- velSpring:Reset(Vector3.new())
- panSpring:Reset(Vector2.new())
- fovSpring:Reset(0)
- PlayerState.Push()
- RunService:BindToRenderStep("Freecam", Enum.RenderPriority.Camera.Value, StepFreecam)
- Input.StartCapture()
- end
- local function StopFreecam()
- Input.StopCapture()
- RunService:UnbindFromRenderStep("Freecam")
- PlayerState.Pop()
- end
- local function ToggleFreecam(fe)
- if fe then
- StartFreecam()
- else
- StopFreecam()
- end
- end
- local t = false
- local function scan(z,t)
- for _,i in pairs(z:GetChildren()) do
- if i:IsA("BasePart") and not i.Parent:FindFirstChild("Humanoid") and not i.Parent.Parent:FindFirstChild("Humanoid") then
- i.LocalTransparencyModifier = t
- end
- scan(i,t)
- end
- end
- function Xray(v)
- if v then
- scan(workspace, 0.5)
- else
- scan(workspace, 0)
- end
- end
- local WSVal = Game:AddSlider("WalkSpeed Value", 16, 400)
- Game:AddToggle("FreeCam", function(toggle)
- ToggleFreecam(toggle)
- end)
- Game:AddToggle("Wall Xray", function(toggle)
- Xray(toggle)
- end)
- local GameMT, Backups = getrawmetatable(game), {}
- setreadonly(GameMT, false)
- for i, v in next, GameMT do Backups[i] = v end
- GameMT.__index = newcclosure(function(t, k)
- if k == "WalkSpeed" and not checkcaller() then
- return 16
- end
- return Backups.__index(t, k)
- end)
- setreadonly(GameMT, true)
- loopAPI:CreateLoop("SpeedLoop", wait, function()
- pcall(function()
- if WS.State then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = WSVal.Value
- end
- end)
- end, true)
- end)
- Utils.AddLaunch("Strucid", function()
- local Game = window:AddSection("Main")
- local SlientAim = Game:AddToggle("Slient Aim")
- local InputService = game:GetService"UserInputService"
- local PlayerService = game:GetService"Players"
- local Client = PlayerService.LocalPlayer
- local Mouse = Client:GetMouse()
- local Camera = workspace.CurrentCamera
- local Shooting = false
- InputService.InputBegan:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- Shooting = true
- end
- end)
- InputService.InputEnded:connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- Shooting = false
- end
- end)
- local function getClosestPlayerToCursor()
- local closestPlayer = nil
- local shortestDistance = math.huge
- for i, v in pairs(game:GetService("Players"):GetPlayers()) do
- if v ~= Client and v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild("Head") then
- local pos = Camera:WorldToViewportPoint(v.Character.HumanoidRootPart.Position)
- local magnitude = (Vector2.new(pos.X, pos.Y) - Vector2.new(Mouse.X, Mouse.Y)).magnitude
- if magnitude < shortestDistance then
- closestPlayer = v
- shortestDistance = magnitude
- end
- end
- end
- if closestPlayer then
- return closestPlayer.Character.Head.CFrame
- else
- return CFrame.new()
- end
- end
- local mt = getrawmetatable(game)
- old_call = mt.__namecall
- old_index = mt.__index
- setreadonly(mt, false)
- mt.__index = newcclosure(function(t,i)
- if Shooting then
- if t == Mouse and i == "Hit" and SlientAim.State then
- return getClosestPlayerToCursor()
- end
- end
- return old_index(t, i)
- end)
- end)
- Utils.AddLaunch("BigPaintball", function()
- local section = window:AddSection("Main")
- local walkspeed = section:AddButton("Walkspeed", function()
- local mt = getrawmetatable(game)
- setreadonly(mt,false)
- local indexBackup = mt.__index
- mt.__index = function(a,b)
- if b == "Position" and a.Parent == game.Players.LocalPlayer.Character then
- return nil
- end
- return indexBackup(a,b)
- end
- while wait() do
- game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass"Humanoid".WalkSpeed = 100
- end
- end)
- local hitbox = section:AddToggle("Larger Hitbox")
- while wait() do
- if hitbox.State then
- local asd = workspace:getDescendants()
- for f=1,#asd do
- if asd[f].Name == "Hitbox" then
- if asd[f].Parent.Name ~= game.Players.LocalPlayer.Name then
- asd[f].Massless = true
- asd[f].Size = Vector3.new(50,50,50)
- asd[f].Transparency = 0.5
- end
- end
- end
- end
- end
- end)
- Utils.AddLaunch("AdventureUp", function()
- local section = window:AddSection("Main")
- local KillAura = section:AddToggle("Kill Aura")
- while wait() do
- if KillAura.State then
- for i,v in pairs(workspace:GetChildren()) do
- if v.ClassName == "Folder" then
- for i,f in pairs(v:GetChildren()) do
- if f.ClassName == "Folder" then
- for i, mob in pairs(f:GetChildren()) do
- if mob.ClassName == "Model" then
- if mob:FindFirstChild("HumanoidRootPart") and mob:FindFirstChild("Humanoid") and mob.Humanoid.Health > 0 and (mob.HumanoidRootPart.Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude < 30 then
- mob.Humanoid.Health = 0
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- Utils.AddLaunch("Arsenal", function()
- local section = window:AddSection("Main")
- local obama = getsenv(game.Players.LocalPlayer.PlayerGui.GUI.Client)
- local gunmod = section:AddToggle("Gun Mod")
- loopAPI:CreateLoop("Gun Mod", wait, function()
- if gunmod.State then
- obama.ammocount = 999
- obama.ammocount2 = 999
- obama.ammocount4 = 999
- obama.ammocount4 = 999
- obama.currentspread = 0
- obama.recoil = 0
- obama.spread = 0
- obama.mode = "automatic"
- obama.inducefalldamage = function(...) return nil end
- end
- end, true)
- local bhop = section:AddToggle("Bhop")
- local MT = getrawmetatable(game)
- local OldNameCall = MT.__namecall
- setreadonly(MT, false)
- MT.__namecall = newcclosure(function(self, ...)
- local Method = getnamecallmethod()
- local Args = {...}
- local shouldReturn = true
- if Method == "Kick" then
- shouldReturn = false
- end
- if shouldReturn then
- return OldNameCall(self, unpack(Args))
- end
- end)
- setreadonly(MT, true)
- while wait() do
- if bhop.State then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 43
- game.Players.LocalPlayer.Character.Humanoid.Jump = true
- end
- end
- end)
- Utils.AddLaunch("Hub", function()
- if GameName == "Prison Life" then
- UIInit.launch()
- PrisonLife.launch()
- Universal.launch()
- elseif GameName == "Sound Space" then
- local ts = game:GetService'TextService'
- local uis = game:GetService'UserInputService'
- local HttpService = game:GetService("HttpService")
- local ui = setmetatable({sg = Instance.new('ScreenGui',game.CoreGui),opened=true},{__metatable = function(a) print(a) end})
- -- Data
- local Settings = {}
- if isfile('eski.json') then
- Settings = HttpService:JSONDecode(readfile('eski.json'))
- end
- local Keybinds = {}
- local ExcludeFromMinimize = {}
- -- Functions
- local function tabletostring(tbl)
- local a = ''
- for i,v in pairs(tbl) do
- a = a..tostring(v)..','
- end
- return a
- end
- local KeybindHandler = uis.InputBegan:connect(function(key)
- for i,v in pairs(Keybinds) do
- if key.KeyCode == Enum.KeyCode[i] then
- for _,k in pairs(v) do
- for _,func in pairs(k) do
- spawn(func)
- end
- end
- end
- end
- end)
- local function AddKeybind(Key,name,func)
- if not Keybinds[Key] then
- Keybinds[Key] = {{[name]=func}}
- else
- table.insert(Keybinds[Key],{[name]=func})
- end
- end
- local function RemoveKeybind(name)
- for i,v in pairs(Keybinds) do
- for c,k in pairs(v) do
- for namee,func in pairs(k) do
- if namee == name then
- table.remove(v,c)
- end
- end
- end
- end
- end
- --AddKeybind('F','Eski',function() print'hi' end)
- --RemoveKeybind('Eski')
- local function new(obj,props)
- local _obj = Instance.new(obj)
- for Index,Value in pairs(props) do
- if type(Value) == 'function' then
- Value(_obj)
- else
- _obj[Index]=Value
- end
- end
- return _obj
- end
- -- new('Frame',{Size=UDim2.new()})
- function Roundify(gui,px)
- local Frame = new('ImageLabel',{
- ZIndex = gui.ZIndex,
- Name = math.random(1420420,99999999),
- ImageColor3 = gui.BackgroundColor3,
- BackgroundTransparency = 1,
- Position = UDim2.new(0, 0, 0, 0),
- Size = UDim2.new(1,0,1,0),
- Image = "rbxassetid://3570695787",
- ScaleType = Enum.ScaleType.Slice,
- SliceCenter = Rect.new(100, 100, 100, 100),
- SliceScale = (px and px/100 or .06),
- Parent = gui,
- })
- gui.ZIndex = gui.ZIndex + 1
- gui.BackgroundTransparency = 1
- end
- -- Roundify(GUIObj, pixels)
- local function FixPosition() -- for multiple ui:new() objs
- local ScreenSize = workspace.CurrentCamera.ViewportSize
- local x,y = ScreenSize.X, ScreenSize.Y
- local curx,cury = 10,10
- for i,v in pairs(ui.sg:GetChildren()) do
- if not ((curx + v.AbsoluteSize.X + 10) > x) then
- v.Position = UDim2.new(0,curx,0,cury)
- curx = curx + v.AbsoluteSize.X + 10
- else
- curx = 10
- cury = cury + 260
- v.Position = UDim2.new(0,curx,0,cury)
- curx = curx + v.AbsoluteSize.X + 10
- end
- end
- end
- -- UI
- local Menus = {}
- function ui:new(name,double)
- local Title = new('TextButton',{
- Draggable = true,
- BackgroundColor3 = Color3.fromRGB(53,138,242),
- BorderSizePixel = 0,
- AutoButtonColor = false,
- Text = " Atorify's Hub ".."- "..name[1],
- TextColor3 = Color3.new(1,1,1),
- TextXAlignment = 'Left',
- Font = 'Highway',
- TextSize = 15,
- Size = UDim2.new(0,220,0,30),
- Position = UDim2.new(0,20+230*#self.sg:GetChildren(),0.1,0),
- Parent = self.sg
- })
- table.insert(Menus,Title)
- FixPosition()
- local Background = new('ScrollingFrame',{
- Size = UDim2.new(1,0,0,220),
- Position = UDim2.new(0,0,1,0),
- BackgroundColor3 = Color3.fromRGB(40,40,40),
- BorderSizePixel = 0,
- ScrollBarImageColor3 = Color3.fromRGB(99,99,99),
- TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png",
- BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png",
- CanvasSize = UDim2.new(1,0,0,600),
- Parent = Title,
- })
- if double then
- Title.Size = UDim2.new(0,220*2+10,0,30)
- local Left = new('Frame',{
- BackgroundTransparency = 1,
- Size = UDim2.new(.5,0,1,0),
- Parent = Background,
- Name = 'Left',
- })
- local Right = Left:Clone()
- Right.Parent = Background
- Right.Position = UDim2.new(0.5,0,0,0)
- Right.Name = 'Right'
- end
- local function SetNextPos(Gui)
- if not double then
- if #Background:GetChildren() == 1 then
- Gui.Position = UDim2.new(0,5,0,5)
- else
- local DroppedPos = 0
- for i,v in pairs(Background:GetChildren()) do
- local num = (v.AbsoluteSize.Y + v.Position.Y.Offset) + 5
- if num > DroppedPos and v ~= Gui then
- DroppedPos = num
- end
- end
- Gui.Position = UDim2.new(0,5,0,DroppedPos)
- Gui.Parent.CanvasSize = UDim2.new(1,0,0,DroppedPos + Gui.AbsoluteSize.Y + 10)
- end
- else
- if #Gui.Parent:GetChildren() == 1 then
- Gui.Position = UDim2.new(0,5,0,5)
- else
- local DroppedPos = 0
- for i,v in pairs(Gui.Parent:GetChildren()) do
- local num = (v.AbsoluteSize.Y + v.Position.Y.Offset) + 5
- if num > DroppedPos and v ~= Gui then
- DroppedPos = num
- end
- end
- Gui.Position = UDim2.new(0,5,0,DroppedPos)
- end
- if Gui.Parent.Name == 'Right' then
- Gui.Position = Gui.Position - UDim2.new(0,8,0,0)
- end
- end
- end
- local ui = {}
- ui.Button = function(name,callback,Side)
- local Re = new('Frame',{
- Size = UDim2.new(1,-20,0,25),
- BackgroundColor3 = Color3.fromRGB(53,138,242),
- BorderSizePixel = 0,
- Parent = Background
- })
- if double then
- Re.Parent = (Side and Background['Left'] or Background['Right'])
- end
- SetNextPos(Re)
- Roundify(Re,3)
- local Toggle = new('TextButton',{
- Size = UDim2.new(1,-2,1,-4),
- Position = UDim2.new(0,1,0,1),
- BackgroundColor3 = Color3.fromRGB(40,40,40),
- BorderSizePixel = 0,
- AutoButtonColor = false,
- Text = name,
- TextColor3 = Color3.new(1,1,1),
- TextSize = 8,
- Parent = Re,
- })
- Roundify(Toggle,3)
- Toggle.MouseButton1Down:connect(callback)
- end
- ui.Label = function(Name,Side)
- local Re = new('TextLabel',{
- Size = UDim2.new(1,-15,0,15),
- BackgroundTransparency = 1,
- BorderSizePixel = 0,
- Text=Name,
- TextColor3 = Color3.new(1,1,1),
- TextSize = 8,
- Parent = Background
- })
- if double then
- Re.Parent = (Side and Background['Left'] or Background['Right'])
- end
- SetNextPos(Re)
- end
- ui.Toggle = function(name,global,Side)
- local Toggle = new('TextButton',{
- Size = UDim2.new(0,15,0,15),
- BackgroundColor3 = Color3.fromRGB(53,138,242),
- BorderSizePixel = 0,
- AutoButtonColor = false,
- Text = '',
- Font = 'GothamBold',
- TextSize = 14,
- TextColor3 = Color3.fromRGB(40,40,40),
- Parent = Background,
- })
- Roundify(Toggle,3)
- if double then
- Toggle.Parent = (Side and Background['Left'] or Background['Right'])
- end
- SetNextPos(Toggle)
- local RToggle = new('Frame',{
- Size = UDim2.new(0.9,0,.9,0),
- Position = UDim2.new(0.05,0,.05,0),
- BackgroundColor3 = Color3.fromRGB(40,40,40),
- BorderSizePixel = 0,
- Parent = Toggle
- })
- Roundify(RToggle,3)
- local Label = new('TextLabel',{
- Size = UDim2.new(0,ts:GetTextSize(name,12,'Arial',Vector2.new(999,999)).X,0,15),
- Position = UDim2.new(1,5,0,1),
- Text = name,
- TextSize = 12,
- Font = 'Arial',
- TextColor3 = Color3.new(1,1,1),
- BackgroundTransparency = 1,
- Parent = Toggle
- })
- Toggle.MouseButton1Down:connect(function()
- RToggle.Visible = not RToggle.Visible
- Settings[global]= not RToggle.Visible
- print(not RToggle.Visible)
- end)
- end
- ui.Slider = function(name,global,float,Max,Side)
- local Bg = new('Frame',{
- Size = UDim2.new(1,-20,0,55),
- BackgroundColor3=Color3.fromRGB(53,138,242),--Color3.fromRGB(53,138,242)
- Parent = Background
- })
- Roundify(Bg,3)
- local BG = new('Frame',{
- Size = UDim2.new(1,-2,1,-2),
- Position = UDim2.new(0,1,0,1),
- BackgroundColor3 = Color3.fromRGB(40,40,40),
- Parent = Bg,
- })
- local Label = new('TextLabel',{
- Position = UDim2.new(0,10,0,2),
- Size = UDim2.new(.8,0,0,15),
- Text = name,
- TextXAlignment = 'Left',
- TextSize = 8,
- TextColor3 = Color3.new(1,1,1),
- Parent = BG
- })
- Label.Text = string.format(name,0)
- Roundify(BG,3)
- Roundify(Label,3)
- if double then
- Bg.Parent = (Side and Background['Left'] or Background['Right'])
- end
- SetNextPos(Bg)
- local SliderBar = new('Frame',{
- Size = UDim2.new(.9,0,0,3),
- Position = UDim2.new(.05,0,.6,0),
- BackgroundColor3 = Color3.fromRGB(100,100,100),
- Parent = BG,
- })
- Roundify(SliderBar,3)
- local SliderBall = new('Frame',{
- BackgroundColor3=Color3.fromRGB(53,138,242),
- Position = UDim2.new(0,0,0.5,-7.5),
- Size = UDim2.new(0,15,0,15),
- Parent = SliderBar
- })
- Roundify(SliderBall,10)
- SliderBall.Active = true
- SliderBall.Draggable = true
- SliderBall:GetPropertyChangedSignal'Position':connect(function()
- SliderBall.Position = UDim2.new(0,math.clamp(SliderBall.Position.X.Offset,0,SliderBar.AbsoluteSize.X-10),0,-6.5)
- if float then
- local val = math.floor((SliderBall.Position.X.Offset/(SliderBar.AbsoluteSize.X-10))*Max)
- Label.Text = string.format(name,val)
- Settings[global]=val
- else
- local val = SliderBall.Position.X.Offset/(SliderBar.AbsoluteSize.X-10)
- val = math.floor(val*Max*10)/10
- Label.Text = string.format(name,val)
- Settings[global]=val
- end
- end)
- end
- ui.CheckSlider = function(name,global,global2,float,Max,Side)
- local Bg = new('Frame',{
- Size = UDim2.new(1,-20,0,55),
- BackgroundColor3=Color3.fromRGB(53,138,242),
- Parent = Background
- })
- Roundify(Bg,3)
- local BG = new('Frame',{
- Size = UDim2.new(1,-2,1,-2),
- Position = UDim2.new(0,1,0,1),
- BackgroundColor3 = Color3.fromRGB(40,40,40),
- Parent = Bg,
- })
- local Label = new('TextLabel',{
- Position = UDim2.new(.15,0,0,5),
- Size = UDim2.new(.8,0,0,15),
- Text = name,
- TextXAlignment = 'Left',
- TextSize = 8,
- TextColor3 = Color3.new(1,1,1),
- Parent = BG
- })
- Label.Text = string.format(name,0)
- Roundify(Label,3)
- Roundify(BG,3)
- if double then
- Bg.Parent = (Side and Background['Left'] or Background['Right'])
- end
- SetNextPos(Bg)
- local SliderBar = new('Frame',{
- Size = UDim2.new(.9,0,0,3),
- Position = UDim2.new(.05,0,.6,0),
- BackgroundColor3 = Color3.fromRGB(100,100,100),
- Parent = BG,
- })
- Roundify(SliderBar,3)
- local SliderBall = new('Frame',{
- BackgroundColor3=Color3.fromRGB(53,138,242),
- Position = UDim2.new(0,0,0.5,-7.5),
- Size = UDim2.new(0,15,0,15),
- Parent = SliderBar
- })
- Roundify(SliderBall,10)
- SliderBall.Active = true
- SliderBall.Draggable = true
- SliderBall:GetPropertyChangedSignal'Position':connect(function()
- SliderBall.Position = UDim2.new(0,math.clamp(SliderBall.Position.X.Offset,0,SliderBar.AbsoluteSize.X-10),0,-6.5)
- if float then
- local val = math.floor((SliderBall.Position.X.Offset/(SliderBar.AbsoluteSize.X-10))*Max)
- Label.Text = string.format(name,val)
- Settings[global2]=val
- else
- local val = SliderBall.Position.X.Offset/(SliderBar.AbsoluteSize.X-10)
- val = math.floor(val*Max*10)/10
- Label.Text = string.format(name,val)
- Settings[global2]=val
- end
- end)
- local Toggle = new('TextButton',{
- Size = UDim2.new(0,15,0,15),
- BackgroundColor3 = Color3.fromRGB(53,138,242),
- BorderSizePixel = 0,
- AutoButtonColor = false,
- Text = '',
- Position = UDim2.new(0,5,0,5),
- Parent = BG,
- })
- Roundify(Toggle,3)
- local RToggle = new('Frame',{
- Size = UDim2.new(0.9,0,.9,0),
- Position = UDim2.new(0.05,0,.05,0),
- BackgroundColor3 = Color3.fromRGB(40,40,40),
- BorderSizePixel = 0,
- Parent = Toggle
- })
- Roundify(RToggle,3)
- Toggle.MouseButton1Down:connect(function()
- RToggle.Visible = not RToggle.Visible
- Settings[global]= not RToggle.Visible
- print(not RToggle.Visible)
- end)
- end
- ui.Keybind = function(name,func,Side)
- local Toggle = new('TextButton',{
- Size = UDim2.new(0,15,0,15),
- BackgroundColor3 = Color3.fromRGB(53,138,242),
- BorderSizePixel = 0,
- AutoButtonColor = false,
- Text = '',
- Parent = Background,
- })
- Roundify(Toggle,3)
- if double then
- Toggle.Parent = (Side and Background['Left'] or Background['Right'])
- end
- SetNextPos(Toggle)
- local RToggle = new('Frame',{
- Size = UDim2.new(0.9,0,.9,0),
- Position = UDim2.new(0.05,0,.05,0),
- BackgroundColor3 = Color3.fromRGB(40,40,40),
- BorderSizePixel = 0,
- Parent = Toggle
- })
- Roundify(RToggle,3)
- local Label = new('TextLabel',{
- Size = UDim2.new(0,ts:GetTextSize(name,12,'Arial',Vector2.new(999,999)).X,0,15),
- Position = UDim2.new(1,5,0,1),
- Text = name,
- TextSize = 12,
- Font = 'Arial',
- TextColor3 = Color3.new(1,1,1),
- BackgroundTransparency = 1,
- Parent = Toggle
- })
- local Key = new('TextLabel',{
- Size = UDim2.new(0,30,1,0),
- Position = UDim2.new(1,10,0,0),
- BackgroundTransparency = 1,
- Text = '',
- TextXAlignment = 'Left',
- TextSize = 12,
- Font = 'Arial',
- TextColor3 = Color3.new(1,1,1),
- Parent = Label,
- })
- local newfunc = function()
- if not RToggle.Visible then
- spawn(func)
- end
- end
- Toggle.MouseButton2Down:connect(function()
- Key.Text = ''
- local a = uis.InputBegan:wait()
- local a = uis.InputBegan:wait()
- for i=1,#tostring(a.KeyCode) do
- if tostring(a.KeyCode):sub(i,i) == '.' then
- Key.Text = tostring(a.KeyCode):sub(i+1)
- end
- end
- RemoveKeybind(name)
- AddKeybind(Key.Text,name,newfunc)
- end)
- Toggle.MouseButton1Down:connect(function()
- RToggle.Visible = not RToggle.Visible
- end)
- end
- ui.Input = function(name,global,numsonly,Side)
- local Re = new('TextBox',{
- Size = UDim2.new(0,60,0,23),
- BackgroundColor3 = Color3.fromRGB(40,40,40),
- BorderSizePixel = 0,
- Text = name,
- TextColor3 = Color3.new(1,1,1),
- TextSize = 12,
- Font='Arial',
- Parent = Background
- })
- Re.Size = UDim2.new(0,60+ts:GetTextSize(Re.Text,12,'Arial',Vector2.new(999,999)).X,0,23)
- if double then
- Re.Parent = (Side and Background['Left'] or Background['Right'])
- end
- SetNextPos(Re)
- Roundify(Re,3)
- local Toggle = new('Frame',{
- Size = UDim2.new(1,2,1,2),
- Position = UDim2.new(0,-1,0,-1),
- BackgroundColor3 = Color3.fromRGB(53,138,242),
- BorderSizePixel = 0,
- Parent = Re,
- })
- Roundify(Toggle,3)
- Re.ZIndex = Re.ZIndex + 1
- Re:GetChildren()[1].ZIndex = Re.ZIndex
- Re.ZIndex = Re.ZIndex + 1
- Re:GetPropertyChangedSignal'Text':connect(function()
- if numsonly then
- if type(tonumber(Re.Text)) ~= 'number' then
- Re.PlaceholderText = '0'
- Re.Text = ''
- end
- end
- Re.Size = UDim2.new(0,60+ts:GetTextSize(Re.Text,12,'Arial',Vector2.new(999,999)).X,0,23)
- Settings[global]=Re.Text
- end)
- end
- ui.Label = function(Name,Side)
- local Re = new('TextLabel',{
- Size = UDim2.new(1,-15,0,15),
- BackgroundTransparency = 1,
- BorderSizePixel = 0,
- Text=Name,
- TextColor3 = Color3.new(1,1,1),
- TextSize = 8,
- Parent = Background
- })
- if double then
- Re.Parent = (Side and Background['Left'] or Background['Right'])
- end
- SetNextPos(Re)
- end
- ui.Selection = function(name,global,data,Checkboxes,func,Side)
- local selected = {}
- local Re = new('Frame',{
- Size = UDim2.new(1,-20,0,75),
- BackgroundColor3 = Color3.fromRGB(53,138,242),
- BorderSizePixel = 0,
- Parent = Background
- })
- if double then
- Re.Parent = (Side and Background['Left'] or Background['Right'])
- end
- SetNextPos(Re)
- Roundify(Re,3)
- local Toggle = new('Frame',{
- Size = UDim2.new(1,-2,1,-2),
- Position = UDim2.new(0,1,0,1),
- BackgroundColor3 = Color3.fromRGB(40,40,40),
- BorderSizePixel = 0,
- Parent = Re,
- })
- local Label = new('TextLabel',{
- Size = UDim2.new(1,0,0,10),
- Position = UDim2.new(0,5,0,7),
- BackgroundTransparency = 1,
- Text = name:format('nil'),
- TextColor3 = Color3.new(1,1,1),
- TextSize = 8,
- TextWrapped = true,
- TextXAlignment = 'Left',
- Parent = Re,
- })
- Label.ZIndex = Re.ZIndex
- local Scroll = new('ScrollingFrame',{
- Size = UDim2.new(1,0,1,-20),
- Position = UDim2.new(0,0,0,20),
- BackgroundTransparency = 1,
- ScrollBarImageColor3 = Color3.fromRGB(99,99,99),
- TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png",
- BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png",
- Parent = Re,
- })
- for i,v in pairs(data) do
- if not Checkboxes then
- local a = new('TextButton',{
- Size = UDim2.new(1,0,0,15),
- Position = UDim2.new(0,0,0,17*(#Scroll:GetChildren())+3),
- Text = v,
- TextColor3 = Color3.new(1,1,1),
- TextSize = 8,
- BackgroundTransparency=1,
- Parent = Scroll,
- })
- a.MouseButton1Down:connect(function()
- Label.Text = name:format(a.Text)
- Settings[global]=a.Text
- end)
- Scroll.CanvasSize = UDim2.new(1,0,0,20*(#Scroll:GetChildren()))
- else
- local Toggle = new('TextButton',{
- Size = UDim2.new(0,15,0,15),
- Position = UDim2.new(0,5,0,20*#Scroll:GetChildren()+5),
- BackgroundColor3 = Color3.fromRGB(53,138,242),
- BorderSizePixel = 0,
- AutoButtonColor = false,
- Text = '',
- Parent = Scroll,
- })
- Scroll.CanvasSize = UDim2.new(1,0,0,25*(#Scroll:GetChildren()))
- Roundify(Toggle,3)
- local RToggle = new('Frame',{
- Size = UDim2.new(0.9,0,.9,0),
- Position = UDim2.new(0.05,0,.05,0),
- BackgroundColor3 = Color3.fromRGB(40,40,40),
- BorderSizePixel = 0,
- Parent = Toggle
- })
- Roundify(RToggle,3)
- local Labell = new('TextLabel',{
- Size = UDim2.new(0,ts:GetTextSize(name,12,'Arial',Vector2.new(999,999)).X,0,15),
- Position = UDim2.new(1,5,0,1),
- Text = v,
- TextSize = 12,
- Font = 'Arial',
- TextColor3 = Color3.new(1,1,1),
- BackgroundTransparency = 1,
- Parent = Toggle
- })
- Toggle.MouseButton1Down:connect(function()
- RToggle.Visible = not RToggle.Visible
- if not RToggle.Visible then
- local db = false
- for i,v in pairs(selected) do
- if v == Labell.Name then
- db = true
- end
- end
- if not db then selected[i]=v end
- else
- for i,k in pairs(selected) do
- if k == v then
- table.remove(selected,i)
- end
- end
- end
- Settings[global]= selected
- local a = ts:GetTextSize(name:format(tabletostring(selected)),12,'Arial',Vector2.new(300,10))
- if a.X > Label.AbsoluteSize.X then
- Label.Text = name:format(#selected)
- else
- Label.Text = name:format(tabletostring(selected))
- end
- end)
- end
- end
- end
- ui.ColorPicker = function(name,global,ObjsToChange)
- local Re = new('Frame',{
- Size = UDim2.new(1,-20,0,125),
- BackgroundColor3 = Color3.fromRGB(53,138,242),
- BorderSizePixel = 0,
- Parent = Background
- })
- if double then
- Re.Parent = (Side and Background['Left'] or Background['Right'])
- end
- SetNextPos(Re)
- Roundify(Re,3)
- local Toggle = new('Frame',{
- Size = UDim2.new(1,-2,1,-2),
- Position = UDim2.new(0,1,0,1),
- BackgroundColor3 = Color3.fromRGB(40,40,40),
- BorderSizePixel = 0,
- Parent = Re,
- })
- local Label = new('TextLabel',{
- Size = UDim2.new(1,0,0,10),
- Position = UDim2.new(0,5,0,7),
- BackgroundTransparency = 1,
- Text = name,
- TextColor3 = Color3.new(1,1,1),
- TextSize = 8,
- TextXAlignment = 'Left',
- Parent = Re,
- })
- end
- return ui
- end
- --[[
- ui:new( table{game (string),section (string)}, doublesized (bool))
- ui.Label(name)
- ui.Button(name,callback (function),Side (bool))
- ui.Toggle(name,global,Side (bool))
- ui.Slider(name,global,float (bool),Max (int),Side (bool))
- ui.CheckSlider(name,globalForToggle ,globalForValue ,float (bool),Max (int),Side (bool))
- ui.Keybind(name, function)
- ui.Input(name, global, Numbers Only)
- ui.Selection(name, global, table (str options),Checkboxes (bool), callback (function), Side (bool)
- ]]
- AddKeybind('RightShift','MenuToggle',function() ui.opened = not ui.opened for i,v in pairs(Menus) do if not ExcludeFromMinimize[v] then v.Visible = ui.opened end end end)
- local a = ui:new({'Sound Space','Normal'},false)
- a.Label("Auto-Player")
- a.Button('Almost no misses', function()
- local aimbotting = true
- local tweenService = game:GetService("TweenService")
- local currentCamera = game:GetService("Workspace").CurrentCamera
- local localPlayer = game:GetService("Players").LocalPlayer
- local client = game:GetService("Workspace").Client
- local function getClosestCube()
- local closestCube = nil
- local shortestDistance = math.huge
- for i, v in pairs(client.Cubes:GetChildren()) do
- if v:IsA("BasePart") then
- local magnitude = (v.Position - client.CameraPos.Position).magnitude
- if magnitude < shortestDistance then
- closestCube = v
- shortestDistance = magnitude
- end
- end
- end
- return closestCube
- end
- game:GetService("RunService").RenderStepped:Connect(function()
- if aimbotting then
- pcall(function()
- tweenService:Create(currentCamera, TweenInfo.new(-math.huge, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {CFrame = CFrame.new(client.CameraPos.Position, getClosestCube().Position)}):Play()
- end)
- end
- end)
- end)
- a.Button('Less misses', function()
- local aimbotting = true
- local tweenService = game:GetService("TweenService")
- local currentCamera = game:GetService("Workspace").CurrentCamera
- local localPlayer = game:GetService("Players").LocalPlayer
- local client = game:GetService("Workspace").Client
- local function getClosestCube()
- local closestCube = nil
- local shortestDistance = math.huge
- for i, v in pairs(client.Cubes:GetChildren()) do
- if v:IsA("BasePart") then
- local magnitude = (v.Position - client.CameraPos.Position).magnitude
- if magnitude < shortestDistance then
- closestCube = v
- shortestDistance = magnitude
- end
- end
- end
- return closestCube
- end
- game:GetService("RunService").RenderStepped:Connect(function()
- if aimbotting then
- pcall(function()
- tweenService:Create(currentCamera, TweenInfo.new(-1000, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {CFrame = CFrame.new(client.CameraPos.Position, getClosestCube().Position)}):Play()
- end)
- end
- end)
- end)
- a.Button('Smoother but more misses', function()
- local aimbotting = true
- local tweenService = game:GetService("TweenService")
- local currentCamera = game:GetService("Workspace").CurrentCamera
- local localPlayer = game:GetService("Players").LocalPlayer
- local client = game:GetService("Workspace").Client
- local function getClosestCube()
- local closestCube = nil
- local shortestDistance = math.huge
- for i, v in pairs(client.Cubes:GetChildren()) do
- if v:IsA("BasePart") then
- local magnitude = (v.Position - client.CameraPos.Position).magnitude
- if magnitude < shortestDistance then
- closestCube = v
- shortestDistance = magnitude
- end
- end
- end
- return closestCube
- end
- game:GetService("RunService").RenderStepped:Connect(function()
- if aimbotting then
- pcall(function()
- tweenService:Create(currentCamera, TweenInfo.new(0.065, Enum.EasingStyle.Linear, Enum.EasingDirection.Out), {CFrame = CFrame.new(client.CameraPos.Position, getClosestCube().Position)}):Play()
- end)
- end
- end)
- end)
- elseif GameName == "Operation Scorpion" then
- UIInit.launch()
- OperationScorpion.launch()
- Universal.launch()
- elseif GameName == "Electric State DarkRP" then
- UIInit.launch()
- ElectricStateDarkRP.launch()
- Universal.launch()
- elseif GameName == "Strucid" then
- UIInit.launch()
- Strucid.launch()
- Universal.launch()
- elseif GameName == "Big Paintball" then
- UIInit.launch()
- Universal.launch()
- BigPaintball.launch()
- elseif GameName == "Adventure Up" then
- UIInit.launch()
- AdventureUp.launch()
- elseif GameName == "KAT" then
- UIInit.launch()
- KAT.launch()
- Universal.launch()
- elseif GameName == "Arsenal" then
- UIInit.launch()
- Universal.launch()
- Arsenal.launch()
- elseif GameName == "Ninja Legends" then
- UIInit.launch()
- Universal.launch()
- NinjaLegends.launch()
- else
- Universal.launch()
- end
- end)
- HubLauncher.launch()
- end)
Add Comment
Please, Sign In to add comment