Algarnr

NEW COREX SCRIPT NOT PATCH

Jun 1st, 2025
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- CoreX Hub GUI with Intro, Rainbow Key System, and Smooth Sliding Panels
  2.  
  3. local TweenService = game:GetService("TweenService")
  4. local Players = game:GetService("Players")
  5. local player = Players.LocalPlayer
  6.  
  7. local screenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
  8. screenGui.Name = "CoreXHub"
  9. screenGui.ResetOnSpawn = false
  10.  
  11. -- ░I░N░T░R░O
  12. local introFrame = Instance.new("Frame", screenGui)
  13. introFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  14. introFrame.Size = UDim2.new(1, 0, 1, 0)
  15.  
  16. local titleLabel = Instance.new("TextLabel", introFrame)
  17. titleLabel.Text = "CoreX Hub"
  18. titleLabel.Font = Enum.Font.GothamBlack
  19. titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  20. titleLabel.TextScaled = true
  21. titleLabel.Size = UDim2.new(1, 0, 1, 0)
  22. titleLabel.BackgroundTransparency = 1
  23.  
  24. wait(2)
  25. TweenService:Create(introFrame, TweenInfo.new(1.5), {BackgroundTransparency = 1}):Play()
  26. TweenService:Create(titleLabel, TweenInfo.new(1.5), {TextTransparency = 1}):Play()
  27. wait(2)
  28. introFrame:Destroy()
  29.  
  30. -- ░K░E░Y░  S░Y░S░T░E░M (sliding in)
  31.  
  32. local keyFrame = Instance.new("Frame", screenGui)
  33. keyFrame.Size = UDim2.new(0, 400, 0, 250)
  34. keyFrame.Position = UDim2.new(1.2, 0, 0.5, -125) -- start offscreen
  35. keyFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  36. keyFrame.AnchorPoint = Vector2.new(0.5, 0.5)
  37.  
  38. -- Rainbow top bar
  39. local rainbowBar = Instance.new("Frame", keyFrame)
  40. rainbowBar.Size = UDim2.new(1, 0, 0, 4)
  41. rainbowBar.Position = UDim2.new(0, 0, 0, 0)
  42.  
  43. -- Rainbow border using UIStroke
  44. local uiStroke = Instance.new("UIStroke", keyFrame)
  45. uiStroke.Thickness = 2
  46.  
  47. -- Animate rainbow color (bar + border)
  48. coroutine.wrap(function()
  49.     local hue = 0
  50.     while keyFrame and keyFrame.Parent do
  51.         hue = (hue + 0.01) % 1
  52.         local color = Color3.fromHSV(hue, 1, 1)
  53.         rainbowBar.BackgroundColor3 = color
  54.         uiStroke.Color = color
  55.         wait(0.05)
  56.     end
  57. end)()
  58.  
  59. -- Slide in keyFrame
  60. TweenService:Create(keyFrame, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  61.     Position = UDim2.new(0.5, 0, 0.5, 0)
  62. }):Play()
  63.  
  64. -- Key input box
  65. local keyBox = Instance.new("TextBox", keyFrame)
  66. keyBox.PlaceholderText = "Enter Key..."
  67. keyBox.Size = UDim2.new(0.8, 0, 0.2, 0)
  68. keyBox.Position = UDim2.new(0.1, 0, 0.2, 0)
  69. keyBox.TextScaled = true
  70. keyBox.Font = Enum.Font.Gotham
  71. keyBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  72. keyBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  73.  
  74. -- Get Key Button
  75. local getKeyBtn = Instance.new("TextButton", keyFrame)
  76. getKeyBtn.Text = "Get Key"
  77. getKeyBtn.Size = UDim2.new(0.35, 0, 0.15, 0)
  78. getKeyBtn.Position = UDim2.new(0.1, 0, 0.5, 0)
  79. getKeyBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 255)
  80. getKeyBtn.TextColor3 = Color3.new(1,1,1)
  81. getKeyBtn.Font = Enum.Font.GothamBold
  82. getKeyBtn.TextScaled = true
  83. getKeyBtn.MouseButton1Click:Connect(function()
  84.     setclipboard("https://direct-link.net/1356412/RyIYyokHhIW3")
  85. end)
  86.  
  87. -- Submit Button
  88. local submitBtn = Instance.new("TextButton", keyFrame)
  89. submitBtn.Text = "Submit"
  90. submitBtn.Size = UDim2.new(0.35, 0, 0.15, 0)
  91. submitBtn.Position = UDim2.new(0.55, 0, 0.5, 0)
  92. submitBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 100)
  93. submitBtn.TextColor3 = Color3.new(1,1,1)
  94. submitBtn.Font = Enum.Font.GothamBold
  95. submitBtn.TextScaled = true
  96.  
  97. submitBtn.MouseButton1Click:Connect(function()
  98.     if keyBox.Text == "Corex hub 908" then
  99.         -- Slide out keyFrame
  100.         TweenService:Create(keyFrame, TweenInfo.new(1), {
  101.             Position = UDim2.new(-1, 0, 0.5, 0)
  102.         }):Play()
  103.         wait(1)
  104.         keyFrame:Destroy()
  105.  
  106.         -- ░M░A░I░N░ P░A░N░E░L
  107.         local panel = Instance.new("Frame", screenGui)
  108.         panel.Size = UDim2.new(0.8, 0, 0.8, 0)
  109.         panel.Position = UDim2.new(1.1, 0, 0.1, 0)
  110.         panel.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  111.         panel.BorderSizePixel = 0
  112.  
  113.         local title = Instance.new("TextLabel", panel)
  114.         title.Text = "CoreX Hub Control Panel"
  115.         title.Size = UDim2.new(1, 0, 0.1, 0)
  116.         title.BackgroundTransparency = 1
  117.         title.Font = Enum.Font.GothamBold
  118.         title.TextScaled = true
  119.         title.TextColor3 = Color3.fromRGB(255, 255, 255)
  120.  
  121.         local toggle = Instance.new("TextButton", panel)
  122.         toggle.Text = "☑️ Kill Aura"
  123.         toggle.Size = UDim2.new(0.3, 0, 0.1, 0)
  124.         toggle.Position = UDim2.new(0.05, 0, 0.2, 0)
  125.         toggle.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  126.         toggle.TextColor3 = Color3.new(1,1,1)
  127.         toggle.Font = Enum.Font.GothamBold
  128.         toggle.TextScaled = true
  129.  
  130.         local enabled = true
  131.         toggle.MouseButton1Click:Connect(function()
  132.             enabled = not enabled
  133.             toggle.Text = enabled and "☑️ Kill Aura" or "✖️ Kill Aura"
  134.         end)
  135.  
  136.         -- Slide in main panel
  137.         TweenService:Create(panel, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  138.             Position = UDim2.new(0.1, 0, 0.1, 0)
  139.         }):Play()
  140.     else
  141.         keyBox.Text = "Wrong Key!"
  142.         keyBox.TextColor3 = Color3.fromRGB(255, 50, 50)
  143.     end
  144. end)
Tags: #deadrails
Add Comment
Please, Sign In to add comment