0% found this document useful (0 votes)
127 views8 pages

V4KeySystem Lua

Uploaded by

rilhmkrn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
127 views8 pages

V4KeySystem Lua

Uploaded by

rilhmkrn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 8

if game.

PlaceId == 82321750197896 then

--== Load Luna ==--


local Luna = loadstring(game:HttpGet("https://raw.githubusercontent.com/Nebula-
Softworks/Luna-Interface-Suite/refs/heads/master/source.lua", true))()

--== Window ==--


local Window = Luna:CreateWindow({
Name = "ZiaanHub - Poop a Brainrot",
Subtitle = "by @ziaandev",
LogoID = "123768249641361",
LoadingEnabled = true,
LoadingTitle = "ZiaanHub",
LoadingSubtitle = "by @ziaandev",
ConfigSettings = {
RootFolder = nil,
ConfigFolder = "ZiaanHub"
},

-- Fixed KeySystem configuration (moved outside ConfigSettings)


KeySystem = true, -- enable the key system
KeySettings = {
Title = "ZiaanHub Key System",
Subtitle = "Join Our Discord For Get Key",
Note = "Welcome to ZiaanHub! To continue, please enter your valid license
key. ",

SaveInRoot = false, -- set to true if you want to store the key in the root
folder
SaveKey = false, -- set to true if you want the key saved locally

-- Replace with your actual HWID-based keys from your provider


Key = {
"ziaanhub"
},

-- (Optional) Roblox UserIds that can bypass the key system (owner / dev /
tester only)
WhitelistUserIds = {
9081417981,
9486787827
-- example: 12345678,
},

SecondAction = {
Enabled = true, -- redirect user if no/invalid key
Type = "Discord", -- "Discord" or "Link"
-- If Discord: put invite code without "discord.gg/"
-- If Link: use full URL (e.g. "https://example.com/get-key")
Parameter = "z2uNNQHrgZ"
}
}
})

--== Executor Detect ==--


local currentExecutor = "Unknown"
pcall(function()
if identifyexecutor then
currentExecutor = identifyexecutor()
end
end)

--== Home Tab ==--


Window:CreateHomeTab({
SupportedExecutors = {
"Synapse X","Krnl","ProtoSmasher","Fluxus","Script-Ware","Arceus
X","Delta",
"Coco Z","Oxygen U","Evon","Vega X","Trigon","Codex","Hydrogen","Wave",
"Valyse","Nihon","Solara","Electron","Sentinel","Calamari","SirHurt",
"EasyExploits","Celery","Dansploit","Rayfield","Moonsec"
},
DiscordInvite = "z2uNNQHrgZ",
Icon = 1
})

--== Dashboard Tab ==--


local DashboardTab = Window:CreateTab({
Name = "Dashboard",
Icon = "dashboard",
ImageSource = "Material",
ShowTitle = true
})

DashboardTab:CreateSection("Information")
DashboardTab:CreateLabel({Text = "ZiaanHub v1.0 | Developed by @ziaandev", Style =
2})
DashboardTab:CreateLabel({Text = "Current Executor: " .. tostring(currentExecutor),
Style = 2})
DashboardTab:CreateParagraph({
Title = "About ZiaanHub",
Text = [[
ZiaanHub is a Roblox scripting solution developed and maintained by @ziaandev.
This sophisticated toolset was engineered for educational purposes and delivers a
modern,
intuitive interface for automation capabilities.

Special acknowledgments to the community for their valuable feedback and ongoing
support.
]]
})

--== Main Tab ==--


local MainTab = Window:CreateTab({
Name = "Main",
Icon = "play_arrow",
ImageSource = "Material",
ShowTitle = true
})

-- Auto Poop Delay


MainTab:CreateSection("Auto Poop Delay")
MainTab:CreateLabel({
Text = "Configures the automation interval for the poop minigame execution
(Second)",
Style = 1
})

local delayValue = 0.1


MainTab:CreateSlider({
Name = "Auto Poop Delay",
CurrentValue = 0.1,
Min = 0.05,
Max = 2,
Step = 0.05,
Callback = function(Value)
delayValue = Value
end
})

-- Auto Poop Minigame


MainTab:CreateSection("Auto Poop Minigame")
MainTab:CreateLabel({
Text = "Automates the poop minigame process without requiring manual
interaction",
Style = 1
})

local active = false


local loopThread
MainTab:CreateToggle({
Name = "Auto Poop Minigame",
CurrentValue = false,
Callback = function(Value)
active = Value
if active then
if not loopThread then
loopThread = task.spawn(function()
while active do
pcall(function()
local rs = game:GetService("ReplicatedStorage")
rs:WaitForChild("StartPoopMinigameServer"):FireServer()
for i=1,15 do

rs:WaitForChild("PoopBrainrotEvent"):FireServer(2,6)
end
rs:WaitForChild("PoopSuccessEvent"):FireServer()
end)
task.wait(delayValue)
end
end)
end
else
if loopThread then
task.cancel(loopThread)
loopThread = nil
end
end
end
})

--== Miscellaneous Tab ==--


local MiscTab = Window:CreateTab({
Name = "Miscellaneous",
Icon = "extension",
ImageSource = "Material",
ShowTitle = true
})
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

local function humanoid()


return LocalPlayer.Character and
LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
end

-- WalkSpeed
MiscTab:CreateSection("WalkSpeed")
MiscTab:CreateLabel({
Text = "Adjusts character movement velocity (default value: 16)",
Style = 1
})
local defaultSpeed = 16
MiscTab:CreateSlider({
Name = "WalkSpeed",
CurrentValue = defaultSpeed,
Min = 10,
Max = 100,
Step = 1,
Callback = function(Value)
local h = humanoid()
if h then h.WalkSpeed = Value end
end
})

-- Jump Power
MiscTab:CreateSection("Jump Power")
MiscTab:CreateLabel({
Text = "Modifies character jump height capability (default value: 50)",
Style = 1
})
local defaultJump = 50
MiscTab:CreateSlider({
Name = "Jump Power",
CurrentValue = defaultJump,
Min = 20,
Max = 200,
Step = 5,
Callback = function(Value)
local h = humanoid()
if h then
h.UseJumpPower = true
h.JumpPower = Value
end
end
})

-- Infinite Jump
MiscTab:CreateSection("Infinite Jump")
MiscTab:CreateLabel({
Text = "Enables unlimited jumping capability regardless of character state",
Style = 1
})
local infJumpActive = false
MiscTab:CreateToggle({
Name = "Infinite Jump",
CurrentValue = false,
Callback = function(Value)
infJumpActive = Value
end
})
game:GetService("UserInputService").JumpRequest:Connect(function()
if infJumpActive then
local h = humanoid()
if h then h:ChangeState(Enum.HumanoidStateType.Jumping) end
end
end)

-- NoClip
MiscTab:CreateSection("NoClip")
MiscTab:CreateLabel({
Text = "Enables collision bypass, allowing movement through solid objects",
Style = 1
})
local noClipActive = false
local noClipSpeed = 50
local noClipConn
MiscTab:CreateSlider({
Name = "NoClip Speed",
CurrentValue = 50,
Min = 10,
Max = 200,
Step = 5,
Callback = function(Value)
noClipSpeed = Value
end
})
MiscTab:CreateToggle({
Name = "NoClip",
CurrentValue = false,
Callback = function(Value)
noClipActive = Value
if noClipActive then
if not noClipConn then
noClipConn =
game:GetService("RunService").Stepped:Connect(function()
if LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
for _, v in pairs(LocalPlayer.Character:GetDescendants())
do
if v:IsA("BasePart") and v.CanCollide then
v.CanCollide = false
end
end
local hrp = LocalPlayer.Character.HumanoidRootPart
local moveDir =
LocalPlayer.Character:FindFirstChildOfClass("Humanoid").MoveDirection
if moveDir.Magnitude > 0 then
hrp.Velocity = moveDir * noClipSpeed
else
hrp.Velocity = Vector3.zero
end
end
end)
end
else
if noClipConn then
noClipConn:Disconnect()
noClipConn = nil
end
end
end
})

-- Anti AFK
MiscTab:CreateSection("Anti AFK")
MiscTab:CreateLabel({
Text = "Prevents Roblox from kicking you due to inactivity",
Style = 1
})

local antiAfkActive = false


local antiAfkConn

MiscTab:CreateToggle({
Name = "Anti AFK",
CurrentValue = false,
Callback = function(Value)
antiAfkActive = Value
if antiAfkActive then
if not antiAfkConn then
antiAfkConn =
game:GetService("Players").LocalPlayer.Idled:Connect(function()
game:GetService("VirtualUser"):Button2Down(Vector2.new(0,0),
workspace.CurrentCamera.CFrame)
task.wait(1)
game:GetService("VirtualUser"):Button2Up(Vector2.new(0,0),
workspace.CurrentCamera.CFrame)
end)
end
else
if antiAfkConn then
antiAfkConn:Disconnect()
antiAfkConn = nil
end
end
end
})

-- Persistent Features
MiscTab:CreateSection("Persistent Features")
MiscTab:CreateLabel({
Text = "These features are always active in the background for better gameplay
& protection.",
Style = 1
})

MiscTab:CreateParagraph({
Title = "Movement Booster",
Text = "Enhances character movement responsiveness with optimized WASD input."
})

MiscTab:CreateParagraph({
Title = "Anti-Luraph Protection",
Text = "Continuously scans for & removes malicious scripts obfuscated with
Luraph."
})

--== Teleport Tab ==--


local TeleportTab = Window:CreateTab({
Name = "Teleport",
Icon = "map",
ImageSource = "Material",
ShowTitle = true
})

local tpLocations = {
["Potion Shop"] = CFrame.new(-72.88, 5.35, 24.39),
["Food Shop"] = CFrame.new(-72.13, 5.35, 11.10),
["Brainrot Seller"] = CFrame.new(-73.32, 5.35, -1.19),
["General Store"] = CFrame.new(-72.92, 5.35, -13.98),
["Lucky Machine"] = CFrame.new(-71.06, 5.30, -39.85)
}

local function teleportTo(cframe)


local hrp = LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
if hrp then hrp.CFrame = cframe end
end

-- Potion Shop
TeleportTab:CreateSection("Teleport to Potion Shop")
TeleportTab:CreateLabel({Text = "Instantly teleport your character to the potion
brewing shop.", Style = 1})
TeleportTab:CreateButton({Name = "Go to Potion Shop", Callback = function()
teleportTo(tpLocations["Potion Shop"]) end})

-- Food Shop
TeleportTab:CreateSection("Teleport to Food Shop")
TeleportTab:CreateLabel({Text = "Quickly teleport to the food shop for brainrot
snacks.", Style = 1})
TeleportTab:CreateButton({Name = "Go to Food Shop", Callback = function()
teleportTo(tpLocations["Food Shop"]) end})

-- Brainrot Seller
TeleportTab:CreateSection("Teleport to Brainrot Seller")
TeleportTab:CreateLabel({Text = "Teleport directly to the NPC that buys brainrot
items.", Style = 1})
TeleportTab:CreateButton({Name = "Go to Brainrot Seller", Callback = function()
teleportTo(tpLocations["Brainrot Seller"]) end})

-- General Store
TeleportTab:CreateSection("Teleport to General Store")
TeleportTab:CreateLabel({Text = "Jump straight to the main shop where general items
are sold.", Style = 1})
TeleportTab:CreateButton({Name = "Go to General Store", Callback = function()
teleportTo(tpLocations["General Store"]) end})

-- Lucky Machine
TeleportTab:CreateSection("Teleport to Lucky Machine")
TeleportTab:CreateLabel({Text = "Teleport to the lucky machine and try your
fortune.", Style = 1})
TeleportTab:CreateButton({Name = "Go to Lucky Machine", Callback = function()
teleportTo(tpLocations["Lucky Machine"]) end})

--== Always Active Scripts ==--

-- Movement Booster
game:GetService("RunService").Heartbeat:Connect(function()
pcall(function()
local cam = workspace.CurrentCamera
local move = Vector3.zero
local character = Players.LocalPlayer.Character
local root = character and character:FindFirstChild("HumanoidRootPart")
if not root then return end

local forward = Vector3.new(cam.CFrame.LookVector.X, 0,


cam.CFrame.LookVector.Z).Unit
local right = Vector3.new(cam.CFrame.RightVector.X, 0,
cam.CFrame.RightVector.Z).Unit
local UIS = game:GetService("UserInputService")

if UIS:IsKeyDown(Enum.KeyCode.W) then move += forward end


if UIS:IsKeyDown(Enum.KeyCode.S) then move -= forward end
if UIS:IsKeyDown(Enum.KeyCode.A) then move -= right end
if UIS:IsKeyDown(Enum.KeyCode.D) then move += right end

if move.Magnitude > 0 then


root.Velocity = move.Unit * 50
end
end)
end)

-- Anti-Luraph
task.spawn(function()
while task.wait(5) do
for _, obj in next, getinstances() do
local success, bytecode = pcall(getscriptbytecode, obj)
if success and bytecode and obj:IsA("BaseScript") and
string.find(string.lower(bytecode), "luraph") then
for _, conn in next, getconnections(obj.Changed or {}) do
pcall(conn.Disconnect, conn)
end
pcall(obj.Destroy, obj)
end
end
end
end)

end

You might also like