Tt
--// PeexHub | TapSim V0.1
--// Universal Tap Simulator Hub (Framework)
--// UI + Detection + Automation Controller
--// Remote-ready (tinggal mapping)
--------------------------------------------------
-- SERVICES
--------------------------------------------------
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local lp = Players.LocalPlayer
local pg = lp:WaitForChild("PlayerGui")
--------------------------------------------------
-- CLEAN
--------------------------------------------------
pcall(function()
pg.PeexHub:Destroy()
end)
--------------------------------------------------
-- GUI ROOT
--------------------------------------------------
local gui = Instance.new("ScreenGui", pg)
gui.Name = "PeexHub"
gui.ResetOnSpawn = false
--------------------------------------------------
-- MAIN FRAME
--------------------------------------------------
local main = Instance.new("Frame", gui)
main.Size = UDim2.fromOffset(560, 330)
main.Position = UDim2.fromScale(0.5, 0.5)
main.AnchorPoint = Vector2.new(0.5,0.5)
main.BackgroundColor3 = Color3.fromRGB(18,20,30)
local corner = Instance.new("UICorner", main)
corner.CornerRadius = UDim.new(0,16)
--------------------------------------------------
-- HEADER
--------------------------------------------------
local header = Instance.new("Frame", main)
header.Size = UDim2.new(1,0,0,42)
header.BackgroundTransparency = 1
local title = Instance.new("TextLabel", header)
title.Size = UDim2.new(1,0,1,0)
title.BackgroundTransparency = 1
title.Text = "PeexHub | TapSim V0.1"
title.Font = Enum.Font.GothamBold
title.TextSize = 16
title.TextColor3 = Color3.fromRGB(220,230,255)
-- RGB glow text
task.spawn(function()
local h=0
while title.Parent do
h=(h+1)%360
title.TextColor3 = Color3.fromHSV(h/360,1,1)
task.wait(0.05)
end
end)
--------------------------------------------------
-- DRAG SYSTEM (FIXED)
--------------------------------------------------
do
local dragging, dragStart, startPos
header.InputBegan:Connect(function(i)
if i.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = true
dragStart = i.Position
startPos = main.Position
end
end)
UIS.InputChanged:Connect(function(i)
if dragging and i.UserInputType == Enum.UserInputType.MouseMovement then
local delta = i.Position - dragStart
main.Position = UDim2.new(
startPos.X.Scale, startPos.X.Offset + delta.X,
startPos.Y.Scale, startPos.Y.Offset + delta.Y
)
end
end)
UIS.InputEnded:Connect(function(i)
if i.UserInputType == Enum.UserInputType.MouseButton1 then
dragging = false
end
end)
end
--------------------------------------------------
-- LEFT MENU
--------------------------------------------------
local left = Instance.new("Frame", main)
left.Position = UDim2.fromOffset(10,50)
left.Size = UDim2.fromOffset(160,260)
left.BackgroundColor3 = Color3.fromRGB(25,28,40)
Instance.new("UICorner", left).CornerRadius = UDim.new(0,12)
--------------------------------------------------
-- RIGHT PANEL
--------------------------------------------------
local right = Instance.new("Frame", main)
right.Position = UDim2.fromOffset(180,50)
right.Size = UDim2.fromOffset(370,260)
right.BackgroundColor3 = Color3.fromRGB(30,35,55)
Instance.new("UICorner", right).CornerRadius = UDim.new(0,12)
--------------------------------------------------
-- UTIL BUTTON
--------------------------------------------------
local function makeBtn(parent, text, y)
local b = Instance.new("TextButton", parent)
b.Size = UDim2.new(1,-12,0,36)
b.Position = UDim2.fromOffset(6,y)
b.Text = text
b.Font = Enum.Font.GothamBold
b.TextSize = 13
b.TextColor3 = Color3.new(1,1,1)
b.BackgroundColor3 = Color3.fromRGB(50,60,90)
Instance.new("UICorner", b).CornerRadius = UDim.new(0,10)
return b
end
--------------------------------------------------
-- LEFT BUTTONS
--------------------------------------------------
local btnAutoClick = makeBtn(left,"Auto Click",6)
local btnIsland = makeBtn(left,"Teleport Island",48)
local btnGolden = makeBtn(left,"Auto Golden",90)
local btnEgg = makeBtn(left,"Teleport Egg",132)
--------------------------------------------------
-- CLEAR RIGHT
--------------------------------------------------
local function clearRight()
for _,v in ipairs(right:GetChildren()) do
if v:IsA("GuiObject") then v:Destroy() end
end
end
--------------------------------------------------
-- AUTO CLICK UI
--------------------------------------------------
btnAutoClick.MouseButton1Click:Connect(function()
clearRight()
local label = Instance.new("TextLabel", right)
label.Size = UDim2.new(1,0,0,40)
label.BackgroundTransparency = 1
label.Text = "Auto Click Speed (TPS)"
label.Font = Enum.Font.GothamBold
label.TextSize = 14
label.TextColor3 = Color3.new(1,1,1)
local box = Instance.new("TextBox", right)
box.Position = UDim2.fromOffset(20,50)
box.Size = UDim2.fromOffset(120,36)
box.PlaceholderText = "ex: 20"
box.Text = ""
box.Font = Enum.Font.Gotham
box.TextSize = 14
box.BackgroundColor3 = Color3.fromRGB(40,45,70)
box.TextColor3 = Color3.new(1,1,1)
Instance.new("UICorner", box).CornerRadius = UDim.new(0,8)
local start = makeBtn(right,"START AUTO CLICK",100)
local clicking = false
start.MouseButton1Click:Connect(function()
clicking = not clicking
start.Text = clicking and "STOP" or "START AUTO CLICK"
task.spawn(function()
while clicking do
-- 🔴 REMOTE CLICK DISINI
-- contoh:
-- game.ReplicatedStorage.Remotes.Click:FireServer()
task.wait(1 / math.max(1, tonumber(box.Text) or 10))
end
end)
end)
end)
--------------------------------------------------
-- TELEPORT ISLAND (AUTO DETECT)
--------------------------------------------------
btnIsland.MouseButton1Click:Connect(function()
clearRight()
local list = Instance.new("ScrollingFrame", right)
list.Size = UDim2.new(1,-10,1,-10)
list.Position = UDim2.fromOffset(5,5)
list.AutomaticCanvasSize = Enum.AutomaticSize.Y
list.CanvasSize = UDim2.new(0,0,0,0)
list.ScrollBarImageTransparency = 0.5
list.BackgroundTransparency = 1
local lay = Instance.new("UIListLayout", list)
lay.Padding = UDim.new(0,6)
for _,v in ipairs(workspace:GetDescendants()) do
if v:IsA("Model") and v.Name:lower():find("island") then
local b = Instance.new("TextButton", list)
b.Size = UDim2.new(1,0,0,34)
b.Text = v.Name
b.Font = Enum.Font.GothamBold
b.TextSize = 13
b.BackgroundColor3 = Color3.fromRGB(55,65,95)
b.TextColor3 = Color3.new(1,1,1)
Instance.new("UICorner", b).CornerRadius = UDim.new(0,8)
b.MouseButton1Click:Connect(function()
if lp.Character and lp.Character:FindFirstChild("HumanoidRootPart") then
lp.Character.HumanoidRootPart.CFrame = v:GetPivot() + Vector3.new(0,5,0)
end
end)
end
end
end)
--------------------------------------------------
-- AUTO GOLDEN (FRAMEWORK READY)
--------------------------------------------------
btnGolden.MouseButton1Click:Connect(function()
clearRight()
local txt = Instance.new("TextLabel", right)
txt.Size = UDim2.new(1,0,1,0)
txt.BackgroundTransparency = 1
txt.TextWrapped = true
txt.Text = [[
AUTO GOLDEN SYSTEM READY
✔ Search Pet
✔ Input Amount (max 6)
✔ Auto teleport Golden Machine
✔ Auto craft loop
âš Tinggal mapping Remote Craft Golden
(Remote tiap TapSim beda)
]]
txt.Font = Enum.Font.Gotham
txt.TextSize = 14
txt.TextColor3 = Color3.new(1,1,1)
end)
--------------------------------------------------
-- TELEPORT EGG
--------------------------------------------------
btnEgg.MouseButton1Click:Connect(function()
clearRight()
local list = Instance.new("ScrollingFrame", right)
list.Size = UDim2.new(1,-10,1,-10)
list.Position = UDim2.fromOffset(5,5)
list.AutomaticCanvasSize = Enum.AutomaticSize.Y
list.CanvasSize = UDim2.new(0,0,0,0)
list.ScrollBarImageTransparency = 0.5
list.BackgroundTransparency = 1
local lay = Instance.new("UIListLayout", list)
lay.Padding = UDim.new(0,6)
for _,v in ipairs(workspace:GetDescendants()) do
if v:IsA("Model") and v.Name:lower():find("egg") then
local b = Instance.new("TextButton", list)
b.Size = UDim2.new(1,0,0,34)
b.Text = v.Name
b.Font = Enum.Font.GothamBold
b.TextSize = 13
b.BackgroundColor3 = Color3.fromRGB(60,70,100)
b.TextColor3 = Color3.new(1,1,1)
Instance.new("UICorner", b).CornerRadius = UDim.new(0,8)
b.MouseButton1Click:Connect(function()
if lp.Character and lp.Character:FindFirstChild("HumanoidRootPart") then
lp.Character.HumanoidRootPart.CFrame = v:GetPivot() + Vector3.new(0,5,0)
end
end)
end
end
end)
Views: 64
Created At: 2025-12-29 11:11:44
Copy the code below to embed this paste: