-- PlaceId check — Violence District ONLY
if game.PlaceId ~= 93978595733734 then
warn("⚡ REIN HUB: This script is only compatible with Violence-District!")
return
end
-- ═══════════════════════════════════════════════════════════
-- SERVICES
-- ═══════════════════════════════════════════════════════════
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Teams = game:GetService("Teams")
local UserInputService = game:GetService("UserInputService")
local CoreGui = game:GetService("CoreGui")
local TweenService = game:GetService("TweenService")
local VirtualUser = game:GetService("VirtualUser")
local LocalPlayer = Players.LocalPlayer
local Camera = workspace.CurrentCamera
-- ═══════════════════════════════════════════════════════════
-- REMOTES — VIOLENCE DISTRICT SPECIFIC
-- ═══════════════════════════════════════════════════════════
local Remotes = ReplicatedStorage:WaitForChild("Remotes", 10)
local ItemRemotes = Remotes and Remotes:FindFirstChild("Items")
-- Parry remote — correct path for VD
local ParryClient = nil
pcall(function()
ParryClient = ReplicatedStorage:WaitForChild("Items", 5):WaitForChild("ParryClient", 5)
end)
-- Fallback search
if not ParryClient then
pcall(function()
ParryClient = ItemRemotes and (ItemRemotes:FindFirstChild("ParryClient") or ItemRemotes:FindFirstChild("Parrying Dagger") and ItemRemotes:FindFirstChild("Parrying Dagger"):FindFirstChild("parry"))
end)
end
-- Generator remotes
local GenRemotes = Remotes and Remotes:FindFirstChild("Generator")
local SkillCheckResult = GenRemotes and GenRemotes:FindFirstChild("SkillCheckResultEvent")
local SkillCheckEvent = GenRemotes and GenRemotes:FindFirstChild("SkillCheckEvent")
-- Attack remotes
local AttackRemotes = Remotes and Remotes:FindFirstChild("Attacks")
local AttackHitRemote = AttackRemotes and AttackRemotes:FindFirstChild("hit")
local LungeDetectRemote = AttackRemotes and AttackRemotes:FindFirstChild("LungeDetect")
-- Game module references
local KillerModules = nil
local SurvivorConfig = nil
pcall(function()
KillerModules = ReplicatedStorage:WaitForChild("Modules", 5):WaitForChild("Killers", 5)
end)
pcall(function()
SurvivorConfig = ReplicatedStorage:WaitForChild("Modules", 5):WaitForChild("Survivors", 5):WaitForChild("SurvivorConfig", 5)
end)
-- ═══════════════════════════════════════════════════════════
-- STATE MANAGEMENT
-- ═══════════════════════════════════════════════════════════
local State = {
UIVisible = false,
Minimized = false,
AutoParry = false,
GodMode = false,
WalkSpeed = 16,
SpeedEnabled = false,
PerfectGen = false,
AFKMode = true,
AFKStartTime = os.time(),
ESPPlayers = false,
ESPKiller = false,
ESPGenerators = false,
ESPGenProgress = false,
GenHUDVisible = false,
ActiveTab = "Visual",
Connections = {},
SelectedPlayer = nil,
}
local TeamColors = {
Survivors = Color3.fromRGB(0, 255, 0),
Killer = Color3.fromRGB(255, 0, 0),
Spectator = Color3.fromRGB(180, 180, 180),
Unknown = Color3.fromRGB(255, 255, 255),
Generator = Color3.fromRGB(255, 200, 0),
}
-- ═══════════════════════════════════════════════════════════
-- GUI CLEANUP
-- ═══════════════════════════════════════════════════════════
if CoreGui:FindFirstChild("REINHubVD") then
CoreGui.REINHubVD:Destroy()
end
if CoreGui:FindFirstChild("REINHubLoading") then
CoreGui.REINHubLoading:Destroy()
end
-- Animated gradient rotation registry
local AnimatingGradients = {}
local function registerGradient(g)
table.insert(AnimatingGradients, g)
end
table.insert(State.Connections, RunService.Heartbeat:Connect(function()
local rot = (tick() * 150) % 360
for _, g in ipairs(AnimatingGradients) do
pcall(function() g.Rotation = rot end)
end
end))
-- ═══════════════════════════════════════════════════════════
-- ANTI-AFK — AUTO ACTIVE ON LOAD (runs immediately)
-- ═══════════════════════════════════════════════════════════
pcall(function()
LocalPlayer.Idled:Connect(function()
VirtualUser:CaptureController()
VirtualUser:ClickButton2(Vector2.new(0, 0))
end)
end)
-- ═══════════════════════════════════════════════════════════
-- PREMIUM CINEMATIC LOADING SCREEN
-- ═══════════════════════════════════════════════════════════
local LoadingGui = Instance.new("ScreenGui")
LoadingGui.Name = "REINHubLoading"
LoadingGui.ResetOnSpawn = false
LoadingGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
LoadingGui.DisplayOrder = 999
pcall(function() LoadingGui.Parent = CoreGui end)
if not LoadingGui.Parent then LoadingGui.Parent = LocalPlayer:WaitForChild("PlayerGui") end
-- Full-screen backdrop
local LoadingFrame = Instance.new("Frame")
LoadingFrame.Size = UDim2.new(1, 0, 1, 0)
LoadingFrame.BackgroundColor3 = Color3.fromRGB(6, 3, 14)
LoadingFrame.BorderSizePixel = 0
LoadingFrame.Parent = LoadingGui
-- Vignette overlay
local Vignette = Instance.new("ImageLabel")
Vignette.Size = UDim2.new(1, 0, 1, 0)
Vignette.BackgroundTransparency = 1
Vignette.Image = "rbxassetid://1526406850"
Vignette.ImageColor3 = Color3.fromRGB(0, 0, 0)
Vignette.ImageTransparency = 0.3
Vignette.ZIndex = 2
Vignette.Parent = LoadingFrame
-- Matrix purple background — drifting
local MatrixBgLoad = Instance.new("ImageLabel")
MatrixBgLoad.Size = UDim2.new(1.2, 0, 1.2, 0)
MatrixBgLoad.Position = UDim2.new(-0.1, 0, -0.1, 0)
MatrixBgLoad.Image = "rbxassetid://79915007129772"
MatrixBgLoad.ImageColor3 = Color3.fromRGB(120, 30, 220)
MatrixBgLoad.ImageTransparency = 0.88
MatrixBgLoad.BackgroundTransparency = 1
MatrixBgLoad.ScaleType = Enum.ScaleType.Tile
MatrixBgLoad.TileSize = UDim2.new(0, 200, 0, 200)
MatrixBgLoad.ZIndex = 1
MatrixBgLoad.Parent = LoadingFrame
task.spawn(function()
local dc
dc = RunService.Heartbeat:Connect(function()
if not MatrixBgLoad or not MatrixBgLoad.Parent then dc:Disconnect() return end
local t = tick() * 0.02
MatrixBgLoad.Position = UDim2.new(-0.1 + math.sin(t) * 0.03, 0, -0.1 + math.cos(t * 0.7) * 0.02, 0)
end)
end)
-- Center container
local CenterLoad = Instance.new("Frame")
CenterLoad.Size = UDim2.new(0, 400, 0, 360)
CenterLoad.Position = UDim2.new(0.5, -200, 0.5, -180)
CenterLoad.BackgroundTransparency = 1
CenterLoad.ZIndex = 10
CenterLoad.Parent = LoadingFrame
-- Spinning outer ring
local OuterRing = Instance.new("ImageLabel")
OuterRing.Size = UDim2.new(0, 180, 0, 180)
OuterRing.Position = UDim2.new(0.5, -90, 0, 10)
OuterRing.BackgroundTransparency = 1
OuterRing.Image = "rbxassetid://11745689735"
OuterRing.ImageColor3 = Color3.fromRGB(160, 50, 255)
OuterRing.ImageTransparency = 0.3
OuterRing.ZIndex = 11
OuterRing.Parent = CenterLoad
-- Spinning inner ring (counter)
local InnerRing = Instance.new("ImageLabel")
InnerRing.Size = UDim2.new(0, 150, 0, 150)
InnerRing.Position = UDim2.new(0.5, -75, 0, 25)
InnerRing.BackgroundTransparency = 1
InnerRing.Image = "rbxassetid://11745689735"
InnerRing.ImageColor3 = Color3.fromRGB(200, 100, 255)
InnerRing.ImageTransparency = 0.5
InnerRing.ZIndex = 12
InnerRing.Parent = CenterLoad
task.spawn(function()
local sc
sc = RunService.Heartbeat:Connect(function()
if not OuterRing or not OuterRing.Parent then sc:Disconnect() return end
OuterRing.Rotation = (tick() * 45) % 360
InnerRing.Rotation = -(tick() * 60) % 360
OuterRing.ImageTransparency = 0.25 + math.sin(tick() * 2) * 0.15
end)
end)
-- Logo centered in rings
local LogoLoad = Instance.new("ImageLabel")
LogoLoad.Size = UDim2.new(0, 100, 0, 100)
LogoLoad.Position = UDim2.new(0.5, -50, 0, 50)
LogoLoad.Image = "rbxassetid://126054630022043"
LogoLoad.BackgroundTransparency = 1
LogoLoad.ZIndex = 15
LogoLoad.Parent = CenterLoad
task.spawn(function()
local gc
gc = RunService.Heartbeat:Connect(function()
if not LogoLoad or not LogoLoad.Parent then gc:Disconnect() return end
LogoLoad.ImageTransparency = math.sin(tick() * 1.5) * 0.15
end)
end)
-- Title
local TitleLoad = Instance.new("TextLabel")
TitleLoad.Text = "REIN HUB X VD"
TitleLoad.Size = UDim2.new(1, 0, 0, 30)
TitleLoad.Position = UDim2.new(0, 0, 0, 200)
TitleLoad.BackgroundTransparency = 1
TitleLoad.TextColor3 = Color3.fromRGB(220, 180, 255)
TitleLoad.Font = Enum.Font.GothamBold
TitleLoad.TextSize = 20
TitleLoad.ZIndex = 15
TitleLoad.Parent = CenterLoad
-- Status text (rotating messages)
local StatusLoad = Instance.new("TextLabel")
StatusLoad.Text = "Initializing..."
StatusLoad.Size = UDim2.new(1, 0, 0, 20)
StatusLoad.Position = UDim2.new(0, 0, 0, 234)
StatusLoad.BackgroundTransparency = 1
StatusLoad.TextColor3 = Color3.fromRGB(150, 120, 200)
StatusLoad.Font = Enum.Font.GothamSemibold
StatusLoad.TextSize = 11
StatusLoad.ZIndex = 15
StatusLoad.Parent = CenterLoad
-- Progress bar background
local BarBg = Instance.new("Frame")
BarBg.Size = UDim2.new(0, 320, 0, 10)
BarBg.Position = UDim2.new(0.5, -160, 0, 272)
BarBg.BackgroundColor3 = Color3.fromRGB(20, 12, 35)
BarBg.BorderSizePixel = 0
BarBg.ZIndex = 15
BarBg.Parent = CenterLoad
Instance.new("UICorner", BarBg).CornerRadius = UDim.new(1, 0)
local BarStroke = Instance.new("UIStroke")
BarStroke.Color = Color3.fromRGB(100, 40, 180)
BarStroke.Thickness = 1.5
BarStroke.Transparency = 0.4
BarStroke.Parent = BarBg
-- Progress bar fill
local BarFill = Instance.new("Frame")
BarFill.Size = UDim2.new(0, 0, 1, 0)
BarFill.BackgroundColor3 = Color3.fromRGB(160, 50, 255)
BarFill.BorderSizePixel = 0
BarFill.ZIndex = 16
BarFill.Parent = BarBg
Instance.new("UICorner", BarFill).CornerRadius = UDim.new(1, 0)
local BarGrad = Instance.new("UIGradient")
BarGrad.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(100, 30, 200)),
ColorSequenceKeypoint.new(0.4, Color3.fromRGB(160, 50, 255)),
ColorSequenceKeypoint.new(0.7, Color3.fromRGB(200, 100, 255)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 150, 255)),
})
BarGrad.Parent = BarFill
-- Percentage text
local PctText = Instance.new("TextLabel")
PctText.Text = "0%"
PctText.Size = UDim2.new(0, 60, 0, 20)
PctText.Position = UDim2.new(0.5, -30, 0, 288)
PctText.BackgroundTransparency = 1
PctText.TextColor3 = Color3.fromRGB(200, 160, 255)
PctText.Font = Enum.Font.GothamBold
PctText.TextSize = 12
PctText.ZIndex = 15
PctText.Parent = CenterLoad
-- Floating sparkle particles
local ParticleBox = Instance.new("Frame")
ParticleBox.Size = UDim2.new(1, 0, 1, 0)
ParticleBox.BackgroundTransparency = 1
ParticleBox.ZIndex = 5
ParticleBox.ClipsDescendants = true
ParticleBox.Parent = LoadingFrame
task.spawn(function()
for i = 1, 25 do
local p = Instance.new("Frame")
p.Size = UDim2.new(0, math.random(2, 5), 0, math.random(2, 5))
p.Position = UDim2.new(math.random() * 0.95, 0, math.random() * 0.95, 0)
p.BackgroundColor3 = Color3.fromRGB(math.random(120, 200), math.random(40, 100), math.random(200, 255))
p.BackgroundTransparency = math.random() * 0.5 + 0.3
p.BorderSizePixel = 0
p.ZIndex = 5
p.Parent = ParticleBox
Instance.new("UICorner", p).CornerRadius = UDim.new(1, 0)
local sY = math.random(80, 110) / 100
local dur = math.random(4, 8)
local sX = math.random() * 0.95
task.spawn(function()
while p and p.Parent do
p.Position = UDim2.new(sX + math.sin(tick() + i) * 0.02, 0, sY, 0)
local tw = TweenService:Create(p, TweenInfo.new(dur, Enum.EasingStyle.Linear), {
Position = UDim2.new(sX + math.sin(tick() + i) * 0.05, 0, -0.1, 0)
})
tw:Play()
tw.Completed:Wait()
sX = math.random() * 0.95
p.Position = UDim2.new(sX, 0, sY, 0)
end
end)
end
end)
-- Credit line
local CreditLoad = Instance.new("TextLabel")
CreditLoad.Text = "Developer by ReinUhuy · Violence District"
CreditLoad.Size = UDim2.new(1, 0, 0, 18)
CreditLoad.Position = UDim2.new(0, 0, 0, 330)
CreditLoad.BackgroundTransparency = 1
CreditLoad.TextColor3 = Color3.fromRGB(80, 60, 120)
CreditLoad.Font = Enum.Font.Gotham
CreditLoad.TextSize = 9
CreditLoad.ZIndex = 15
CreditLoad.Parent = CenterLoad
-- ═══════════════════════════════════════════════════════════
-- MAIN UI CONTAINER
-- ═══════════════════════════════════════════════════════════
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "REINHubVD"
ScreenGui.ResetOnSpawn = false
pcall(function() ScreenGui.Parent = CoreGui end)
if not ScreenGui.Parent then ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui") end
-- Main Panel
local MainFrame = Instance.new("Frame")
MainFrame.Size = UDim2.new(0, 550, 0, 430)
MainFrame.Position = UDim2.new(0.5, -275, 0.5, -215)
MainFrame.BackgroundColor3 = Color3.fromRGB(15, 12, 22)
MainFrame.BorderSizePixel = 0
MainFrame.Active = true
MainFrame.Draggable = true
MainFrame.ClipsDescendants = true
MainFrame.Visible = false
MainFrame.Parent = ScreenGui
Instance.new("UICorner", MainFrame).CornerRadius = UDim.new(0, 12)
local MainStroke = Instance.new("UIStroke")
MainStroke.Color = Color3.fromRGB(255, 255, 255)
MainStroke.Thickness = 2
MainStroke.Parent = MainFrame
local MainGrad = Instance.new("UIGradient")
MainGrad.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(160, 50, 255)),
ColorSequenceKeypoint.new(0.3, Color3.fromRGB(30, 10, 60)),
ColorSequenceKeypoint.new(0.7, Color3.fromRGB(30, 10, 60)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(160, 50, 255)),
})
MainGrad.Parent = MainStroke
registerGradient(MainGrad)
-- Matrix bg on main panel
local MatrixBg = Instance.new("ImageLabel")
MatrixBg.Size = UDim2.new(1, 0, 1, 0)
MatrixBg.Image = "rbxassetid://79915007129772"
MatrixBg.ImageColor3 = Color3.fromRGB(160, 50, 255)
MatrixBg.ImageTransparency = 0.88
MatrixBg.BackgroundTransparency = 1
MatrixBg.ScaleType = Enum.ScaleType.Tile
MatrixBg.TileSize = UDim2.new(0, 256, 0, 256)
MatrixBg.Parent = MainFrame
-- ═══════════════════════════════════════════════════════════
-- FLOATING REOPEN BUTTON (Logo icon when closed)
-- ═══════════════════════════════════════════════════════════
local ReopenBtn = Instance.new("ImageButton")
ReopenBtn.Size = UDim2.new(0, 50, 0, 50)
ReopenBtn.Position = UDim2.new(0.02, 0, 0.45, 0)
ReopenBtn.BackgroundColor3 = Color3.fromRGB(18, 12, 28)
ReopenBtn.Image = "rbxassetid://126054630022043"
ReopenBtn.Active = true
ReopenBtn.Draggable = true
ReopenBtn.Visible = false
ReopenBtn.Parent = ScreenGui
Instance.new("UICorner", ReopenBtn).CornerRadius = UDim.new(1, 0)
local ReopenStroke = Instance.new("UIStroke")
ReopenStroke.Color = Color3.fromRGB(255, 255, 255)
ReopenStroke.Thickness = 2
ReopenStroke.Parent = ReopenBtn
local ReopenGrad = Instance.new("UIGradient")
ReopenGrad.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(160, 50, 255)),
ColorSequenceKeypoint.new(0.5, Color3.fromRGB(30, 10, 60)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(160, 50, 255)),
})
ReopenGrad.Parent = ReopenStroke
registerGradient(ReopenGrad)
ReopenBtn.MouseButton1Click:Connect(function()
ReopenBtn.Visible = false
MainFrame.Visible = true
State.UIVisible = true
end)
-- ═══════════════════════════════════════════════════════════
-- MINIMIZED PILL BAR (with logo, text, neon animated border)
-- ═══════════════════════════════════════════════════════════
local Pillbar = Instance.new("Frame")
Pillbar.Size = UDim2.new(0, 240, 0, 42)
Pillbar.Position = UDim2.new(0.5, -120, 0.05, 0)
Pillbar.BackgroundColor3 = Color3.fromRGB(18, 12, 28)
Pillbar.BorderSizePixel = 0
Pillbar.Active = true
Pillbar.Draggable = true
Pillbar.Visible = false
Pillbar.Parent = ScreenGui
Instance.new("UICorner", Pillbar).CornerRadius = UDim.new(1, 0)
local PillStroke = Instance.new("UIStroke")
PillStroke.Color = Color3.fromRGB(255, 255, 255)
PillStroke.Thickness = 2
PillStroke.Parent = Pillbar
local PillGrad = Instance.new("UIGradient")
PillGrad.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(160, 50, 255)),
ColorSequenceKeypoint.new(0.5, Color3.fromRGB(30, 10, 60)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(160, 50, 255)),
})
PillGrad.Parent = PillStroke
registerGradient(PillGrad)
local PillLogo = Instance.new("ImageLabel")
PillLogo.Size = UDim2.new(0, 28, 0, 28)
PillLogo.Position = UDim2.new(0, 8, 0.5, -14)
PillLogo.Image = "rbxassetid://126054630022043"
PillLogo.BackgroundTransparency = 1
PillLogo.Parent = Pillbar
local PillTitle = Instance.new("TextLabel")
PillTitle.Text = "REIN HUB X VD"
PillTitle.Size = UDim2.new(1, -95, 1, 0)
PillTitle.Position = UDim2.new(0, 42, 0, 0)
PillTitle.BackgroundTransparency = 1
PillTitle.TextColor3 = Color3.fromRGB(200, 170, 255)
PillTitle.Font = Enum.Font.GothamBold
PillTitle.TextSize = 11
PillTitle.TextXAlignment = Enum.TextXAlignment.Left
PillTitle.Parent = Pillbar
local PillMaxBtn = Instance.new("TextButton")
PillMaxBtn.Text = "+"
PillMaxBtn.Size = UDim2.new(0, 24, 0, 24)
PillMaxBtn.Position = UDim2.new(1, -55, 0.5, -12)
PillMaxBtn.BackgroundTransparency = 1
PillMaxBtn.TextColor3 = Color3.fromRGB(255, 200, 80)
PillMaxBtn.Font = Enum.Font.GothamBold
PillMaxBtn.TextSize = 13
PillMaxBtn.Parent = Pillbar
local PillCloseBtn = Instance.new("ImageButton")
PillCloseBtn.Size = UDim2.new(0, 20, 0, 20)
PillCloseBtn.Position = UDim2.new(1, -28, 0.5, -10)
PillCloseBtn.Image = "rbxassetid://126054630022043"
PillCloseBtn.BackgroundTransparency = 1
PillCloseBtn.Parent = Pillbar
local function toggleMinimize()
State.Minimized = not State.Minimized
if State.Minimized then
MainFrame.Visible = false
Pillbar.Visible = true
Pillbar.Position = UDim2.new(0, MainFrame.AbsolutePosition.X + (MainFrame.AbsoluteSize.X / 2) - 120, 0, MainFrame.AbsolutePosition.Y)
else
Pillbar.Visible = false
MainFrame.Visible = true
MainFrame.Position = UDim2.new(0, Pillbar.AbsolutePosition.X - 155, 0, Pillbar.AbsolutePosition.Y)
end
end
local function closeHub()
MainFrame.Visible = false
Pillbar.Visible = false
ReopenBtn.Visible = true
State.UIVisible = false
end
PillMaxBtn.MouseButton1Click:Connect(toggleMinimize)
PillCloseBtn.MouseButton1Click:Connect(closeHub)
-- ═══════════════════════════════════════════════════════════
-- TITLE BAR
-- ═══════════════════════════════════════════════════════════
local TitleBar = Instance.new("Frame")
TitleBar.Size = UDim2.new(1, 0, 0, 42)
TitleBar.BackgroundColor3 = Color3.fromRGB(22, 16, 34)
TitleBar.BorderSizePixel = 0
TitleBar.Parent = MainFrame
local TBC = Instance.new("UICorner")
TBC.CornerRadius = UDim.new(0, 12)
TBC.Parent = TitleBar
local TBCover = Instance.new("Frame")
TBCover.Size = UDim2.new(1, 0, 0, 10)
TBCover.Position = UDim2.new(0, 0, 1, -10)
TBCover.BackgroundColor3 = Color3.fromRGB(22, 16, 34)
TBCover.BorderSizePixel = 0
TBCover.Parent = TitleBar
local TBLogo = Instance.new("ImageLabel")
TBLogo.Size = UDim2.new(0, 26, 0, 26)
TBLogo.Position = UDim2.new(0, 12, 0.5, -13)
TBLogo.Image = "rbxassetid://126054630022043"
TBLogo.BackgroundTransparency = 1
TBLogo.Parent = TitleBar
local TBLabel = Instance.new("TextLabel")
TBLabel.Text = "REIN HUB X VD"
TBLabel.Size = UDim2.new(1, -110, 1, 0)
TBLabel.Position = UDim2.new(0, 44, 0, 0)
TBLabel.BackgroundTransparency = 1
TBLabel.TextColor3 = Color3.fromRGB(200, 170, 255)
TBLabel.Font = Enum.Font.GothamBold
TBLabel.TextSize = 13
TBLabel.TextXAlignment = Enum.TextXAlignment.Left
TBLabel.Parent = TitleBar
local MinBtn = Instance.new("TextButton")
MinBtn.Text = "—"
MinBtn.Size = UDim2.new(0, 28, 0, 28)
MinBtn.Position = UDim2.new(1, -70, 0.5, -14)
MinBtn.BackgroundTransparency = 1
MinBtn.TextColor3 = Color3.fromRGB(255, 200, 80)
MinBtn.Font = Enum.Font.GothamBold
MinBtn.TextSize = 14
MinBtn.Parent = TitleBar
MinBtn.MouseButton1Click:Connect(toggleMinimize)
local CloseBtn = Instance.new("ImageButton")
CloseBtn.Size = UDim2.new(0, 22, 0, 22)
CloseBtn.Position = UDim2.new(1, -34, 0.5, -11)
CloseBtn.Image = "rbxassetid://126054630022043"
CloseBtn.BackgroundTransparency = 1
CloseBtn.Parent = TitleBar
CloseBtn.MouseButton1Click:Connect(closeHub)
-- ═══════════════════════════════════════════════════════════
-- SIDEBAR NAVIGATION — Visual, Combat, Player, Misc, SC, Info
-- ═══════════════════════════════════════════════════════════
local Sidebar = Instance.new("Frame")
Sidebar.Name = "Sidebar"
Sidebar.Size = UDim2.new(0, 142, 1, -42)
Sidebar.Position = UDim2.new(0, 0, 0, 42)
Sidebar.BackgroundColor3 = Color3.fromRGB(12, 9, 20)
Sidebar.BorderSizePixel = 0
Sidebar.Parent = MainFrame
local SidebarStroke = Instance.new("UIStroke")
SidebarStroke.Color = Color3.fromRGB(70, 40, 105)
SidebarStroke.Thickness = 1
SidebarStroke.Transparency = 0.35
SidebarStroke.Parent = Sidebar
local SidebarTitle = Instance.new("TextLabel")
SidebarTitle.Text = " MENU"
SidebarTitle.Size = UDim2.new(1, -12, 0, 32)
SidebarTitle.Position = UDim2.new(0, 6, 0, 8)
SidebarTitle.BackgroundTransparency = 1
SidebarTitle.TextColor3 = Color3.fromRGB(170, 135, 220)
SidebarTitle.Font = Enum.Font.GothamBold
SidebarTitle.TextSize = 10
SidebarTitle.TextXAlignment = Enum.TextXAlignment.Left
SidebarTitle.Parent = Sidebar
local SideLayout = Instance.new("UIListLayout")
SideLayout.SortOrder = Enum.SortOrder.LayoutOrder
SideLayout.Padding = UDim.new(0, 5)
SideLayout.Parent = Sidebar
local SidePadding = Instance.new("UIPadding")
SidePadding.PaddingTop = UDim.new(0, 46)
SidePadding.PaddingLeft = UDim.new(0, 8)
SidePadding.PaddingRight = UDim.new(0, 8)
SidePadding.Parent = Sidebar
local Tabs = {
{Name = "Visual", Icon = "◉"},
{Name = "Combat", Icon = "⚔"},
{Name = "Player", Icon = "♙"},
{Name = "Misc", Icon = "⚙"},
{Name = "SC", Icon = "▣"},
{Name = "Info", Icon = "ⓘ"},
}
local TabButtons = {}
local TabPages = {}
local function selectTab(name)
State.ActiveTab = name
for tabName, page in pairs(TabPages) do
page.Visible = (tabName == name)
end
for tabName, button in pairs(TabButtons) do
local selected = (tabName == name)
button.BackgroundColor3 = selected
and Color3.fromRGB(65, 38, 105)
or Color3.fromRGB(21, 16, 32)
button.TextColor3 = selected
and Color3.fromRGB(235, 215, 255)
or Color3.fromRGB(155, 140, 180)
local indicator = button:FindFirstChild("ActiveIndicator")
if indicator then
indicator.BackgroundTransparency = selected and 0 or 1
end
end
end
for idx, tabInfo in ipairs(Tabs) do
local name = tabInfo.Name
local btn = Instance.new("TextButton")
btn.Name = name
btn.Text = " " .. tabInfo.Icon .. " " .. name
btn.Size = UDim2.new(1, 0, 0, 38)
btn.BackgroundColor3 = Color3.fromRGB(21, 16, 32)
btn.BackgroundTransparency = 0
btn.TextColor3 = Color3.fromRGB(155, 140, 180)
btn.Font = Enum.Font.GothamSemibold
btn.TextSize = 10.5
btn.TextXAlignment = Enum.TextXAlignment.Left
btn.BorderSizePixel = 0
btn.LayoutOrder = idx
btn.AutoButtonColor = false
btn.Parent = Sidebar
Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 7)
local indicator = Instance.new("Frame")
indicator.Name = "ActiveIndicator"
indicator.Size = UDim2.new(0, 3, 0, 22)
indicator.Position = UDim2.new(0, 0, 0.5, -11)
indicator.BackgroundColor3 = Color3.fromRGB(180, 80, 255)
indicator.BackgroundTransparency = 1
indicator.BorderSizePixel = 0
indicator.Parent = btn
Instance.new("UICorner", indicator).CornerRadius = UDim.new(1, 0)
local page = Instance.new("ScrollingFrame")
page.Name = name .. "Page"
page.Size = UDim2.new(1, -160, 1, -58)
page.Position = UDim2.new(0, 152, 0, 50)
page.BackgroundTransparency = 1
page.ScrollBarThickness = 4
page.ScrollBarImageColor3 = Color3.fromRGB(160, 50, 255)
page.ScrollBarImageTransparency = 0.25
page.BorderSizePixel = 0
page.AutomaticCanvasSize = Enum.AutomaticSize.Y
page.CanvasSize = UDim2.new(0, 0, 0, 0)
page.Visible = (name == "Visual")
page.Parent = MainFrame
TabPages[name] = page
local pl = Instance.new("UIListLayout")
pl.SortOrder = Enum.SortOrder.LayoutOrder
pl.Padding = UDim.new(0, 6)
pl.Parent = page
btn.MouseEnter:Connect(function()
if State.ActiveTab ~= name then
TweenService:Create(
btn,
TweenInfo.new(0.15),
{BackgroundColor3 = Color3.fromRGB(30, 23, 45)}
):Play()
end
end)
btn.MouseLeave:Connect(function()
if State.ActiveTab ~= name then
TweenService:Create(
btn,
TweenInfo.new(0.15),
{BackgroundColor3 = Color3.fromRGB(21, 16, 32)}
):Play()
end
end)
btn.MouseButton1Click:Connect(function()
selectTab(name)
end)
end
selectTab("Visual")
-- ═══════════════════════════════════════════════════════════
-- UI ELEMENT HELPERS
-- ═══════════════════════════════════════════════════════════
local function createHeader(parent, text, order)
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, 0, 0, 28)
label.BackgroundColor3 = Color3.fromRGB(30, 22, 50)
label.Text = " " .. text
label.TextColor3 = Color3.fromRGB(200, 170, 255)
label.Font = Enum.Font.GothamBold
label.TextSize = 11
label.TextXAlignment = Enum.TextXAlignment.Left
label.LayoutOrder = order
label.Parent = parent
Instance.new("UICorner", label).CornerRadius = UDim.new(0, 6)
end
local function stylePremiumButton(btn)
Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6)
local stroke = Instance.new("UIStroke")
stroke.Color = Color3.fromRGB(100, 50, 180)
stroke.Thickness = 1
stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
stroke.Parent = btn
local grad = Instance.new("UIGradient")
grad.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(160, 50, 255)),
ColorSequenceKeypoint.new(0.5, Color3.fromRGB(80, 30, 140)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(160, 50, 255)),
})
grad.Parent = stroke
registerGradient(grad)
local origColor = btn.BackgroundColor3
btn.MouseEnter:Connect(function()
TweenService:Create(btn, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(80, 45, 140)}):Play()
TweenService:Create(stroke, TweenInfo.new(0.2), {Color = Color3.fromRGB(180, 80, 255)}):Play()
end)
btn.MouseLeave:Connect(function()
TweenService:Create(btn, TweenInfo.new(0.2), {BackgroundColor3 = origColor}):Play()
TweenService:Create(stroke, TweenInfo.new(0.2), {Color = Color3.fromRGB(100, 50, 180)}):Play()
end)
end
local function createToggle(parent, text, default, callback, order)
local frame = Instance.new("Frame")
frame.Size = UDim2.new(1, 0, 0, 36)
frame.BackgroundColor3 = Color3.fromRGB(22, 17, 34)
frame.LayoutOrder = order
frame.Parent = parent
Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 6)
local label = Instance.new("TextLabel")
label.Text = " " .. text
label.Size = UDim2.new(1, -70, 1, 0)
label.BackgroundTransparency = 1
label.TextColor3 = Color3.fromRGB(220, 200, 245)
label.Font = Enum.Font.Gotham
label.TextSize = 11.5
label.TextXAlignment = Enum.TextXAlignment.Left
label.Parent = frame
local btn = Instance.new("TextButton")
btn.Size = UDim2.new(0, 52, 0, 24)
btn.Position = UDim2.new(1, -62, 0.5, -12)
btn.BackgroundColor3 = default and Color3.fromRGB(130, 60, 240) or Color3.fromRGB(50, 45, 65)
btn.Text = default and "ON" or "OFF"
btn.TextColor3 = Color3.fromRGB(255, 255, 255)
btn.Font = Enum.Font.GothamBold
btn.TextSize = 10
btn.Parent = frame
stylePremiumButton(btn)
local isOn = default
btn.MouseButton1Click:Connect(function()
isOn = not isOn
btn.BackgroundColor3 = isOn and Color3.fromRGB(130, 60, 240) or Color3.fromRGB(50, 45, 65)
btn.Text = isOn and "ON" or "OFF"
if callback then callback(isOn) end
end)
return btn
end
-- ═══════════════════════════════════════════════════════════
-- VISUAL TAB — ESP & Generator HUD
-- ═══════════════════════════════════════════════════════════
local vPage = TabPages.Visual
createHeader(vPage, "👁️ Visual Settings", 1)
createToggle(vPage, "ESP Players (Green)", false, function(v)
State.ESPPlayers = v
if not v then cleanESP() end
end, 2)
createToggle(vPage, "ESP Killer (Red)", false, function(v)
State.ESPKiller = v
if not v then cleanESP() end
end, 3)
createToggle(vPage, "ESP Generators", false, function(v)
State.ESPGenerators = v
if not v then cleanESP() end
end, 4)
createToggle(vPage, "Generator Progress Details", false, function(v)
State.ESPGenProgress = v
end, 5)
-- Generator HUD
local GenHUD = Instance.new("Frame")
GenHUD.Name = "REINGenHUD"
GenHUD.Size = UDim2.new(0, 190, 0, 95)
GenHUD.Position = UDim2.new(0.8, -10, 0.15, 0)
GenHUD.BackgroundColor3 = Color3.fromRGB(18, 12, 28)
GenHUD.BorderSizePixel = 0
GenHUD.Active = true
GenHUD.Draggable = true
GenHUD.Visible = false
GenHUD.Parent = ScreenGui
Instance.new("UICorner", GenHUD).CornerRadius = UDim.new(0, 8)
local HUDStroke = Instance.new("UIStroke")
HUDStroke.Color = Color3.fromRGB(255, 255, 255)
HUDStroke.Thickness = 1.8
HUDStroke.Parent = GenHUD
local HUDGrad = Instance.new("UIGradient")
HUDGrad.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0, Color3.fromRGB(160, 50, 255)),
ColorSequenceKeypoint.new(0.5, Color3.fromRGB(30, 10, 60)),
ColorSequenceKeypoint.new(1, Color3.fromRGB(160, 50, 255)),
})
HUDGrad.Parent = HUDStroke
registerGradient(HUDGrad)
local HUDTitle = Instance.new("TextLabel")
HUDTitle.Text = "⚡ GENERATORS LEFT"
HUDTitle.Size = UDim2.new(1, 0, 0, 26)
HUDTitle.BackgroundTransparency = 1
HUDTitle.TextColor3 = Color3.fromRGB(180, 140, 255)
HUDTitle.Font = Enum.Font.GothamBold
HUDTitle.TextSize = 10
HUDTitle.Parent = GenHUD
local HUDContent = Instance.new("TextLabel")
HUDContent.Text = "Calculating..."
HUDContent.Size = UDim2.new(1, -16, 1, -26)
HUDContent.Position = UDim2.new(0, 8, 0, 24)
HUDContent.BackgroundTransparency = 1
HUDContent.TextColor3 = Color3.fromRGB(220, 200, 240)
HUDContent.Font = Enum.Font.GothamSemibold
HUDContent.TextSize = 10.5
HUDContent.TextXAlignment = Enum.TextXAlignment.Left
HUDContent.TextYAlignment = Enum.TextYAlignment.Top
HUDContent.Parent = GenHUD
createToggle(vPage, "Generator Counter HUD", false, function(v)
State.GenHUDVisible = v
GenHUD.Visible = v
end, 6)
-- ESP Helpers
local function getGenerators()
local gens = {}
pcall(function()
for _, obj in ipairs(workspace:GetDescendants()) do
if obj.Name:lower():find("generator") and obj:IsA("Model") then
table.insert(gens, obj)
end
end
end)
return gens
end
local function getGenProgress(gen)
local prog = gen:FindFirstChild("Progress") or gen:FindFirstChild("progress") or gen:FindFirstChild("Percent")
if prog and prog:IsA("ValueBase") then return prog.Value end
local attr = gen:GetAttribute("Progress") or gen:GetAttribute("progress")
if attr then return attr end
local bGui = gen:FindFirstChildOfClass("BillboardGui") or gen:FindFirstChildOfClass("SurfaceGui")
if bGui then
local lbl = bGui:FindFirstChildOfClass("TextLabel")
if lbl then
local num = lbl.Text:match("(%d+)")
if num then return tonumber(num) end
end
end
return nil
end
local function updateGenHUD()
if not State.GenHUDVisible then return end
local gens = getGenerators()
local total = #gens
local completed, active = 0, 0
for _, g in ipairs(gens) do
local p = getGenProgress(g)
if p and p >= 100 then completed = completed + 1 else active = active + 1 end
end
HUDContent.Text = string.format("Unfinished: %d\nCompleted: %d\nTotal Gens: %d\nEscape: %s",
active, completed, total, active == 0 and "READY" or "IN PROGRESS")
end
local ESPFolder = Instance.new("Folder")
ESPFolder.Name = "REIN_ESP"
pcall(function() ESPFolder.Parent = CoreGui end)
if not ESPFolder.Parent then ESPFolder.Parent = ScreenGui end
function cleanESP()
pcall(function()
for _, obj in ipairs(ESPFolder:GetChildren()) do obj:Destroy() end
for _, p in ipairs(Players:GetPlayers()) do
if p.Character then
local h = p.Character:FindFirstChild("REIN_Highlight")
if h then h:Destroy() end
local b = p.Character:FindFirstChild("REIN_Billboard")
if b then b:Destroy() end
end
end
for _, g in ipairs(getGenerators()) do
local h = g:FindFirstChild("REIN_Highlight")
if h then h:Destroy() end
local b = g:FindFirstChild("REIN_Billboard")
if b then b:Destroy() end
end
end)
end
local function applyHighlight(object, color, name, isGen)
if not object then return end
local highlight = object:FindFirstChild("REIN_Highlight")
if not highlight then
highlight = Instance.new("Highlight")
highlight.Name = "REIN_Highlight"
highlight.FillColor = color
highlight.FillTransparency = 0.5
highlight.OutlineColor = color
highlight.OutlineTransparency = 0.1
highlight.Adornee = object
highlight.Parent = object
else
highlight.OutlineColor = color
highlight.FillColor = color
end
local bill = object:FindFirstChild("REIN_Billboard")
if not bill then
bill = Instance.new("BillboardGui")
bill.Name = "REIN_Billboard"
bill.Size = UDim2.new(0, 120, 0, 45)
bill.AlwaysOnTop = true
bill.StudsOffset = Vector3.new(0, 3.5, 0)
bill.Adornee = object:IsA("Model") and (object.PrimaryPart or object:FindFirstChild("HumanoidRootPart") or object:FindFirstChildOfClass("Part")) or object
bill.Parent = object
local t = Instance.new("TextLabel")
t.BackgroundTransparency = 1
t.Size = UDim2.new(1, 0, 1, 0)
t.TextColor3 = color
t.Font = Enum.Font.GothamBold
t.TextSize = 10
t.TextStrokeTransparency = 0.4
t.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
t.Text = name
t.Parent = bill
end
local lbl = bill:FindFirstChildOfClass("TextLabel")
if lbl and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
local myHrp = LocalPlayer.Character.HumanoidRootPart
local tPart = object:IsA("Model") and (object.PrimaryPart or object:FindFirstChild("HumanoidRootPart") or object:FindFirstChildOfClass("Part")) or object
if tPart then
local dist = math.round((myHrp.Position - tPart.Position).Magnitude)
if isGen and State.ESPGenProgress then
local prog = getGenProgress(object) or 0
lbl.Text = string.format("%s\n[%d%%] | %d studs", name, prog, dist)
else
lbl.Text = string.format("%s\n%d studs", name, dist)
end
lbl.TextColor3 = color
end
end
end
local function runESPUpdate()
-- Players ESP — GREEN for survivors, RED for killer
if State.ESPPlayers or State.ESPKiller then
for _, p in ipairs(Players:GetPlayers()) do
if p ~= LocalPlayer and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
local isKiller = (p.Team and p.Team.Name:lower():find("killer")) or p.Character:FindFirstChild("Knife") or p.Character:FindFirstChild("Weapon")
if isKiller and State.ESPKiller then
applyHighlight(p.Character, TeamColors.Killer, p.Name .. " [KILLER]", false)
elseif not isKiller and State.ESPPlayers then
applyHighlight(p.Character, TeamColors.Survivors, p.Name .. " [SURVIVOR]", false)
else
local h = p.Character:FindFirstChild("REIN_Highlight")
if h then h:Destroy() end
local b = p.Character:FindFirstChild("REIN_Billboard")
if b then b:Destroy() end
end
end
end
end
-- Generator ESP
if State.ESPGenerators then
for _, gen in ipairs(getGenerators()) do
applyHighlight(gen, TeamColors.Generator, "Generator", true)
end
end
end
table.insert(State.Connections, RunService.Heartbeat:Connect(function()
if tick() % 0.3 < 0.05 then
pcall(runESPUpdate)
pcall(updateGenHUD)
end
end))
-- ═══════════════════════════════════════════════════════════
-- COMBAT TAB — Auto Parry & God Mode
-- ═══════════════════════════════════════════════════════════
local cPage = TabPages.Combat
createHeader(cPage, "⚔️ Combat Systems", 1)
createToggle(cPage, "Auto Parry (Comming Soon)", false, function(v) State.AutoParry = v end, 2)
createToggle(cPage, "God Mode (Comming Soon)", false, function(v) State.GodMode = v end, 3)
-- Auto Parry — using ReplicatedStorage.Items.ParryClient
local parryDebounce = false
local function tryParry()
if parryDebounce or not State.AutoParry then return end
parryDebounce = true
-- Find parry remote dynamically
local pRemote = ParryClient
if not pRemote then
pcall(function()
pRemote = ReplicatedStorage:FindFirstChild("Items") and ReplicatedStorage.Items:FindFirstChild("ParryClient")
end)
end
if not pRemote then
pcall(function()
local parryDagger = ItemRemotes and ItemRemotes:FindFirstChild("Parrying Dagger")
pRemote = parryDagger and parryDagger:FindFirstChild("parry")
end)
end
-- Deep search fallback
if not pRemote then
pcall(function()
for _, v in ipairs(ReplicatedStorage:GetDescendants()) do
if (v.Name == "ParryClient" or v.Name == "parry") and (v:IsA("RemoteEvent") or v:IsA("RemoteFunction") or v:IsA("BindableEvent")) then
pRemote = v
break
end
end
end)
end
if pRemote then
pcall(function()
if pRemote:IsA("RemoteEvent") then
pRemote:FireServer()
elseif pRemote:IsA("BindableEvent") then
pRemote:Fire()
elseif pRemote:IsA("RemoteFunction") then
pRemote:InvokeServer()
else
pRemote:FireServer()
end
end)
end
task.delay(0.15, function() parryDebounce = false end)
end
local function checkKillerStrike()
if not State.AutoParry then return end
local char = LocalPlayer.Character
local hrp = char and char:FindFirstChild("HumanoidRootPart")
if not hrp then return end
for _, k in ipairs(Players:GetPlayers()) do
if k ~= LocalPlayer and k.Character and k.Character:FindFirstChild("HumanoidRootPart") then
local kHrp = k.Character.HumanoidRootPart
local dist = (hrp.Position - kHrp.Position).Magnitude
if dist >= 2 and dist <= 14 then
local isKiller = (k.Team and k.Team.Name:lower():find("killer")) or k.Character:FindFirstChild("Knife") or k.Character:FindFirstChild("Weapon")
if isKiller then
local hum = k.Character:FindFirstChildOfClass("Humanoid")
if hum then
local anims = hum:GetPlayingAnimationTracks()
for _, a in ipairs(anims) do
local n = a.Name:lower()
if n:find("attack") or n:find("slash") or n:find("swing") or n:find("strike") or n:find("hit") or n:find("lunge") then
tryParry()
return
end
end
end
end
end
end
end
end
table.insert(State.Connections, RunService.Heartbeat:Connect(checkKillerStrike))
if AttackHitRemote then
table.insert(State.Connections, AttackHitRemote.OnClientEvent:Connect(function()
if State.AutoParry then tryParry() end
end))
end
if LungeDetectRemote then
table.insert(State.Connections, LungeDetectRemote.OnClientEvent:Connect(function(killer)
if State.AutoParry and killer and killer ~= LocalPlayer then
local char = LocalPlayer.Character
local hrp = char and char:FindFirstChild("HumanoidRootPart")
if hrp and killer.Character and killer.Character:FindFirstChild("HumanoidRootPart") then
local dist = (hrp.Position - killer.Character.HumanoidRootPart.Position).Magnitude
if dist <= 14 then tryParry() end
end
end
end))
end
-- ═══════════════════════════════════════════════════════════
-- GOD MODE — HP 999999 + Space (hook/continue) works normally
-- ═══════════════════════════════════════════════════════════
-- Hook namecall to block INCOMING damage only (not outgoing killer actions)
local oldNamecall
oldNamecall = hookmetamethod(game, "__namecall", newcclosure(function(self, ...)
local method = getnamecallmethod()
if method == "FireServer" and State.GodMode then
local isLocalKiller = LocalPlayer.Team and LocalPlayer.Team.Name:lower():find("killer")
local name = self.Name:lower()
-- Block incoming damage/hook remotes ONLY for survivors
-- Do NOT block: hook (when you're killer), continue, space, interact, generator, skill
if not isLocalKiller then
if name:find("takedamage") or name:find("injure") or name:find("down") then
return
end
if self == AttackHitRemote then
return
end
end
end
return oldNamecall(self, ...)
end))
-- God Mode health loop — sets HP to 999999 continuously
table.insert(State.Connections, RunService.Heartbeat:Connect(function()
if State.GodMode and LocalPlayer.Character then
local hum = LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
if hum then
pcall(function()
if hum.MaxHealth ~= 999999 then hum.MaxHealth = 999999 end
if hum.Health < 999999 then hum.Health = 999999 end
end)
end
end
end))
-- ═══════════════════════════════════════════════════════════
-- PLAYER TAB — Player List, Details, Teleport & Speed
-- ═══════════════════════════════════════════════════════════
local pPage = TabPages.Player
local PlayerContent = Instance.new("Frame")
PlayerContent.Size = UDim2.new(1, 0, 1, 0)
PlayerContent.BackgroundTransparency = 1
PlayerContent.LayoutOrder = 1
PlayerContent.Parent = pPage
local PlayerLeft = Instance.new("ScrollingFrame")
PlayerLeft.Size = UDim2.new(0, 170, 1, 0)
PlayerLeft.BackgroundTransparency = 1
PlayerLeft.ScrollBarThickness = 4
PlayerLeft.Parent = PlayerContent
local LeftLayout = Instance.new("UIListLayout")
LeftLayout.SortOrder = Enum.SortOrder.LayoutOrder
LeftLayout.Padding = UDim.new(0, 4)
LeftLayout.Parent = PlayerLeft
local PlayerRight = Instance.new("Frame")
PlayerRight.Size = UDim2.new(1, -180, 1, 0)
PlayerRight.Position = UDim2.new(0, 180, 0, 0)
PlayerRight.BackgroundColor3 = Color3.fromRGB(22, 17, 34)
PlayerRight.BorderSizePixel = 0
PlayerRight.Parent = PlayerContent
Instance.new("UICorner", PlayerRight).CornerRadius = UDim.new(0, 8)
local RightLayout = Instance.new("UIListLayout")
RightLayout.SortOrder = Enum.SortOrder.LayoutOrder
RightLayout.Padding = UDim.new(0, 8)
RightLayout.Parent = PlayerRight
local DetailTitle = Instance.new("TextLabel")
DetailTitle.Text = "🔍 PLAYER DETAILS"
DetailTitle.Size = UDim2.new(1, 0, 0, 24)
DetailTitle.BackgroundTransparency = 1
DetailTitle.TextColor3 = Color3.fromRGB(180, 140, 255)
DetailTitle.Font = Enum.Font.GothamBold
DetailTitle.TextSize = 11
DetailTitle.Parent = PlayerRight
local DetailText = Instance.new("TextLabel")
DetailText.Text = "Select a player from the list."
DetailText.Size = UDim2.new(1, -20, 0, 80)
DetailText.Position = UDim2.new(0, 10, 0, 0)
DetailText.BackgroundTransparency = 1
DetailText.TextColor3 = Color3.fromRGB(210, 195, 235)
DetailText.Font = Enum.Font.Gotham
DetailText.TextSize = 11
DetailText.TextXAlignment = Enum.TextXAlignment.Left
DetailText.TextYAlignment = Enum.TextYAlignment.Top
DetailText.Parent = PlayerRight
-- Teleport Button
local TeleportBtn = Instance.new("TextButton")
TeleportBtn.Text = "Teleport To Player"
TeleportBtn.Size = UDim2.new(1, -20, 0, 28)
TeleportBtn.BackgroundColor3 = Color3.fromRGB(90, 50, 200)
TeleportBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
TeleportBtn.Font = Enum.Font.GothamBold
TeleportBtn.TextSize = 11
TeleportBtn.Visible = false
TeleportBtn.Parent = PlayerRight
Instance.new("UICorner", TeleportBtn).CornerRadius = UDim.new(0, 6)
TeleportBtn.MouseButton1Click:Connect(function()
local target = State.SelectedPlayer
if target and target.Character and target.Character:FindFirstChild("HumanoidRootPart") and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
LocalPlayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 3)
end
end)
-- Walk Speed controls
local SpeedTitle = Instance.new("TextLabel")
SpeedTitle.Text = "🏃 WALK SPEED"
SpeedTitle.Size = UDim2.new(1, 0, 0, 20)
SpeedTitle.BackgroundTransparency = 1
SpeedTitle.TextColor3 = Color3.fromRGB(180, 140, 255)
SpeedTitle.Font = Enum.Font.GothamBold
SpeedTitle.TextSize = 11
SpeedTitle.Parent = PlayerRight
local SpeedFrame = Instance.new("Frame")
SpeedFrame.Size = UDim2.new(1, -20, 0, 32)
SpeedFrame.BackgroundTransparency = 1
SpeedFrame.Parent = PlayerRight
local SpeedInput = Instance.new("TextBox")
SpeedInput.Text = "16"
SpeedInput.PlaceholderText = "Speed (5-100)"
SpeedInput.Size = UDim2.new(0.4, 0, 1, 0)
SpeedInput.BackgroundColor3 = Color3.fromRGB(30, 25, 45)
SpeedInput.TextColor3 = Color3.fromRGB(255, 255, 255)
SpeedInput.Font = Enum.Font.Gotham
SpeedInput.TextSize = 11
SpeedInput.Parent = SpeedFrame
Instance.new("UICorner", SpeedInput).CornerRadius = UDim.new(0, 6)
local SpeedToggle = Instance.new("TextButton")
SpeedToggle.Text = "Speed: OFF"
SpeedToggle.Size = UDim2.new(0.56, 0, 1, 0)
SpeedToggle.Position = UDim2.new(0.44, 0, 0, 0)
SpeedToggle.BackgroundColor3 = Color3.fromRGB(50, 45, 65)
SpeedToggle.TextColor3 = Color3.fromRGB(255, 255, 255)
SpeedToggle.Font = Enum.Font.GothamBold
SpeedToggle.TextSize = 11
SpeedToggle.Parent = SpeedFrame
stylePremiumButton(SpeedToggle)
SpeedToggle.MouseButton1Click:Connect(function()
State.SpeedEnabled = not State.SpeedEnabled
SpeedToggle.Text = State.SpeedEnabled and "Speed: ON" or "Speed: OFF"
SpeedToggle.BackgroundColor3 = State.SpeedEnabled and Color3.fromRGB(130, 60, 240) or Color3.fromRGB(50, 45, 65)
end)
SpeedInput:GetPropertyChangedSignal("Text"):Connect(function()
local val = tonumber(SpeedInput.Text)
if val then State.WalkSpeed = math.clamp(val, 5, 100) end
end)
table.insert(State.Connections, RunService.Heartbeat:Connect(function()
if State.SpeedEnabled and LocalPlayer.Character then
local hum = LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
if hum then hum.WalkSpeed = State.WalkSpeed end
end
end))
local function rebuildPlayerList()
for _, c in ipairs(PlayerLeft:GetChildren()) do
if c:IsA("TextButton") then c:Destroy() end
end
local idx = 1
for _, p in ipairs(Players:GetPlayers()) do
local btn = Instance.new("TextButton")
btn.Size = UDim2.new(1, -8, 0, 30)
btn.BackgroundColor3 = (State.SelectedPlayer == p) and Color3.fromRGB(70, 40, 120) or Color3.fromRGB(28, 22, 40)
btn.Text = " " .. p.Name
btn.TextColor3 = (State.SelectedPlayer == p) and Color3.fromRGB(230, 200, 255) or Color3.fromRGB(195, 185, 215)
btn.Font = Enum.Font.GothamBold
btn.TextSize = 11
btn.TextXAlignment = Enum.TextXAlignment.Left
btn.LayoutOrder = idx
btn.Parent = PlayerLeft
Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6)
btn.MouseButton1Click:Connect(function()
State.SelectedPlayer = p
rebuildPlayerList()
local team = p.Team and p.Team.Name or "Unknown"
local hp = 100
pcall(function()
if p.Character and p.Character:FindFirstChildOfClass("Humanoid") then
hp = math.round(p.Character:FindFirstChildOfClass("Humanoid").Health)
end
end)
DetailText.Text = string.format("Name: %s\nTeam: %s\nHealth: %d\nAccount Age: %d days\nUserId: %d",
p.Name, team, hp, p.AccountAge or 0, p.UserId)
TeleportBtn.Visible = true
end)
idx = idx + 1
end
PlayerLeft.CanvasSize = UDim2.new(0, 0, 0, idx * 34)
end
table.insert(State.Connections, RunService.Heartbeat:Connect(function()
if State.ActiveTab == "Player" and tick() % 3.0 < 0.05 then rebuildPlayerList() end
end))
rebuildPlayerList()
-- ═══════════════════════════════════════════════════════════
-- MISC TAB — Perfect Generator & AFK
-- ═══════════════════════════════════════════════════════════
local mPage = TabPages.Misc
createHeader(mPage, "🔧 Generator & AFK Systems", 1)
createToggle(mPage, "Perfect Generator (Comming Soon)", false, function(v)
State.PerfectGen = v
end, 2)
-- Helper for new Perfect Generator
local function normalizeAngle(angle)
angle = angle % 360
return angle < 0 and angle + 360 or angle
end
-- Perfect Generator — intercept skillcheck events and auto-succeed
local function Autogen()
if not State.PerfectGen then return end
pcall(function()
local CheckPrompt = LocalPlayer.PlayerGui:FindFirstChild("SkillCheckPromptGui")
if CheckPrompt and CheckPrompt.Check and CheckPrompt.Check.Line and CheckPrompt.Check.Goal then
local Rotation = CheckPrompt.Check.Line.Rotation
local GoalRotation = CheckPrompt.Check.Goal.Rotation
Rotation = normalizeAngle(Rotation)
GoalRotation = normalizeAngle(GoalRotation)
local lowerSuccess = normalizeAngle(104 + GoalRotation)
local upperSuccess = normalizeAngle(114 + GoalRotation)
if lowerSuccess <= Rotation and Rotation <= upperSuccess then
VirtualUser:CaptureController()
VirtualUser:KeyPress(Enum.KeyCode.Space)
task.wait()
VirtualUser:KeyRelease(Enum.KeyCode.Space)
end
end
end)
end
-- Lobby Stay & Neon RGB AFK Mode
local afkTimerLabel = Instance.new("TextLabel")
afkTimerLabel.Text = "AFK Time: 00:00:00"
afkTimerLabel.Size = UDim2.new(1, 0, 0, 24)
afkTimerLabel.BackgroundTransparency = 1
afkTimerLabel.Font = Enum.Font.GothamBold
afkTimerLabel.TextSize = 12.5
afkTimerLabel.LayoutOrder = 4
afkTimerLabel.Parent = mPage
local PreAFKCFrame = nil
createToggle(mPage, "Lobby AFK Safe Mode", false, function(v)
State.AFKMode = v
if v then
State.AFKStartTime = os.time()
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
PreAFKCFrame = LocalPlayer.Character.HumanoidRootPart.CFrame
LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, 5000, 0)
local part = Instance.new("Part")
part.Name = "REIN_AFKPlatform"
part.Size = Vector3.new(12, 1.5, 12)
part.Position = Vector3.new(0, 4995, 0)
part.Anchored = true
part.Parent = workspace
end
else
afkTimerLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
afkTimerLabel.Text = "AFK Time: 00:00:00"
local plat = workspace:FindFirstChild("REIN_AFKPlatform")
if plat then plat:Destroy() end
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
if PreAFKCFrame then
LocalPlayer.Character.HumanoidRootPart.CFrame = PreAFKCFrame
else
local spawns = {}
for _, obj in ipairs(workspace:GetDescendants()) do
if obj:IsA("SpawnLocation") then
table.insert(spawns, obj)
end
end
if #spawns > 0 then
local randomSpawn = spawns[math.random(1, #spawns)]
LocalPlayer.Character.HumanoidRootPart.CFrame = randomSpawn.CFrame * CFrame.new(0, 3, 0)
else
LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, 15, 0)
end
end
end
PreAFKCFrame = nil
end
end, 3)
table.insert(State.Connections, RunService.Heartbeat:Connect(function()
if State.AFKMode then
local hue = tick() % 4 / 4
afkTimerLabel.TextColor3 = Color3.fromHSV(hue, 1, 1)
local diff = os.time() - State.AFKStartTime
local h = math.floor(diff / 3600)
local m = math.floor((diff % 3600) / 60)
local s = diff % 60
afkTimerLabel.Text = string.format("AFK Time: %02d:%02d:%02d", h, m, s)
if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
local pos = LocalPlayer.Character.HumanoidRootPart.Position
if pos.Y < 4500 and workspace:FindFirstChild("REIN_AFKPlatform") then
LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, 5000, 0)
end
end
end
end))
-- AFK Mode display
local afkTimerLabel = Instance.new("TextLabel")
afkTimerLabel.Text = "Anti-AFK: ACTIVE ✓"
afkTimerLabel.Size = UDim2.new(1, 0, 0, 24)
afkTimerLabel.BackgroundTransparency = 1
afkTimerLabel.TextColor3 = Color3.fromRGB(0, 255, 100)
afkTimerLabel.Font = Enum.Font.GothamBold
afkTimerLabel.TextSize = 12.5
afkTimerLabel.LayoutOrder = 4
afkTimerLabel.Parent = mPage
-- AFK timer with RGB color cycling
table.insert(State.Connections, RunService.Heartbeat:Connect(function()
local hue = tick() % 4 / 4
afkTimerLabel.TextColor3 = Color3.fromHSV(hue, 1, 1)
local diff = os.time() - State.AFKStartTime
local h = math.floor(diff / 3600)
local m = math.floor((diff % 3600) / 60)
local s = diff % 60
afkTimerLabel.Text = string.format("Anti-AFK: ACTIVE ✓ | Uptime: %02d:%02d:%02d", h, m, s)
Autogen() -- Run perfect gen logic in the main heartbeat loop
end))
-- ═══════════════════════════════════════════════════════════
-- SC TAB — External Script Loaders
-- ═══════════════════════════════════════════════════════════
local scPage = TabPages.SC
createHeader(scPage, "📜 External Script Loaders", 1)
-- Askr Hub loader
local scFrame1 = Instance.new("Frame")
scFrame1.Size = UDim2.new(1, 0, 0, 45)
scFrame1.BackgroundColor3 = Color3.fromRGB(22, 17, 34)
scFrame1.LayoutOrder = 2
scFrame1.Parent = scPage
Instance.new("UICorner", scFrame1).CornerRadius = UDim.new(0, 6)
local scLabel1 = Instance.new("TextLabel")
scLabel1.Text = "Perfect Generator Script"
scLabel1.Size = UDim2.new(1, -160, 1, 0)
scLabel1.BackgroundTransparency = 1
scLabel1.TextColor3 = Color3.fromRGB(220, 200, 245)
scLabel1.Font = Enum.Font.GothamSemibold
scLabel1.TextSize = 11
scLabel1.TextXAlignment = Enum.TextXAlignment.Left
scLabel1.Parent = scFrame1
local scBtn1 = Instance.new("TextButton")
scBtn1.Size = UDim2.new(0, 140, 0, 28)
scBtn1.Position = UDim2.new(1, -150, 0.5, -14)
scBtn1.BackgroundColor3 = Color3.fromRGB(120, 60, 220)
scBtn1.Text = "⚡ Execute"
scBtn1.TextColor3 = Color3.fromRGB(255, 255, 255)
scBtn1.Font = Enum.Font.GothamBold
scBtn1.TextSize = 10
scBtn1.Parent = scFrame1
stylePremiumButton(scBtn1)
scBtn1.MouseButton1Click:Connect(function()
scBtn1.Text = "Executing..."
local ok, err = pcall(function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/Netshh/askr-hub/main/loader.lua"))()
end)
scBtn1.Text = ok and "✓ Done!" or "✗ Failed!"
scBtn1.BackgroundColor3 = ok and Color3.fromRGB(0, 150, 80) or Color3.fromRGB(150, 40, 40)
if not ok then warn("⚡ REIN HUB: Askr Hub failed: " .. tostring(err)) end
task.delay(2, function()
scBtn1.Text = "⚡ Execute"
scBtn1.BackgroundColor3 = Color3.fromRGB(120, 60, 220)
end)
end)
-- Auto Aim Veil loader
local scFrame2 = Instance.new("Frame")
scFrame2.Size = UDim2.new(1, 0, 0, 45)
scFrame2.BackgroundColor3 = Color3.fromRGB(22, 17, 34)
scFrame2.LayoutOrder = 3
scFrame2.Parent = scPage
Instance.new("UICorner", scFrame2).CornerRadius = UDim.new(0, 6)
local scLabel2 = Instance.new("TextLabel")
scLabel2.Text = "Auto Aim Veil Script [ERROR]"
scLabel2.Size = UDim2.new(1, -160, 1, 0)
scLabel2.BackgroundTransparency = 1
scLabel2.TextColor3 = Color3.fromRGB(220, 200, 245)
scLabel2.Font = Enum.Font.GothamSemibold
scLabel2.TextSize = 11
scLabel2.TextXAlignment = Enum.TextXAlignment.Left
scLabel2.Parent = scFrame2
local scBtn2 = Instance.new("TextButton")
scBtn2.Size = UDim2.new(0, 140, 0, 28)
scBtn2.Position = UDim2.new(1, -150, 0.5, -14)
scBtn2.BackgroundColor3 = Color3.fromRGB(120, 60, 220)
scBtn2.Text = "⚡ Execute"
scBtn2.TextColor3 = Color3.fromRGB(255, 255, 255)
scBtn2.Font = Enum.Font.GothamBold
scBtn2.TextSize = 10
scBtn2.Parent = scFrame2
stylePremiumButton(scBtn2)
scBtn2.MouseButton1Click:Connect(function()
scBtn2.Text = "Executing..."
local ok, err = pcall(function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/RillBoys/BOLONG-HUB/refs/heads/main/games/veil"))()
end)
scBtn2.Text = ok and "✓ Done!" or "✗ Failed!"
scBtn2.BackgroundColor3 = ok and Color3.fromRGB(0, 150, 80) or Color3.fromRGB(150, 40, 40)
if not ok then warn("⚡ REIN HUB: Veil script failed: " .. tostring(err)) end
task.delay(2, function()
scBtn2.Text = "⚡ Execute"
scBtn2.BackgroundColor3 = Color3.fromRGB(120, 60, 220)
end)
end)
-- REINHUB X MITHUB
local scFrame3 = Instance.new("Frame")
scFrame3.Size = UDim2.new(1, 0, 0, 45)
scFrame3.BackgroundColor3 = Color3.fromRGB(22, 17, 34)
scFrame3.LayoutOrder = 4
scFrame3.Parent = scPage
Instance.new("UICorner", scFrame3).CornerRadius = UDim.new(0, 6)
local scLabel2 = Instance.new("TextLabel")
scLabel2.Text = "REINHUB X MITHUB"
scLabel2.Size = UDim2.new(1, -160, 1, 0)
scLabel2.BackgroundTransparency = 1
scLabel2.TextColor3 = Color3.fromRGB(220, 200, 245)
scLabel2.Font = Enum.Font.GothamSemibold
scLabel2.TextSize = 11
scLabel2.TextXAlignment = Enum.TextXAlignment.Left
scLabel2.Parent = scFrame3
local scBtn2 = Instance.new("TextButton")
scBtn2.Size = UDim2.new(0, 140, 0, 28)
scBtn2.Position = UDim2.new(1, -150, 0.5, -14)
scBtn2.BackgroundColor3 = Color3.fromRGB(120, 60, 220)
scBtn2.Text = "⚡ Execute"
scBtn2.TextColor3 = Color3.fromRGB(255, 255, 255)
scBtn2.Font = Enum.Font.GothamBold
scBtn2.TextSize = 10
scBtn2.Parent = scFrame3
stylePremiumButton(scBtn2)
scBtn2.MouseButton1Click:Connect(function()
scBtn2.Text = "Executing..."
local ok, err = pcall(function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/loopesloop877/peakvd/refs/heads/main/mkthubp"))()
end)
scBtn2.Text = ok and "✓ Done!" or "✗ Failed!"
scBtn2.BackgroundColor3 = ok and Color3.fromRGB(0, 150, 80) or Color3.fromRGB(150, 40, 40)
if not ok then warn("⚡ REIN HUB: MITHUB failed: " .. tostring(err)) end
task.delay(2, function()
scBtn2.Text = "⚡ Execute"
scBtn2.BackgroundColor3 = Color3.fromRGB(120, 60, 220)
end)
end)
-- MITHUB Key
local scFrame4 = Instance.new("Frame")
scFrame4.Size = UDim2.new(1, 0, 0, 45) -- Tetap sama
scFrame4.BackgroundColor3 = Color3.fromRGB(22, 17, 34)
scFrame4.LayoutOrder = 5
scFrame4.Parent = scPage
Instance.new("UICorner", scFrame4).CornerRadius = UDim.new(0, 6)
local scLabel4 = Instance.new("TextLabel")
scLabel4.Text = "MITHUB Key"
scLabel4.Size = UDim2.new(1, -330, 1, 0) -- Beri ruang untuk tombol salin
scLabel4.BackgroundTransparency = 1
scLabel4.TextColor3 = Color3.fromRGB(220, 200, 245)
scLabel4.Font = Enum.Font.GothamSemibold
scLabel4.TextSize = 11
scLabel4.TextXAlignment = Enum.TextXAlignment.Left
scLabel4.Parent = scFrame4
local keyBox = Instance.new("TextBox")
keyBox.Text = "GENERATE KEY MANUAL"
keyBox.Size = UDim2.new(0, 240, 0, 28) -- Sedikit lebih kecil
keyBox.Position = UDim2.new(1, -320, 0.5, -14) -- Geser ke kiri
keyBox.BackgroundColor3 = Color3.fromRGB(30, 25, 45)
keyBox.TextColor3 = Color3.fromRGB(200, 180, 240)
keyBox.Font = Enum.Font.Gotham
keyBox.TextSize = 10
keyBox.ClearTextOnFocus = false
keyBox.Parent = scFrame4
Instance.new("UICorner", keyBox).CornerRadius = UDim.new(0, 6)
local copyBtn = Instance.new("TextButton")
copyBtn.Size = UDim2.new(0, 70, 0, 28)
copyBtn.Position = UDim2.new(1, -75, 0.5, -14)
copyBtn.BackgroundColor3 = Color3.fromRGB(80, 50, 160)
copyBtn.Text = "Salin"
copyBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
copyBtn.Font = Enum.Font.GothamBold
copyBtn.TextSize = 10
copyBtn.Parent = scFrame4
stylePremiumButton(copyBtn)
copyBtn.MouseButton1Click:Connect(function()
setclipboard("MITHUB-93O1-RS61-PQKP-B8GC")
copyBtn.Text = "Tersalin!"
copyBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 80)
task.delay(2, function()
copyBtn.Text = "Salin"
copyBtn.BackgroundColor3 = Color3.fromRGB(80, 50, 160)
end)
end)
-- ═══════════════════════════════════════════════════════════
-- INFO TAB — About, User Stats, Unload
-- ═══════════════════════════════════════════════════════════
local iPage = TabPages.Info
createHeader(iPage, "ℹ️ About REIN HUB", 1)
local aboutFrame = Instance.new("Frame")
aboutFrame.Size = UDim2.new(1, 0, 0, 110)
aboutFrame.BackgroundColor3 = Color3.fromRGB(22, 17, 34)
aboutFrame.LayoutOrder = 2
aboutFrame.Parent = iPage
Instance.new("UICorner", aboutFrame).CornerRadius = UDim.new(0, 6)
local aboutText = Instance.new("TextLabel")
aboutText.Text = [[ REIN HUB X Violence District — Premium
Exclusively built for Violence District (PlaceId: 93978595733734).
Features: Auto Parry, God Mode, Perfect Generator Repair,
ESP System (Killer/Survivor/Generator), Anti-AFK,
Walk Speed Control, External Script Loaders, and more.
TikTok : @reinuhuy
Created by REINUHUY · Follow me on TT]]
aboutText.Size = UDim2.new(1, -20, 1, 0)
aboutText.Position = UDim2.new(0, 10, 0, 0)
aboutText.BackgroundTransparency = 1
aboutText.TextColor3 = Color3.fromRGB(210, 195, 235)
aboutText.Font = Enum.Font.Gotham
aboutText.TextSize = 10
aboutText.TextXAlignment = Enum.TextXAlignment.Left
aboutText.TextYAlignment = Enum.TextYAlignment.Center
aboutText.TextWrapped = true
aboutText.Parent = aboutFrame
createHeader(iPage, "👤 User & Game Stats", 3)
local statsFrame = Instance.new("Frame")
statsFrame.Size = UDim2.new(1, 0, 0, 90)
statsFrame.BackgroundColor3 = Color3.fromRGB(22, 17, 34)
statsFrame.LayoutOrder = 4
statsFrame.Parent = iPage
Instance.new("UICorner", statsFrame).CornerRadius = UDim.new(0, 6)
local execName = "Unknown"
pcall(function()
execName = identifyexecutor and select(1, identifyexecutor()) or (getexecutorname and getexecutorname()) or "Unknown"
end)
local statsText = Instance.new("TextLabel")
statsText.Text = string.format(" Username: %s\n Game PlaceId: %d\n Executor: %s\n Anti-AFK: Auto Active ✓",
LocalPlayer.Name, game.PlaceId, execName)
statsText.Size = UDim2.new(1, -20, 1, 0)
statsText.Position = UDim2.new(0, 10, 0, 0)
statsText.BackgroundTransparency = 1
statsText.TextColor3 = Color3.fromRGB(200, 180, 240)
statsText.Font = Enum.Font.GothamSemibold
statsText.TextSize = 10.5
statsText.TextXAlignment = Enum.TextXAlignment.Left
statsText.TextYAlignment = Enum.TextYAlignment.Center
statsText.Parent = statsFrame
-- Unload button
local unloadBtn = Instance.new("TextButton")
unloadBtn.Text = "💀 Unload / Self-Destruct Hub"
unloadBtn.Size = UDim2.new(1, 0, 0, 32)
unloadBtn.BackgroundColor3 = Color3.fromRGB(120, 30, 30)
unloadBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
unloadBtn.Font = Enum.Font.GothamBold
unloadBtn.TextSize = 11
unloadBtn.LayoutOrder = 5
unloadBtn.Parent = iPage
stylePremiumButton(unloadBtn)
unloadBtn.MouseButton1Click:Connect(function()
for _, conn in ipairs(State.Connections) do pcall(function() conn:Disconnect() end) end
pcall(cleanESP)
pcall(function() GenHUD:Destroy() end)
ScreenGui:Destroy()
print("⚡ REIN HUB: Completely unloaded.")
end)
-- ═══════════════════════════════════════════════════════════
-- CINEMATIC LOADING ANIMATION SEQUENCE
-- ═══════════════════════════════════════════════════════════
local LoadMsgs = {
{0, "Establishing connection..."},
{8, "Scanning game environment..."},
{18, "Mapping remote hierarchy..."},
{28, "Initializing ESP modules..."},
{40, "Loading combat systems..."},
{50, "Configuring auto-parry engine..."},
{60, "Setting up generator scanner..."},
{72, "Building admin interface..."},
{82, "Hooking metamethods..."},
{90, "Bypassing anti-cheat layers..."},
{95, "Finalizing injection..."},
{99, "Almost ready..."},
}
task.spawn(function()
LoadingFrame.BackgroundTransparency = 0
local fadeIn = TweenInfo.new(0.8, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
TweenService:Create(LogoLoad, fadeIn, {ImageTransparency = 0}):Play()
TweenService:Create(TitleLoad, fadeIn, {TextTransparency = 0}):Play()
task.wait(0.5)
local pct = 0
local mi = 1
while pct <= 100 do
if mi <= #LoadMsgs and pct >= LoadMsgs[mi][1] then
local fo = TweenInfo.new(0.12, Enum.EasingStyle.Quad)
TweenService:Create(StatusLoad, fo, {TextTransparency = 1}):Play()
task.wait(0.12)
StatusLoad.Text = LoadMsgs[mi][2]
TweenService:Create(StatusLoad, fo, {TextTransparency = 0}):Play()
mi = mi + 1
end
BarFill.Size = UDim2.new(pct / 100, 0, 1, 0)
PctText.Text = pct .. "%"
local hue = (pct / 100) * 0.8
BarStroke.Color = Color3.fromHSV(0.75 - hue * 0.15, 0.7, 0.8)
local dt = 0.02
if pct < 10 then dt = 0.04
elseif pct >= 45 and pct <= 55 then dt = 0.06
elseif pct > 85 and pct < 95 then dt = 0.05
elseif pct >= 95 then dt = 0.03
end
task.wait(dt)
pct = pct + 1
end
PctText.Text = "100%"
StatusLoad.Text = "Welcome, " .. LocalPlayer.Name
task.wait(0.6)
-- Cinematic fade-out
local foI = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.In)
local foS = TweenInfo.new(0.7, Enum.EasingStyle.Quad, Enum.EasingDirection.In)
for _, child in ipairs(ParticleBox:GetChildren()) do
if child:IsA("Frame") then
TweenService:Create(child, foI, {BackgroundTransparency = 1}):Play()
end
end
TweenService:Create(OuterRing, foI, {ImageTransparency = 1}):Play()
TweenService:Create(InnerRing, foI, {ImageTransparency = 1}):Play()
task.wait(0.2)
TweenService:Create(LogoLoad, foI, {ImageTransparency = 1}):Play()
TweenService:Create(TitleLoad, foI, {TextTransparency = 1}):Play()
TweenService:Create(StatusLoad, foI, {TextTransparency = 1}):Play()
TweenService:Create(PctText, foI, {TextTransparency = 1}):Play()
TweenService:Create(CreditLoad, foI, {TextTransparency = 1}):Play()
TweenService:Create(BarBg, foI, {BackgroundTransparency = 1}):Play()
TweenService:Create(BarFill, foI, {BackgroundTransparency = 1}):Play()
TweenService:Create(BarStroke, foI, {Transparency = 1}):Play()
task.wait(0.3)
TweenService:Create(LoadingFrame, foS, {BackgroundTransparency = 1}):Play()
TweenService:Create(MatrixBgLoad, foS, {ImageTransparency = 1}):Play()
TweenService:Create(Vignette, foS, {ImageTransparency = 1}):Play()
task.wait(0.7)
LoadingGui:Destroy()
MainFrame.Visible = true
State.UIVisible = true
end)
-- ═══════════════════════════════════════════════════════════
-- BOOTSTRAP
-- ═══════════════════════════════════════════════════════════
print("⚡ REIN HUB X VD loaded! Anti-AFK active. All systems online.")