Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --// Eps1llon Hub | Key System
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
- gui.Name = "Eps1llonBeta"
- gui.ResetOnSpawn = false
- -- Main Key Frame
- local keyFrame = Instance.new("Frame", gui)
- keyFrame.Size = UDim2.new(0, 350, 0, 180)
- keyFrame.Position = UDim2.new(0.5, -175, 0.5, -90)
- keyFrame.BackgroundColor3 = Color3.fromRGB(22,24,32)
- keyFrame.Active = true
- keyFrame.Draggable = true
- Instance.new("UICorner", keyFrame).CornerRadius = UDim.new(0, 10)
- -- Title
- local keyTitle = Instance.new("TextLabel", keyFrame)
- keyTitle.Size = UDim2.new(1, 0, 0, 44)
- keyTitle.Position = UDim2.new(0, 0, 0, 6)
- keyTitle.Text = "Eps1llon Hub | Key System"
- keyTitle.Font = Enum.Font.GothamBold
- keyTitle.TextSize = 22
- keyTitle.TextColor3 = Color3.new(1,1,1)
- keyTitle.BackgroundTransparency = 1
- -- Click to Copy Link Button (centered)
- local copyBtn = Instance.new("TextButton", keyFrame)
- copyBtn.Size = UDim2.new(0, 160, 0, 32)
- copyBtn.Position = UDim2.new(0.5, -80, 0, 52)
- copyBtn.Text = "Click to Copy Link"
- copyBtn.Font = Enum.Font.Gotham
- copyBtn.TextSize = 15
- copyBtn.TextColor3 = Color3.new(1,1,1)
- copyBtn.BackgroundColor3 = Color3.fromRGB(31, 81, 138)
- copyBtn.BorderSizePixel = 0
- Instance.new("UICorner", copyBtn).CornerRadius = UDim.new(1,0)
- copyBtn.MouseButton1Click:Connect(function()
- setclipboard("https://discord.gg/PBh66R5h")
- copyBtn.Text = "Copied!"
- wait(1.1)
- copyBtn.Text = "Click to Copy Link"
- end)
- -- Key input
- local inputBox = Instance.new("TextBox", keyFrame)
- inputBox.Size = UDim2.new(1, -100, 0, 36)
- inputBox.Position = UDim2.new(0, 50, 0, 105)
- inputBox.PlaceholderText = "Enter Key Here"
- inputBox.Font = Enum.Font.GothamBold
- inputBox.TextSize = 18
- inputBox.TextColor3 = Color3.fromRGB(230,230,230)
- inputBox.BackgroundColor3 = Color3.fromRGB(40,40,70)
- inputBox.Text = ""
- inputBox.BorderSizePixel = 0
- Instance.new("UICorner", inputBox).CornerRadius = UDim.new(0, 8)
- -- Unlock button (smaller)
- local unlockBtn = Instance.new("TextButton", keyFrame)
- unlockBtn.Size = UDim2.new(0, 90, 0, 26)
- unlockBtn.Position = UDim2.new(0.5, -45, 0, 148)
- unlockBtn.Text = "Unlock"
- unlockBtn.Font = Enum.Font.GothamBold
- unlockBtn.TextSize = 15
- unlockBtn.TextColor3 = Color3.new(1,1,1)
- unlockBtn.BackgroundColor3 = Color3.fromRGB(36,139,84)
- unlockBtn.BorderSizePixel = 0
- Instance.new("UICorner", unlockBtn).CornerRadius = UDim.new(1,0)
- -- Error label
- local wrongLabel = Instance.new("TextLabel", keyFrame)
- wrongLabel.Size = UDim2.new(1, 0, 0, 20)
- wrongLabel.Position = UDim2.new(0, 0, 0, 134)
- wrongLabel.Text = ""
- wrongLabel.Font = Enum.Font.Gotham
- wrongLabel.TextSize = 15
- wrongLabel.TextColor3 = Color3.fromRGB(255, 60, 60)
- wrongLabel.BackgroundTransparency = 1
- local KEY = "Eps1llonBeta"
- local function notify(title, text)
- pcall(function()
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = title;
- Text = text;
- Duration = 3,
- })
- end)
- end
- unlockBtn.MouseButton1Click:Connect(function()
- if inputBox.Text == KEY then
- keyFrame.Visible = false
- gui.Enabled = false
- wait(0.08)
- gui.Enabled = true
- keyFrame:Destroy()
- -- ==== BEGIN FULL GUI ====
- local RunService = game:GetService("RunService")
- local TweenService = game:GetService("TweenService")
- local UserInput = game:GetService("UserInputService")
- local StarterGui = game:GetService("StarterGui")
- local Players = game:GetService("Players")
- local player = Players.LocalPlayer
- local camera = workspace.CurrentCamera
- local espSettings = { Name=false, HP=false, Armor=false, Distance=false,
- Team=false, Age=false, Holding=false, Highlight=false }
- local espObjects = {}
- local grabtoolsEnabled
- local grabtoolsConnection
- local targetToolNames = {}
- local function parseToolNames(str)
- local t = {}
- for name in str:gmatch("([^,]+)") do
- name = name:match("^%s*(.-)%s*$")
- if #name > 0 then table.insert(t, name) end
- end
- return t
- end
- local function shouldPickupTool(toolName)
- if #targetToolNames == 0 then return true end
- toolName = toolName:lower()
- for _, v in ipairs(targetToolNames) do
- if toolName == v:lower() then return true end
- end
- return false
- end
- local function equipTools()
- if not player.Character then return end
- local hum = player.Character:FindFirstChildOfClass("Humanoid")
- if not hum then return end
- for _, obj in ipairs(workspace:GetChildren()) do
- if obj:IsA("Tool") and obj:FindFirstChild("Handle") and shouldPickupTool(obj.Name) then
- hum:EquipTool(obj)
- end
- end
- end
- local function enableGrabtools()
- if grabtoolsEnabled then return end
- grabtoolsEnabled = true
- equipTools()
- grabtoolsConnection = workspace.ChildAdded:Connect(function(child)
- if child:IsA("Tool") and child:FindFirstChild("Handle") and shouldPickupTool(child.Name) then
- wait(0.1)
- local hum = player.Character and player.Character:FindFirstChildOfClass("Humanoid")
- if hum then hum:EquipTool(child) end
- end
- end)
- notify("Grabtools", "Enabled – picking up: " ..
- (#targetToolNames>0 and table.concat(targetToolNames, ", ") or "all tools"))
- end
- local function disableGrabtools()
- if not grabtoolsEnabled then return end
- grabtoolsEnabled = false
- if grabtoolsConnection then grabtoolsConnection:Disconnect() end
- notify("Grabtools", "Disabled")
- end
- local function notify(title, text)
- pcall(function()
- StarterGui:SetCore("SendNotification", {
- Title = title;
- Text = text;
- Duration = 3,
- })
- end)
- end
- -- MAIN GUI
- local mainFrame = Instance.new("Frame", gui)
- mainFrame.Size = UDim2.new(0, 650, 0, 340)
- mainFrame.Position = UDim2.new(0.5, -325, 0.5, -170)
- mainFrame.BackgroundColor3 = Color3.fromRGB(25,25,25)
- mainFrame.BackgroundTransparency = 0.1
- mainFrame.Active = true
- mainFrame.Draggable = true
- Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0,8)
- local uiScale = Instance.new("UIScale", mainFrame); uiScale.Scale = 1
- local header = Instance.new("Frame", mainFrame)
- header.Size = UDim2.new(1, -20, 0, 30)
- header.Position = UDim2.new(0, 10, 0, 0)
- header.BackgroundTransparency = 1
- local title = Instance.new("TextLabel", header)
- title.Size = UDim2.new(1, -80, 1, 0)
- title.Position = UDim2.new(0, 0, 0, 0)
- title.Text = "Eps1llon Hub || Beta"
- title.Font = Enum.Font.GothamBold
- title.TextSize = 16
- title.TextColor3 = Color3.new(1,1,1)
- title.BackgroundTransparency = 1
- title.TextXAlignment = Enum.TextXAlignment.Left
- local underline = Instance.new("Frame", mainFrame)
- underline.Size = UDim2.new(1, -20, 0, 2)
- underline.Position = UDim2.new(0, 10, 0, 30)
- underline.BackgroundColor3 = Color3.fromRGB(31,81,138)
- underline.BorderSizePixel = 0
- local closeBtn = Instance.new("TextButton", header)
- closeBtn.Size = UDim2.new(0,25,0,25)
- closeBtn.Position = UDim2.new(1, -25, 0, 2)
- closeBtn.Text = "X"
- closeBtn.Font = Enum.Font.GothamBold
- closeBtn.TextSize = 16
- closeBtn.TextColor3 = Color3.new(1,1,1)
- closeBtn.BackgroundTransparency = 1
- closeBtn.BorderSizePixel = 0
- closeBtn.MouseButton1Click:Connect(function() gui:Destroy() end)
- local minimizeBtn = Instance.new("TextButton", header)
- minimizeBtn.Size = UDim2.new(0,25,0,25)
- minimizeBtn.Position = UDim2.new(1, -55, 0, 2)
- minimizeBtn.Text = "–"
- minimizeBtn.Font = Enum.Font.GothamBold
- minimizeBtn.TextSize = 18
- minimizeBtn.TextColor3 = Color3.new(1,1,1)
- minimizeBtn.BackgroundTransparency = 1
- minimizeBtn.BorderSizePixel = 0
- local restoreBtn = Instance.new("TextButton", gui)
- restoreBtn.Name = "Eps1llonMini"
- restoreBtn.Size = UDim2.new(0,50,0,50)
- restoreBtn.Position = UDim2.new(0,0,0,0)
- restoreBtn.Text = "ES"
- restoreBtn.Font = Enum.Font.GothamBold
- restoreBtn.TextSize = 20
- restoreBtn.TextColor3 = Color3.new(1,1,1)
- restoreBtn.BackgroundColor3 = Color3.fromRGB(25,25,25)
- restoreBtn.BorderSizePixel = 0
- restoreBtn.Visible = false
- Instance.new("UICorner", restoreBtn).CornerRadius = UDim.new(1,0)
- RunService.RenderStepped:Once(function()
- local p, s = mainFrame.AbsolutePosition, mainFrame.AbsoluteSize
- restoreBtn.Position = UDim2.new(0,
- p.X + s.X/2 - 25,
- 0,
- p.Y + s.Y/2 - 25
- )
- end)
- do
- local dragging, dragInput, dragStart, startPos
- restoreBtn.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- dragging = true
- dragStart = input.Position
- startPos = restoreBtn.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- restoreBtn.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement then
- dragInput = input
- end
- end)
- UserInput.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- local delta = input.Position - dragStart
- restoreBtn.Position = UDim2.new(
- startPos.X.Scale, startPos.X.Offset + delta.X,
- startPos.Y.Scale, startPos.Y.Offset + delta.Y
- )
- end
- end)
- end
- minimizeBtn.MouseButton1Click:Connect(function()
- mainFrame.Visible = false
- minimizeBtn.Visible = false
- closeBtn.Visible = false
- restoreBtn.Visible = true
- end)
- restoreBtn.MouseButton1Click:Connect(function()
- mainFrame.Visible = true
- minimizeBtn.Visible = true
- closeBtn.Visible = true
- restoreBtn.Visible = false
- end)
- local sidebar = Instance.new("Frame", mainFrame)
- sidebar.Size = UDim2.new(0,140,0,260)
- sidebar.Position = UDim2.new(0,10,0,50)
- sidebar.BackgroundColor3 = Color3.fromRGB(30,30,30)
- sidebar.BackgroundTransparency = 0.1
- Instance.new("UICorner", sidebar).CornerRadius = UDim.new(0,6)
- Instance.new("UIStroke", sidebar).Color = Color3.fromRGB(31,81,138)
- local content = Instance.new("Frame", mainFrame)
- content.Size = UDim2.new(0,480,0,260)
- content.Position = UDim2.new(0,160,0,50)
- content.BackgroundColor3 = Color3.fromRGB(40,40,40)
- content.BackgroundTransparency = 0.7
- Instance.new("UICorner", content).CornerRadius = UDim.new(0,6)
- Instance.new("UIStroke", content).Color = Color3.fromRGB(31,81,138)
- local sections, tabButtons = {}, {}
- local tabNames = {"Configuration","ESP","Inventory","Fun","UI Settings"}
- for i, name in ipairs(tabNames) do
- local sec = Instance.new("Frame", content)
- sec.Name = name
- sec.Size = UDim2.new(1,0,1,0)
- sec.BackgroundTransparency = 1
- sec.Visible = false
- sections[name] = sec
- local btn = Instance.new("TextButton", sidebar)
- btn.Size = UDim2.new(1,0,0,30)
- btn.Position = UDim2.new(0,0,0,10 + (i-1)*35)
- btn.Text = " "..name
- btn.Font = Enum.Font.Gotham
- btn.TextSize = 14
- btn.TextColor3 = Color3.new(1,1,1)
- btn.BackgroundTransparency = 1
- btn.TextXAlignment = Enum.TextXAlignment.Left
- tabButtons[name] = btn
- btn.MouseEnter:Connect(function()
- if not sections[name].Visible then
- btn.BackgroundTransparency = 0.7
- btn.BackgroundColor3 = Color3.fromRGB(31,81,138)
- end
- end)
- btn.MouseLeave:Connect(function()
- if not sections[name].Visible then
- btn.BackgroundTransparency = 1
- end
- end)
- btn.MouseButton1Click:Connect(function()
- for t,b in pairs(tabButtons) do
- sections[t].Visible = false
- b.BackgroundTransparency = 1
- end
- sections[name].Visible = true
- btn.BackgroundTransparency = 0
- btn.BackgroundColor3 = Color3.fromRGB(31,81,138)
- end)
- end
- sections["Configuration"].Visible = true
- tabButtons["Configuration"].BackgroundTransparency = 0
- tabButtons["Configuration"].BackgroundColor3 = Color3.fromRGB(31,81,138)
- UserInput.InputBegan:Connect(function(inp, gp)
- if not gp and inp.KeyCode == Enum.KeyCode.Insert then
- local vis = not mainFrame.Visible
- mainFrame.Visible = vis
- local bgT = vis and 0.1 or 1
- local scT = vis and 1 or 0.8
- local pos = vis
- and UDim2.new(0.5,-325,0.5,-170)
- or UDim2.new(0.5,-325,0.5,-210)
- TweenService:Create(mainFrame, TweenInfo.new(0.5,Enum.EasingStyle.Back), {
- BackgroundTransparency = bgT,
- Position = pos
- }):Play()
- TweenService:Create(uiScale, TweenInfo.new(0.4), { Scale = scT }):Play()
- end
- end)
- -- ESP Tab
- do
- local espTab = sections["ESP"]
- local names = {
- "Name","HP","Armor","Distance",
- "Team","Age","Holding","Highlight",
- }
- local perCol, startX, startY, colSpacing, rowSpacing = 4, 40, 20, 220, 35
- for idx, name in ipairs(names) do
- local col = math.floor((idx-1)/perCol)
- local row = (idx-1) % perCol
- local holder = Instance.new("Frame", espTab)
- holder.Size = UDim2.new(0,200,0,30)
- holder.Position = UDim2.new(0, startX + col*colSpacing, 0, startY + row*rowSpacing)
- holder.BackgroundTransparency = 1
- local sw = Instance.new("TextButton", holder)
- sw.Size = UDim2.new(0,40,0,20)
- sw.Position = UDim2.new(0,0,0,5)
- sw.BackgroundColor3 = Color3.fromRGB(200,225,255)
- sw.AutoButtonColor = false
- sw.Text = ""
- sw.BorderSizePixel = 0
- Instance.new("UICorner", sw).CornerRadius = UDim.new(1,0)
- local circ = Instance.new("Frame", sw)
- circ.Size = UDim2.new(0,16,0,16)
- circ.Position = UDim2.new(0,2,0,2)
- circ.BackgroundColor3 = Color3.new(1,1,1)
- circ.BorderSizePixel = 0
- Instance.new("UICorner", circ).CornerRadius = UDim.new(1,0)
- local lbl = Instance.new("TextLabel", holder)
- lbl.Size = UDim2.new(0,120,1,0)
- lbl.Position = UDim2.new(0,48,0,0)
- lbl.Text = name
- lbl.Font = Enum.Font.Gotham
- lbl.TextSize = 14
- lbl.TextColor3 = Color3.new(1,1,1)
- lbl.BackgroundTransparency = 1
- lbl.TextXAlignment = Enum.TextXAlignment.Left
- sw.MouseButton1Click:Connect(function()
- espSettings[name] = not espSettings[name]
- if espSettings[name] then
- sw.BackgroundColor3 = Color3.fromRGB(31,81,138)
- circ:TweenPosition(UDim2.new(1,-18,0,2),"Out","Quad",0.2,true)
- else
- sw.BackgroundColor3 = Color3.fromRGB(200,225,255)
- circ:TweenPosition(UDim2.new(0,2,0,2),"Out","Quad",0.2,true)
- end
- end)
- end
- end
- -- Inventory Tab (unchanged)
- do
- local inv = sections["Inventory"]
- -- Title
- local invTitle = Instance.new("TextLabel", inv)
- invTitle.Size = UDim2.new(1,0,0,24)
- invTitle.Position = UDim2.new(0,0,0,8)
- invTitle.Text = "Selective Grabtools"
- invTitle.Font = Enum.Font.GothamBold
- invTitle.TextSize = 18
- invTitle.TextColor3 = Color3.new(1,1,1)
- invTitle.BackgroundTransparency = 1
- invTitle.TextXAlignment = Enum.TextXAlignment.Left
- -- Input label & box
- local lbl = Instance.new("TextLabel", inv)
- lbl.Size = UDim2.new(1,-20,0,18)
- lbl.Position = UDim2.new(0,10,0,40)
- lbl.Text = "Tool Names (comma-separated):"
- lbl.Font = Enum.Font.SourceSans
- lbl.TextSize = 14
- lbl.TextColor3 = Color3.fromRGB(200,200,200)
- lbl.BackgroundTransparency = 1
- lbl.TextXAlignment = Enum.TextXAlignment.Left
- local txt = Instance.new("TextBox", inv)
- txt.Size = UDim2.new(1,-20,0,24)
- txt.Position = UDim2.new(0,10,0,60)
- txt.PlaceholderText = "e.g. Spear, Stick"
- txt.Font = Enum.Font.SourceSans
- txt.TextSize = 14
- txt.TextColor3 = Color3.new(1,1,1)
- txt.BackgroundColor3 = Color3.fromRGB(35,35,35)
- txt.BorderSizePixel = 0
- Instance.new("UICorner", txt).CornerRadius = UDim.new(0,4)
- -- Buttons & status
- local btnUpd = Instance.new("TextButton", inv)
- btnUpd.Size = UDim2.new(0,120,0,24)
- btnUpd.Position = UDim2.new(0,10,0,94)
- btnUpd.Text = "Update Targets"
- btnUpd.Font = Enum.Font.SourceSansBold
- btnUpd.TextSize = 14
- btnUpd.TextColor3 = Color3.new(1,1,1)
- btnUpd.BackgroundColor3 = Color3.fromRGB(70,130,180)
- btnUpd.BorderSizePixel = 0
- Instance.new("UICorner", btnUpd).CornerRadius = UDim.new(0,4)
- local btnEn = Instance.new("TextButton", inv)
- btnEn.Size = UDim2.new(0,60,0,24)
- btnEn.Position = UDim2.new(0,140,0,94)
- btnEn.Text = "Enable"
- btnEn.Font = Enum.Font.SourceSansBold
- btnEn.TextSize = 14
- btnEn.TextColor3 = Color3.new(1,1,1)
- btnEn.BackgroundColor3 = Color3.fromRGB(34,139,34)
- btnEn.BorderSizePixel = 0
- Instance.new("UICorner", btnEn).CornerRadius = UDim.new(0,4)
- local btnDi = Instance.new("TextButton", inv)
- btnDi.Size = UDim2.new(0,60,0,24)
- btnDi.Position = UDim2.new(0,210,0,94)
- btnDi.Text = "Disable"
- btnDi.Font = Enum.Font.SourceSansBold
- btnDi.TextSize = 14
- btnDi.TextColor3 = Color3.new(1,1,1)
- btnDi.BackgroundColor3 = Color3.fromRGB(220,20,60)
- btnDi.BorderSizePixel = 0
- Instance.new("UICorner", btnDi).CornerRadius = UDim.new(0,4)
- local status = Instance.new("TextLabel", inv)
- status.Size = UDim2.new(0,80,0,24)
- status.Position = UDim2.new(0,280,0,94)
- status.Text = "Disabled"
- status.Font = Enum.Font.SourceSansBold
- status.TextSize = 14
- status.TextColor3 = Color3.fromRGB(220,20,60)
- status.BackgroundTransparency = 1
- status.TextXAlignment = Enum.TextXAlignment.Left
- -- Available items list
- local listFrame = Instance.new("ScrollingFrame", inv)
- listFrame.Size = UDim2.new(1,-20,0,80)
- listFrame.Position = UDim2.new(0,10,0,130)
- listFrame.CanvasSize = UDim2.new(0,0,0,0)
- listFrame.ScrollBarThickness = 6
- listFrame.BackgroundColor3 = Color3.fromRGB(40,40,40)
- listFrame.BorderSizePixel = 0
- Instance.new("UICorner", listFrame).CornerRadius = UDim.new(0,4)
- local layout = Instance.new("UIListLayout", listFrame)
- layout.Padding = UDim.new(0,4)
- layout.SortOrder = Enum.SortOrder.Name
- local function updateItemList()
- for _, c in ipairs(listFrame:GetChildren()) do
- if c:IsA("TextLabel") then c:Destroy() end
- end
- local counts, total = {}, 0
- for _, obj in ipairs(workspace:GetChildren()) do
- if obj:IsA("Tool") and obj:FindFirstChild("Handle") then
- counts[obj.Name] = (counts[obj.Name] or 0) + 1
- total += 1
- end
- end
- local header = Instance.new("TextLabel", listFrame)
- header.Size = UDim2.new(1,0,0,18)
- header.Text = "Total: "..total
- header.Font = Enum.Font.SourceSansBold
- header.TextSize = 14
- header.TextColor3 = Color3.fromRGB(100,200,255)
- header.BackgroundTransparency = 1
- header.TextXAlignment = Enum.TextXAlignment.Left
- for name, cnt in pairs(counts) do
- local lbl = Instance.new("TextLabel", listFrame)
- lbl.Size = UDim2.new(1,0,0,16)
- lbl.Text = name.." ×"..cnt
- lbl.Font = Enum.Font.SourceSans
- lbl.TextSize = 14
- lbl.TextColor3 = Color3.fromRGB(220,220,220)
- lbl.BackgroundTransparency = 1
- lbl.TextXAlignment = Enum.TextXAlignment.Left
- end
- listFrame.CanvasSize = UDim2.new(0,0,0,#listFrame:GetChildren()*22)
- end
- -- Wire up
- txt.FocusLost:Connect(function(enter)
- if enter then
- targetToolNames = parseToolNames(txt.Text)
- notify("Grabtools","Targets: "..((#targetToolNames>0 and table.concat(targetToolNames,", ")) or "all"))
- updateItemList()
- end
- end)
- btnUpd.MouseButton1Click:Connect(function()
- targetToolNames = parseToolNames(txt.Text)
- notify("Grabtools","Targets: "..((#targetToolNames>0 and table.concat(targetToolNames,", ")) or "all"))
- updateItemList()
- end)
- btnEn.MouseButton1Click:Connect(function()
- enableGrabtools()
- status.Text, status.TextColor3 = "Enabled", Color3.fromRGB(34,139,34)
- updateItemList()
- end)
- btnDi.MouseButton1Click:Connect(function()
- disableGrabtools()
- status.Text, status.TextColor3 = "Disabled", Color3.fromRGB(220,20,60)
- updateItemList()
- end)
- player.CharacterAdded:Connect(function()
- if grabtoolsEnabled then wait(1); equipTools() end
- updateItemList()
- end)
- updateItemList()
- end
- -- FUN TAB
- do
- local funTab = sections["Fun"]
- local y = 20
- -- Kill the Carrier toggle
- local label1 = Instance.new("TextLabel", funTab)
- label1.Size = UDim2.new(0, 160, 0, 28)
- label1.Position = UDim2.new(0, 30, 0, y)
- label1.Text = "Kill the Carrier"
- label1.Font = Enum.Font.GothamBold
- label1.TextSize = 16
- label1.TextColor3 = Color3.new(1,1,1)
- label1.BackgroundTransparency = 1
- label1.TextXAlignment = Enum.TextXAlignment.Left
- local toggle1 = Instance.new("TextButton", funTab)
- toggle1.Size = UDim2.new(0, 42, 0, 24)
- toggle1.Position = UDim2.new(0, 200, 0, y + 4)
- toggle1.Text = ""
- toggle1.Font = Enum.Font.GothamBold
- toggle1.TextSize = 14
- toggle1.TextColor3 = Color3.new(1,1,1)
- toggle1.BackgroundColor3 = Color3.fromRGB(200,225,255)
- toggle1.BorderSizePixel = 0
- Instance.new("UICorner", toggle1).CornerRadius = UDim.new(1,0)
- local circ1 = Instance.new("Frame", toggle1)
- circ1.Size = UDim2.new(0,16,0,16)
- circ1.Position = UDim2.new(0,2,0,4)
- circ1.BackgroundColor3 = Color3.new(1,1,1)
- circ1.BorderSizePixel = 0
- Instance.new("UICorner", circ1).CornerRadius = UDim.new(1,0)
- local killCarrierToggled = false
- toggle1.MouseButton1Click:Connect(function()
- if not killCarrierToggled then
- killCarrierToggled = true
- toggle1.BackgroundColor3 = Color3.fromRGB(31,81,138)
- circ1:TweenPosition(UDim2.new(1,-18,0,4),"Out","Quad",0.2,true)
- local Player = game.Players.LocalPlayer
- local Old = Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") and Player.Character.HumanoidRootPart.CFrame
- local humanoid = Player.Character and Player.Character:FindFirstChildWhichIsA("Humanoid")
- if _G.replicatesignal then
- _G.replicatesignal(Player.Kill)
- elseif humanoid then
- humanoid:ChangeState(Enum.HumanoidStateType.Dead)
- else
- Player.Character:BreakJoints()
- end
- Player.CharacterAdded:Wait()
- for i = 1, 20 do
- game:GetService("RunService").Heartbeat:Wait()
- if Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") then
- Player.Character.HumanoidRootPart.CFrame = Old
- end
- end
- notify("Fun", "Kill the Carrier action executed!")
- killCarrierToggled = false
- toggle1.BackgroundColor3 = Color3.fromRGB(200,225,255)
- circ1:TweenPosition(UDim2.new(0,2,0,4),"Out","Quad",0.2,true)
- end
- end)
- y = y + 50
- -- Instant Pickup toggle
- local label2 = Instance.new("TextLabel", funTab)
- label2.Size = UDim2.new(0, 160, 0, 28)
- label2.Position = UDim2.new(0, 30, 0, y)
- label2.Text = "Instant Pickup"
- label2.Font = Enum.Font.GothamBold
- label2.TextSize = 16
- label2.TextColor3 = Color3.new(1,1,1)
- label2.BackgroundTransparency = 1
- label2.TextXAlignment = Enum.TextXAlignment.Left
- local toggle2 = Instance.new("TextButton", funTab)
- toggle2.Size = UDim2.new(0, 42, 0, 24)
- toggle2.Position = UDim2.new(0, 200, 0, y + 4)
- toggle2.Text = ""
- toggle2.Font = Enum.Font.GothamBold
- toggle2.TextSize = 14
- toggle2.TextColor3 = Color3.new(1,1,1)
- toggle2.BackgroundColor3 = Color3.fromRGB(200,225,255)
- toggle2.BorderSizePixel = 0
- Instance.new("UICorner", toggle2).CornerRadius = UDim.new(1,0)
- local circ2 = Instance.new("Frame", toggle2)
- circ2.Size = UDim2.new(0,16,0,16)
- circ2.Position = UDim2.new(0,2,0,4)
- circ2.BackgroundColor3 = Color3.new(1,1,1)
- circ2.BorderSizePixel = 0
- Instance.new("UICorner", circ2).CornerRadius = UDim.new(1,0)
- local instantPickupEnabled = false
- local function setInstantPickup(state)
- for _,v in ipairs(workspace:GetDescendants()) do
- if v:IsA("ProximityPrompt") then
- if state then
- v.HoldDuration = 0.01
- else
- v.HoldDuration = 0.5
- end
- end
- end
- end
- toggle2.MouseButton1Click:Connect(function()
- instantPickupEnabled = not instantPickupEnabled
- if instantPickupEnabled then
- toggle2.BackgroundColor3 = Color3.fromRGB(31,81,138)
- circ2:TweenPosition(UDim2.new(1,-18,0,4),"Out","Quad",0.2,true)
- setInstantPickup(true)
- notify("Fun", "Instant Pickup enabled!")
- else
- toggle2.BackgroundColor3 = Color3.fromRGB(200,225,255)
- circ2:TweenPosition(UDim2.new(0,2,0,4),"Out","Quad",0.2,true)
- setInstantPickup(false)
- notify("Fun", "Instant Pickup disabled!")
- end
- end)
- y = y + 50
- -- Plant Sapling At Feet button
- local btnPlantFeet = Instance.new("TextButton", funTab)
- btnPlantFeet.Size = UDim2.new(0, 280, 0, 30)
- btnPlantFeet.Position = UDim2.new(0, 30, 0, y)
- btnPlantFeet.Text = "Plant Sapling At Feet (must have sapling in hand)"
- btnPlantFeet.Font = Enum.Font.GothamBold
- btnPlantFeet.TextSize = 15
- btnPlantFeet.TextColor3 = Color3.new(1,1,1)
- btnPlantFeet.BackgroundColor3 = Color3.fromRGB(80,150,60)
- btnPlantFeet.BorderSizePixel = 0
- Instance.new("UICorner", btnPlantFeet).CornerRadius = UDim.new(1,0)
- btnPlantFeet.MouseButton1Click:Connect(function()
- local char = game.Players.LocalPlayer.Character
- if char and char:FindFirstChild("HumanoidRootPart") then
- local pos = char.HumanoidRootPart.Position
- local cframe = CFrame.new(pos.X, pos.Y - 3, pos.Z)
- local args = {
- [1] = "Sapling",
- [2] = cframe,
- [3] = cframe,
- }
- game:GetService("ReplicatedStorage"):WaitForChild("Deploy", 9e9):InvokeServer(unpack(args))
- notify("Fun", "Sapling planted at your feet!")
- else
- notify("Fun", "Character not found!")
- end
- end)
- y = y + 50
- -- Plant Sapling at Mouse toggle + set keybind
- local labelMouse = Instance.new("TextLabel", funTab)
- labelMouse.Size = UDim2.new(0, 170, 0, 28)
- labelMouse.Position = UDim2.new(0, 30, 0, y)
- labelMouse.Text = "Plant Sapling At Mouse"
- labelMouse.Font = Enum.Font.GothamBold
- labelMouse.TextSize = 16
- labelMouse.TextColor3 = Color3.new(1,1,1)
- labelMouse.BackgroundTransparency = 1
- labelMouse.TextXAlignment = Enum.TextXAlignment.Left
- local toggleMouse = Instance.new("TextButton", funTab)
- toggleMouse.Size = UDim2.new(0, 42, 0, 24)
- toggleMouse.Position = UDim2.new(0, 210, 0, y + 4)
- toggleMouse.Text = ""
- toggleMouse.Font = Enum.Font.GothamBold
- toggleMouse.TextSize = 14
- toggleMouse.TextColor3 = Color3.new(1,1,1)
- toggleMouse.BackgroundColor3 = Color3.fromRGB(200,225,255)
- toggleMouse.BorderSizePixel = 0
- Instance.new("UICorner", toggleMouse).CornerRadius = UDim.new(1,0)
- local circMouse = Instance.new("Frame", toggleMouse)
- circMouse.Size = UDim2.new(0,16,0,16)
- circMouse.Position = UDim2.new(0,2,0,4)
- circMouse.BackgroundColor3 = Color3.new(1,1,1)
- circMouse.BorderSizePixel = 0
- Instance.new("UICorner", circMouse).CornerRadius = UDim.new(1,0)
- local plantAtMouseEnabled = false
- local plantCooldown = false
- local plantKey = Enum.KeyCode.V
- local mouse = player:GetMouse()
- UserInput.InputBegan:Connect(function(input, gameProcessed)
- if plantAtMouseEnabled and not gameProcessed and input.KeyCode == plantKey and not plantCooldown then
- plantCooldown = true
- if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
- local pos = mouse.Hit.Position
- local cframe = CFrame.new(pos.X, pos.Y - 3, pos.Z)
- local args = {
- [1] = "Sapling",
- [2] = cframe,
- [3] = cframe,
- }
- local success, err = pcall(function()
- game:GetService("ReplicatedStorage"):WaitForChild("Deploy", 9e9):InvokeServer(unpack(args))
- end)
- if success then
- notify("Fun", "Sapling planted at mouse!")
- else
- notify("Fun", "Failed to plant sapling!")
- end
- end
- wait(1)
- plantCooldown = false
- end
- end)
- toggleMouse.MouseButton1Click:Connect(function()
- plantAtMouseEnabled = not plantAtMouseEnabled
- if plantAtMouseEnabled then
- toggleMouse.BackgroundColor3 = Color3.fromRGB(31,81,138)
- circMouse:TweenPosition(UDim2.new(1,-18,0,4),"Out","Quad",0.2,true)
- notify("Fun", "Plant Sapling at Mouse enabled!\nPress "..plantKey.Name.." to plant.")
- else
- toggleMouse.BackgroundColor3 = Color3.fromRGB(200,225,255)
- circMouse:TweenPosition(UDim2.new(0,2,0,4),"Out","Quad",0.2,true)
- notify("Fun", "Plant Sapling at Mouse disabled!")
- end
- end)
- y = y + 50
- local setKeyBtn = Instance.new("TextButton", funTab)
- setKeyBtn.Size = UDim2.new(0, 280, 0, 28)
- setKeyBtn.Position = UDim2.new(0, 30, 0, y)
- setKeyBtn.Text = "Set Keybind: "..plantKey.Name
- setKeyBtn.Font = Enum.Font.GothamBold
- setKeyBtn.TextSize = 15
- setKeyBtn.TextColor3 = Color3.new(1,1,1)
- setKeyBtn.BackgroundColor3 = Color3.fromRGB(31,81,138)
- setKeyBtn.BorderSizePixel = 0
- Instance.new("UICorner", setKeyBtn).CornerRadius = UDim.new(1,0)
- setKeyBtn.MouseButton1Click:Connect(function()
- notify("Fun", "Press any key to set as Plant Sapling Keybind...")
- local conn
- conn = UserInput.InputBegan:Connect(function(input, gp)
- if not gp and input.UserInputType == Enum.UserInputType.Keyboard then
- plantKey = input.KeyCode
- setKeyBtn.Text = "Set Keybind: "..plantKey.Name
- notify("Fun", "Plant Sapling Keybind set to "..plantKey.Name)
- conn:Disconnect()
- end
- end)
- end)
- end
- -- UI Settings tab can be empty or extended
- -- ESP Rendering Loop
- local function getArmor(prot)
- if prot:IsA("IntValue") or prot:IsA("NumberValue") then return prot.Value end
- if prot:IsA("Folder") or prot:IsA("Model") then
- local a = prot:FindFirstChild("Armor")
- if a and a:IsA("IntValue") then return a.Value end
- for _,v in ipairs(prot:GetChildren()) do
- if v:IsA("IntValue") then return v.Value end
- end
- end
- return nil
- end
- local function clearESP()
- for _, d in pairs(espObjects) do
- for _, o in pairs(d) do if o and o.Remove then o:Remove() end end
- end
- table.clear(espObjects)
- end
- RunService.RenderStepped:Connect(function()
- clearESP()
- for _, pl in ipairs(Players:GetPlayers()) do
- if pl~=player and pl.Character then
- local char = pl.Character
- local hrp = char:FindFirstChild("HumanoidRootPart")
- local head = char:FindFirstChild("Head")
- local hum = char:FindFirstChildOfClass("Humanoid")
- if hrp and head and hum and hum.Health>0 then
- local pos,on = camera:WorldToViewportPoint(head.Position + Vector3.new(0,0.3,0))
- if not on then continue end
- local hl = char:FindFirstChild("ESP_Highlight")
- if espSettings.Highlight then
- if not hl then
- hl = Instance.new("Highlight", char)
- hl.Name = "ESP_Highlight"
- hl.Adornee = char
- hl.FillTransparency = 0.5
- hl.OutlineColor = Color3.new(1,1,1)
- hl.OutlineTransparency = 0
- end
- hl.FillColor = (pl.Team and pl.Team.TeamColor.Color) or Color3.new(1,1,1)
- elseif hl then hl:Destroy() end
- local dist = math.floor((hrp.Position - player.Character.HumanoidRootPart.Position).Magnitude)
- local hp = math.floor(hum.Health)
- local armor = "?"
- local vf = char:FindFirstChild("Values")
- if vf then
- local prot = vf:FindFirstChild("Protection")
- if prot then
- local a = getArmor(prot)
- if type(a)=="number" then armor = tostring(a) end
- end
- end
- local age = char:FindFirstChild("Age") and tostring(char.Age.Value) or "?"
- local teamName = pl.Team and pl.Team.Name or "None"
- local tool = char:FindFirstChildOfClass("Tool")
- local toolName = tool and tool.Name
- local lines, L1, L2 = {}, {}, {}
- if espSettings.Name then table.insert(L1, pl.Name) end
- if espSettings.HP then table.insert(L1, hp.." HP") end
- if espSettings.Armor then table.insert(L1, armor.." Armor") end
- if espSettings.Distance then table.insert(L1, dist.." studs") end
- if #L1>0 then table.insert(lines, table.concat(L1," | ")) end
- if espSettings.Team then table.insert(L2, "Team: "..teamName) end
- if espSettings.Age then table.insert(L2, "Age: "..age) end
- if #L2>0 then table.insert(lines, table.concat(L2," | ")) end
- if espSettings.Holding and toolName then
- table.insert(lines, "Holding: "..toolName)
- end
- local lineH, totalH = 18, #lines*18
- local startY = pos.Y - totalH/2
- local drawn = {}
- for i, txt in ipairs(lines) do
- local d = Drawing.new("Text")
- d.Text, d.Size, d.Center, d.Font = txt, 16, true, 2
- d.Color = (pl.Team and pl.Team.TeamColor.Color) or Color3.new(1,1,1)
- d.Outline = true; d.OutlineColor = Color3.new(0,0,0)
- d.Position = Vector2.new(pos.X, startY + (i-1)*lineH)
- d.Visible = true
- table.insert(drawn, d)
- end
- espObjects[pl] = drawn
- end
- end
- end
- end)
- -- END OF FULL GUI
- else
- wrongLabel.Text = "Incorrect key."
- wait(1.5)
- wrongLabel.Text = ""
- end
- end)
- inputBox.FocusLost:Connect(function(enter)
- if enter then unlockBtn:MouseButton1Click() end
- end)
Advertisement
Add Comment
Please, Sign In to add comment