Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- 🔄 CoreX Hub - Hide & Sneak | Update Logs
- 🆙 UPDATE 1.1:
- + INCREASE SPEED
- + ADD INFINITE JUMP
- 👨🔧 IN PROGRESS:
- - INVISIBLE
- - INSTANT HIDE
- ]]
- -- CoreX Hub - Hide & Sneak Only
- -- Only allow CoreX Hub in "Hide and Sneak"
- if game.PlaceId ~= 13157638696 then
- game.Players.LocalPlayer:Kick("CoreX Hub: This script only works in Hide and Sneak.")
- return
- end
- local toggleKey = Enum.KeyCode.RightShift
- local player = game.Players.LocalPlayer
- local guiService = game:GetService("UserInputService")
- -- Create GUI
- local CoreXGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
- CoreXGui.Name = "CoreX_HideAndSneak"
- CoreXGui.ResetOnSpawn = false
- -- Toggle Button (External)
- local toggleButton = Instance.new("TextButton", CoreXGui)
- toggleButton.Size = UDim2.new(0, 100, 0, 30)
- toggleButton.Position = UDim2.new(0, 20, 0.5, -15)
- toggleButton.Text = "Show/Hide"
- toggleButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- toggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- toggleButton.Font = Enum.Font.GothamBold
- toggleButton.TextSize = 14
- Instance.new("UICorner", toggleButton).CornerRadius = UDim.new(0, 6)
- -- Main Frame
- local MainFrame = Instance.new("Frame", CoreXGui)
- MainFrame.Size = UDim2.new(0, 440, 0, 260)
- MainFrame.Position = UDim2.new(0.5, -220, 0.5, -130)
- MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- MainFrame.Visible = true
- MainFrame.Active = true
- MainFrame.Draggable = true
- Instance.new("UICorner", MainFrame).CornerRadius = UDim.new(0, 12)
- -- Title
- local Title = Instance.new("TextLabel", MainFrame)
- Title.Size = UDim2.new(1, 0, 0, 40)
- Title.BackgroundTransparency = 1
- Title.Text = "CoreX Hub - Hide & Sneak"
- Title.Font = Enum.Font.GothamBold
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.TextSize = 20
- -- Left-side Logs Tab
- local LogsTab = Instance.new("TextLabel", MainFrame)
- LogsTab.Position = UDim2.new(0, 10, 0, 10) -- Above Main tab
- LogsTab.Size = UDim2.new(0, 80, 0, 30)
- LogsTab.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- LogsTab.Text = "Logs"
- LogsTab.Font = Enum.Font.GothamBold
- LogsTab.TextColor3 = Color3.fromRGB(255, 255, 255)
- LogsTab.TextSize = 14
- Instance.new("UICorner", LogsTab).CornerRadius = UDim.new(0, 6)
- -- Left-side Main Tab
- local MainTab = Instance.new("TextLabel", MainFrame)
- MainTab.Position = UDim2.new(0, 10, 0, 50)
- MainTab.Size = UDim2.new(0, 80, 0, 30)
- MainTab.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- MainTab.Text = "Main"
- MainTab.Font = Enum.Font.GothamBold
- MainTab.TextColor3 = Color3.fromRGB(255, 255, 255)
- MainTab.TextSize = 14
- Instance.new("UICorner", MainTab).CornerRadius = UDim.new(0, 6)
- -- Features Panel
- local Features = Instance.new("Frame", MainFrame)
- Features.Position = UDim2.new(0, 100, 0, 50)
- Features.Size = UDim2.new(1, -110, 1, -60)
- Features.BackgroundTransparency = 1
- -- Toggle Button Creator
- local function createFeature(name, order, callback)
- local btn = Instance.new("TextButton", Features)
- btn.Size = UDim2.new(1, -10, 0, 30)
- btn.Position = UDim2.new(0, 5, 0, (order - 1) * 35)
- btn.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- btn.Text = "☐ " .. name
- btn.Font = Enum.Font.Gotham
- btn.TextColor3 = Color3.fromRGB(255, 255, 255)
- btn.TextSize = 14
- Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6)
- local state = false
- btn.MouseButton1Click:Connect(function()
- state = not state
- btn.Text = (state and "☑️ " or "☐ ") .. name
- callback(state)
- end)
- end
- -- ESP Setup
- local function createESP(player, role)
- if player == game.Players.LocalPlayer then return end
- local billboard = Instance.new("BillboardGui")
- billboard.Name = "CoreX_ESP"
- billboard.Size = UDim2.new(0, 100, 0, 20)
- billboard.AlwaysOnTop = true
- billboard.Adornee = player.Character and player.Character:FindFirstChild("Head")
- billboard.Parent = player.Character and player.Character:FindFirstChild("Head")
- local label = Instance.new("TextLabel", billboard)
- label.Size = UDim2.new(1, 0, 1, 0)
- label.BackgroundTransparency = 1
- label.TextColor3 = role == "Hider" and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 0, 0)
- label.Text = role
- label.Font = Enum.Font.SourceSansBold
- label.TextScaled = true
- end
- -- Detect players and roles
- for _, plr in pairs(game.Players:GetPlayers()) do
- plr.CharacterAdded:Connect(function(char)
- wait(1)
- local head = char:WaitForChild("Head", 3)
- if head then
- task.delay(1, function()
- local role = plr.Team and plr.Team.Name or "Unknown"
- createESP(plr, role)
- end)
- end
- end)
- end
- createFeature("Invisibility", 2, function(state)
- local char = player.Character
- if char then
- for _, p in ipairs(char:GetDescendants()) do
- if p:IsA("BasePart") then
- p.Transparency = state and 1 or 0
- end
- end
- end
- end)
- createFeature("Speed", 3, function(state)
- local hum = player.Character and player.Character:FindFirstChildOfClass("Humanoid")
- if hum then
- hum.WalkSpeed = state and 70 or 16
- end
- end)
- createFeature("Infinite Jump", 4, function(state)
- if state then
- infiniteJumpConnection = game:GetService("UserInputService").JumpRequest:Connect(function()
- local hum = player.Character and player.Character:FindFirstChildOfClass("Humanoid")
- if hum then
- hum:ChangeState(Enum.HumanoidStateType.Jumping)
- end
- end)
- elseif infiniteJumpConnection then
- infiniteJumpConnection:Disconnect()
- infiniteJumpConnection = nil
- end
- end)
- createFeature("Instant Hide", 5, function(state)
- if state then
- local remote = game.ReplicatedStorage:FindFirstChild("Hide")
- if remote then remote:FireServer() end
- end
- end)
- -- Toggle Visibility
- toggleButton.MouseButton1Click:Connect(function()
- MainFrame.Visible = not MainFrame.Visible
- end)
- -- Optional: Keybind support
- guiService.InputBegan:Connect(function(input, gpe)
- if not gpe and input.KeyCode == toggleKey then
- MainFrame.Visible = not MainFrame.Visible
- end
- end)
- -- Global state for ESP
- local espEnabled = false
- createFeature("ESP", 1, function(state)
- espEnabled = state
- for _, plr in pairs(game.Players:GetPlayers()) do
- if plr ~= player and plr.Character and plr.Character:FindFirstChild("Head") then
- local head = plr.Character:FindFirstChild("Head")
- if state then
- local role = plr.Team and plr.Team.Name or "Unknown"
- createESP(plr, role)
- elseif head:FindFirstChild("CoreX_ESP") then
- head:FindFirstChild("CoreX_ESP"):Destroy()
- end
- end
- end
- end)
- -- Auto-apply ESP on character spawn
- local function hookPlayer(plr)
- plr.CharacterAdded:Connect(function(char)
- if espEnabled then
- task.wait(1)
- local head = char:WaitForChild("Head", 3)
- if head then
- local role = plr.Team and plr.Team.Name or "Unknown"
- createESP(plr, role)
- end
- end
- end)
- end
- -- Hook current and future players
- for _, plr in pairs(game.Players:GetPlayers()) do
- hookPlayer(plr)
- end
- game.Players.PlayerAdded:Connect(hookPlayer)
Advertisement
Add Comment
Please, Sign In to add comment