--[[ OpenSource Hub (Executor Compatible) Made by _OpenSource_ ]] --// Services (IMPORTANT for executors) local Players = game:GetService("Players") local CoreGui = game:GetService("CoreGui") local UIS = game:GetService("UserInputService") local player = Players.LocalPlayer --// Remove old GUI (prevents duplicates) if CoreGui:FindFirstChild("AuraHub") then CoreGui:FindFirstChild("AuraHub"):Destroy() end --// GUI local gui = Instance.new("ScreenGui") gui.Name = "AuraHub" gui.Parent = CoreGui gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling gui.ResetOnSpawn = false --// Main Frame local frame = Instance.new("Frame") frame.Size = UDim2.new(0.3, 0, 0.25, 0) frame.Position = UDim2.new(0.35, 0, 0.35, 0) frame.BackgroundColor3 = Color3.fromRGB(25, 25, 35) frame.BorderSizePixel = 0 frame.Active = true frame.Parent = gui Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 12) --// UI Scale (mobile support) local uiScale = Instance.new("UIScale") uiScale.Scale = 1 uiScale.Parent = frame --// Title local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0.2, 0) title.BackgroundTransparency = 1 title.Text = "OpenSource Hub" title.TextColor3 = Color3.fromRGB(220,220,255) title.Font = Enum.Font.GothamBold title.TextScaled = true title.Parent = frame --// Credit local credit = Instance.new("TextLabel") credit.Size = UDim2.new(1, 0, 0.15, 0) credit.Position = UDim2.new(0, 0, 0.18, 0) credit.BackgroundTransparency = 1 credit.Text = "Made by _OpenSource_" credit.TextColor3 = Color3.fromRGB(150,150,200) credit.Font = Enum.Font.Gotham credit.TextScaled = true credit.Parent = frame --// Button local button = Instance.new("TextButton") button.Size = UDim2.new(0.8, 0, 0.35, 0) button.Position = UDim2.new(0.1, 0, 0.55, 0) button.BackgroundColor3 = Color3.fromRGB(70, 70, 120) button.Text = "Kill Aura: OFF" button.TextColor3 = Color3.fromRGB(255,255,255) button.Font = Enum.Font.GothamBold button.TextScaled = true button.Parent = frame Instance.new("UICorner", button).CornerRadius = UDim.new(0, 10) --// Toggle System local enabled = false button.MouseButton1Click:Connect(function() enabled = not enabled button.Text = "Kill Aura: " .. (enabled and "ON" or "OFF") end) --// DRAG SYSTEM (PC + MOBILE FIXED) local dragging = false local dragInput, dragStart, startPos local function update(input) local delta = input.Position - dragStart frame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) frame.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UIS.InputChanged:Connect(function(input) if input == dragInput and dragging then update(input) end end)