Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- CoreX Hub GUI with Intro, Rainbow Key System, and Smooth Sliding Panels
- local TweenService = game:GetService("TweenService")
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- local screenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
- screenGui.Name = "CoreXHub"
- screenGui.ResetOnSpawn = false
- -- ░I░N░T░R░O
- local introFrame = Instance.new("Frame", screenGui)
- introFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- introFrame.Size = UDim2.new(1, 0, 1, 0)
- local titleLabel = Instance.new("TextLabel", introFrame)
- titleLabel.Text = "CoreX Hub"
- titleLabel.Font = Enum.Font.GothamBlack
- titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- titleLabel.TextScaled = true
- titleLabel.Size = UDim2.new(1, 0, 1, 0)
- titleLabel.BackgroundTransparency = 1
- wait(2)
- TweenService:Create(introFrame, TweenInfo.new(1.5), {BackgroundTransparency = 1}):Play()
- TweenService:Create(titleLabel, TweenInfo.new(1.5), {TextTransparency = 1}):Play()
- wait(2)
- introFrame:Destroy()
- -- ░K░E░Y░ S░Y░S░T░E░M (sliding in)
- local keyFrame = Instance.new("Frame", screenGui)
- keyFrame.Size = UDim2.new(0, 400, 0, 250)
- keyFrame.Position = UDim2.new(1.2, 0, 0.5, -125) -- start offscreen
- keyFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- keyFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- -- Rainbow top bar
- local rainbowBar = Instance.new("Frame", keyFrame)
- rainbowBar.Size = UDim2.new(1, 0, 0, 4)
- rainbowBar.Position = UDim2.new(0, 0, 0, 0)
- -- Rainbow border using UIStroke
- local uiStroke = Instance.new("UIStroke", keyFrame)
- uiStroke.Thickness = 2
- -- Animate rainbow color (bar + border)
- coroutine.wrap(function()
- local hue = 0
- while keyFrame and keyFrame.Parent do
- hue = (hue + 0.01) % 1
- local color = Color3.fromHSV(hue, 1, 1)
- rainbowBar.BackgroundColor3 = color
- uiStroke.Color = color
- wait(0.05)
- end
- end)()
- -- Slide in keyFrame
- TweenService:Create(keyFrame, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
- Position = UDim2.new(0.5, 0, 0.5, 0)
- }):Play()
- -- Key input box
- local keyBox = Instance.new("TextBox", keyFrame)
- keyBox.PlaceholderText = "Enter Key..."
- keyBox.Size = UDim2.new(0.8, 0, 0.2, 0)
- keyBox.Position = UDim2.new(0.1, 0, 0.2, 0)
- keyBox.TextScaled = true
- keyBox.Font = Enum.Font.Gotham
- keyBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- keyBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- -- Get Key Button
- local getKeyBtn = Instance.new("TextButton", keyFrame)
- getKeyBtn.Text = "Get Key"
- getKeyBtn.Size = UDim2.new(0.35, 0, 0.15, 0)
- getKeyBtn.Position = UDim2.new(0.1, 0, 0.5, 0)
- getKeyBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 255)
- getKeyBtn.TextColor3 = Color3.new(1,1,1)
- getKeyBtn.Font = Enum.Font.GothamBold
- getKeyBtn.TextScaled = true
- getKeyBtn.MouseButton1Click:Connect(function()
- setclipboard("https://direct-link.net/1356412/RyIYyokHhIW3")
- end)
- -- Submit Button
- local submitBtn = Instance.new("TextButton", keyFrame)
- submitBtn.Text = "Submit"
- submitBtn.Size = UDim2.new(0.35, 0, 0.15, 0)
- submitBtn.Position = UDim2.new(0.55, 0, 0.5, 0)
- submitBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 100)
- submitBtn.TextColor3 = Color3.new(1,1,1)
- submitBtn.Font = Enum.Font.GothamBold
- submitBtn.TextScaled = true
- submitBtn.MouseButton1Click:Connect(function()
- if keyBox.Text == "Corex hub 908" then
- -- Slide out keyFrame
- TweenService:Create(keyFrame, TweenInfo.new(1), {
- Position = UDim2.new(-1, 0, 0.5, 0)
- }):Play()
- wait(1)
- keyFrame:Destroy()
- -- ░M░A░I░N░ P░A░N░E░L
- local panel = Instance.new("Frame", screenGui)
- panel.Size = UDim2.new(0.8, 0, 0.8, 0)
- panel.Position = UDim2.new(1.1, 0, 0.1, 0)
- panel.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
- panel.BorderSizePixel = 0
- local title = Instance.new("TextLabel", panel)
- title.Text = "CoreX Hub Control Panel"
- title.Size = UDim2.new(1, 0, 0.1, 0)
- title.BackgroundTransparency = 1
- title.Font = Enum.Font.GothamBold
- title.TextScaled = true
- title.TextColor3 = Color3.fromRGB(255, 255, 255)
- local toggle = Instance.new("TextButton", panel)
- toggle.Text = "☑️ Kill Aura"
- toggle.Size = UDim2.new(0.3, 0, 0.1, 0)
- toggle.Position = UDim2.new(0.05, 0, 0.2, 0)
- toggle.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- toggle.TextColor3 = Color3.new(1,1,1)
- toggle.Font = Enum.Font.GothamBold
- toggle.TextScaled = true
- local enabled = true
- toggle.MouseButton1Click:Connect(function()
- enabled = not enabled
- toggle.Text = enabled and "☑️ Kill Aura" or "✖️ Kill Aura"
- end)
- -- Slide in main panel
- TweenService:Create(panel, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
- Position = UDim2.new(0.1, 0, 0.1, 0)
- }):Play()
- else
- keyBox.Text = "Wrong Key!"
- keyBox.TextColor3 = Color3.fromRGB(255, 50, 50)
- end
- end)
Add Comment
Please, Sign In to add comment