local WasUI = loadstring(game:HttpGet("https://raw.githubusercontent.com/WasKKal/WasUI-For-Roblox/main/WasUI.lua", true))() -- 创建配置文件夹 必须先调用 local cfg = WasUI:CreateFolder("WasUI_示例配置") -- 创建窗口 标题为 WasUI 示例 背景链接为 nil 雪花飘落开启 local mainWindow = WasUI:CreateWindow("WasUI 示例", nil, nil, nil, true) mainWindow:SetWelcome("欢迎使用 WasUI") -- 设置收起按钮的文字 mainWindow:SetMinimizedText("TrashHub") -- 设置关闭确认对话框的文本 WasUI.DialogTitle = "确认关闭 WasUI 示例?" -- 设置UI设置中文字与复制的内容 WasUI:SetGroupButtonText("加入 WasUI 主群") WasUI:SetGroupCopyContent("此处输入你的群号") local tabBasic = mainWindow:AddTab("基础") local tabGame = mainWindow:AddTab("游戏") local tabOld = mainWindow:AddTab("旧版演示") local tabNew = mainWindow:AddTab("新功能") WasUI:CreateCategory(tabBasic, "基础控件") -- 按钮示例 WasUI:CreateButton(tabBasic, "点击按钮", function() WasUI:Notify({Title = "按钮点击", Content = "按钮被点击了", Duration = 2}) end) -- 开关示例 绑定彩虹文字和配置保存 最后一个参数为 configKey WasUI:CreateToggleWithTitle(tabBasic, "彩虹开关 - 演示", false, function(state) WasUI:Notify({Title = "开关状态", Content = state and "演示开关已开启" or "演示开关已关闭", Duration = 2}) end, "演示开关", "我是彩虹文字", nil, "demo_toggle") -- 第二个开关 绑定不同的彩虹文字和配置键 WasUI:CreateToggleWithTitle(tabBasic, "无限跳", false, function(enabled) getgenv().InfJ = enabled game:GetService("UserInputService").JumpRequest:connect(function() if InfJ == true then game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):ChangeState("Jumping") end end) end) -- 第三个开关 配置键 WasUI:CreateToggleWithTitle(tabBasic, "穿墙", false, function(enabled) local workspace = game:GetService("Workspace") local Players = game:GetService("Players") if enabled then Clipon = true else Clipon = false end Stepped = game:GetService("RunService").Stepped:Connect(function() if Clipon then for _, child in pairs(workspace:GetChildren()) do if child.Name == Players.LocalPlayer.Name then for _, part in pairs(workspace[Players.LocalPlayer.Name]:GetChildren()) do if part:IsA("BasePart") then part.CanCollide = false end end end end else Stepped:Disconnect() end end) end) -- 下拉菜单示例 支持配置保存 WasUI:CreateDropdown(tabBasic, "下拉菜单演示", {"选项 A", "选项 B", "选项 C"}, "选项 A", function(selected) WasUI:Notify({Title = "下拉选择", Content = "选中:" .. selected, Duration = 2}) end, false, "demo_dropdown") -- 滑块示例 支持配置保存 WasUI:CreateSlider(tabBasic, "滑块演示", 0, 100, 50, function(value) WasUI:Notify({Title = "滑块数值", Content = "当前值:" .. value, Duration = 1}) end, "demo_slider") WasUI:CreateCategory(tabGame, "游戏功能") WasUI:CreateToggleWithTitle(tabGame, "静默自瞄", false, function(state) loadstring(game:HttpGet("https://raw.githubusercontent.com/odhdshhe/bu/refs/heads/main/%E6%9C%88%E4%BA%AE%E5%8A%A0%E5%AF%86%E8%BF%87%E7%9A%84%E6%9E%97%E7%9A%84%E8%87%AA%E7%9E%84.lua"))() end) WasUI:CreateToggleWithTitle(tabGame, "子弹追中", false, function(state) loadstring(game:HttpGet("https://raw.githubusercontent.com/ylt410/roblox-Script/refs/heads/main/子追"))() end) WasUI:CreateToggleWithTitle(tabGame, "死亡笔记", false, function(state) loadstring(game:HttpGet("https://raw.githubusercontent.com/xiaopi77/xiaopi77/main/1_1.txt_2024-08-08_153358.OTed.lua"))() end) WasUI:CreateToggleWithTitle(tabGame, "透视功能", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/G2zb992X"))() end) WasUI:CreateToggleWithTitle(tabGame, "卡服脚本", false, function(state) loadstring(game:HttpGet("https://raw.githubusercontent.com/ylt410/roblox-Script/refs/heads/main/卡服.lua"))() end) WasUI:CreateToggleWithTitle(tabGame, "玩家传送到老外身边", false, function(state) loadstring(game:HttpGet("https://raw.githubusercontent.com/Infinity2346/Tect-Menu/main/Teleport%20Gui.lua"))() end) WasUI:CreateToggleWithTitle(tabGame, "吸人", false, function(state) loadstring(game:HttpGet("https://pastefy.app/fF3DMBNF/raw"))() end) WasUI:CreateToggleWithTitle(tabGame, "最强战场[服务器]", false, function(state) loadstring(game:HttpGet("https://raw.githubusercontent.com/ylt410/roblox-Script/refs/heads/main/最强战场"))() end) WasUI:CreateToggleWithTitle(tabGame, "人物飞天", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/0DjWRXBY"))() end) WasUI:CreateToggleWithTitle(tabGame, "终极战场", false, function(state) loadstring(game:HttpGet("https://raw.githubusercontent.com/ylt410/roblox-Script/refs/heads/main/终极战场"))() end) WasUI:CreateToggleWithTitle(tabGame, "飞檐走壁", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/zXk4Rq2r"))() end) WasUI:CreateToggleWithTitle(tabGame, "踏空行走", false, function(state) loadstring(game:HttpGet("https://raw.githubusercontent.com/GhostPlayer352/Test4/main/Float"))() end) WasUI:CreateToggleWithTitle(tabGame, "平滑自瞄", false, function(state) local fov = 100 local smoothness = 10 local crosshairDistance = 5 local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Players = game:GetService("Players") local Cam = game.Workspace.CurrentCamera local FOVring = Drawing.new("Circle") FOVring.Visible = true FOVring.Thickness = 2 FOVring.Color = Color3.fromRGB(0, 255, 0) FOVring.Filled = false FOVring.Radius = fov FOVring.Position = Cam.ViewportSize / 2 local Player = Players.LocalPlayer local PlayerGui = Player:WaitForChild("PlayerGui") local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "FovAdjustGui" ScreenGui.Parent = PlayerGui local Frame = Instance.new("Frame") Frame.Name = "MainFrame" Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) Frame.BorderColor3 = Color3.fromRGB(128, 0, 128) Frame.BorderSizePixel = 2 Frame.Position = UDim2.new(0.3, 0, 0.3, 0) Frame.Size = UDim2.new(0.4, 0, 0.4, 0) Frame.Active = true Frame.Draggable = true Frame.Parent = ScreenGui local MinimizeButton = Instance.new("TextButton") MinimizeButton.Name = "MinimizeButton" MinimizeButton.Text = "-" MinimizeButton.TextColor3 = Color3.fromRGB(255, 255, 255) MinimizeButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50) MinimizeButton.Position = UDim2.new(0.9, 0, 0, 0) MinimizeButton.Size = UDim2.new(0.1, 0, 0.1, 0) MinimizeButton.Parent = Frame local isMinimized = false MinimizeButton.MouseButton1Click:Connect(function() isMinimized = not isMinimized if isMinimized then Frame:TweenSize(UDim2.new(0.1, 0, 0.1, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.3, true) MinimizeButton.Text = "+" else Frame:TweenSize(UDim2.new(0.4, 0, 0.4, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.3, true) MinimizeButton.Text = "-" end end) local FovLabel = Instance.new("TextLabel") FovLabel.Name = "FovLabel" FovLabel.Text = "自瞄范围" FovLabel.TextColor3 = Color3.fromRGB(255, 255, 255) FovLabel.BackgroundTransparency = 1 FovLabel.Position = UDim2.new(0.1, 0, 0.1, 0) FovLabel.Size = UDim2.new(0.8, 0, 0.2, 0) FovLabel.Parent = Frame local FovSlider = Instance.new("TextBox") FovSlider.Name = "FovSlider" FovSlider.Text = tostring(fov) FovSlider.TextColor3 = Color3.fromRGB(255, 255, 255) FovSlider.BackgroundColor3 = Color3.fromRGB(50, 50, 50) FovSlider.Position = UDim2.new(0.1, 0, 0.3, 0) FovSlider.Size = UDim2.new(0.8, 0, 0.2, 0) FovSlider.Parent = Frame local SmoothnessLabel = Instance.new("TextLabel") SmoothnessLabel.Name = "SmoothnessLabel" SmoothnessLabel.Text = "自瞄平滑度" SmoothnessLabel.TextColor3 = Color3.fromRGB(255, 255, 255) SmoothnessLabel.BackgroundTransparency = 1 SmoothnessLabel.Position = UDim2.new(0.1, 0, 0.5, 0) SmoothnessLabel.Size = UDim2.new(0.8, 0, 0.2, 0) SmoothnessLabel.Parent = Frame local SmoothnessSlider = Instance.new("TextBox") SmoothnessSlider.Name = "SmoothnessSlider" SmoothnessSlider.Text = tostring(smoothness) SmoothnessSlider.TextColor3 = Color3.fromRGB(255, 255, 255) SmoothnessSlider.BackgroundColor3 = Color3.fromRGB(50, 50, 50) SmoothnessSlider.Position = UDim2.new(0.1, 0, 0.7, 0) SmoothnessSlider.Size = UDim2.new(0.8, 0, 0.2, 0) SmoothnessSlider.Parent = Frame local CrosshairDistanceLabel = Instance.new("TextLabel") CrosshairDistanceLabel.Name = "CrosshairDistanceLabel" CrosshairDistanceLabel.Text = "自瞄预判距离" CrosshairDistanceLabel.TextColor3 = Color3.fromRGB(255, 255, 255) CrosshairDistanceLabel.BackgroundTransparency = 1 CrosshairDistanceLabel.Position = UDim2.new(0.1, 0, 0.9, 0) CrosshairDistanceLabel.Size = UDim2.new(0.8, 0, 0.2, 0) CrosshairDistanceLabel.Parent = Frame local CrosshairDistanceSlider = Instance.new("TextBox") CrosshairDistanceSlider.Name = "CrosshairDistanceSlider" CrosshairDistanceSlider.Text = tostring(crosshairDistance) CrosshairDistanceSlider.TextColor3 = Color3.fromRGB(255, 255, 255) CrosshairDistanceSlider.BackgroundColor3 = Color3.fromRGB(50, 50, 50) CrosshairDistanceSlider.Position = UDim2.new(0.1, 0, 1.1, 0) CrosshairDistanceSlider.Size = UDim2.new(0.8, 0, 0.2, 0) CrosshairDistanceSlider.Parent = Frame local targetCFrame = Cam.CFrame local function updateDrawings() local camViewportSize = Cam.ViewportSize FOVring.Position = camViewportSize / 2 FOVring.Radius = fov end local function onKeyDown(input) if input.KeyCode == Enum.KeyCode.Delete then RunService:UnbindFromRenderStep("FOVUpdate") FOVring:Remove() end end UserInputService.InputBegan:Connect(onKeyDown) local function getClosestPlayerInFOV(trg_part) local nearest = nil local last = math.huge local playerMousePos = Cam.ViewportSize / 2 for _, player in ipairs(Players:GetPlayers()) do if player ~= Players.LocalPlayer then local part = player.Character and player.Character:FindFirstChild(trg_part) if part then local ePos, isVisible = Cam:WorldToViewportPoint(part.Position) local distance = (Vector2.new(ePos.x, ePos.y) - playerMousePos).Magnitude if distance < last and isVisible and distance < fov then last = distance nearest = player end end end end return nearest end RunService.RenderStepped:Connect(function() updateDrawings() local closest = getClosestPlayerInFOV("Head") if closest and closest.Character:FindFirstChild("Head") then local targetCharacter = closest.Character local targetHead = targetCharacter.Head local targetRootPart = targetCharacter:FindFirstChild("HumanoidRootPart") local isMoving = targetRootPart.Velocity.Magnitude > 0.1 local targetPosition if isMoving then targetPosition = targetHead.Position + (targetHead.CFrame.LookVector * crosshairDistance) else targetPosition = targetHead.Position end targetCFrame = CFrame.new(Cam.CFrame.Position, targetPosition) else targetCFrame = Cam.CFrame end Cam.CFrame = Cam.CFrame:Lerp(targetCFrame, 1 / smoothness) end) FovSlider.FocusLost:Connect(function(enterPressed, inputThatCausedFocusLoss) if enterPressed then local newFov = tonumber(FovSlider.Text) if newFov then fov = newFov else FovSlider.Text = tostring(fov) end end end) SmoothnessSlider.FocusLost:Connect(function(enterPressed, inputThatCausedFocusLoss) if enterPressed then local newSmoothness = tonumber(SmoothnessSlider.Text) if newSmoothness then smoothness = newSmoothness else SmoothnessSlider.Text = tostring(smoothness) end end end) CrosshairDistanceSlider.FocusLost:Connect(function(enterPressed, inputThatCausedFocusLoss) if enterPressed then local newCrosshairDistance = tonumber(CrosshairDistanceSlider.Text) if newCrosshairDistance then crosshairDistance = newCrosshairDistance else CrosshairDistanceSlider.Text = tostring(crosshairDistance) end end end) end) WasUI:CreateToggleWithTitle(tabGame, "点击传送道具", false, function(state) loadstring(game:HttpGet("https://pastefy.app/Jf2QXOwa/raw"))() end) WasUI:CreateToggleWithTitle(tabGame, "操人脚本", false, function(state) loadstring(game:HttpGet("https://pastefy.app/BkeffrT5/raw"))() end) WasUI:CreateToggleWithTitle(tabGame, "r6道馆", false, function(state) loadstring(game:HttpGet("https://pastefy.app/wa3v2Vgm/raw"))() end) WasUI:CreateToggleWithTitle(tabGame, "r15道馆", false, function(state) loadstring(game:HttpGet("https://pastefy.app/YZoglOyJ/raw"))() end) WasUI:CreateToggleWithTitle(tabGame, "R6远程操蛋", false, function(state) loadstring(game:HttpGet([[https://raw.githubusercontent.com/roblox-ye/QQ515966991/refs/heads/main/YE-R6CB-SCRIPT.lua]]))() end) WasUI:CreateToggleWithTitle(tabGame, "R15远程操蛋", false, function(state) loadstring(game:HttpGet([[https://raw.githubusercontent.com/roblox-ye/QQ515966991/refs/heads/main/YE-R15CB-SCRIPT.lua]]))() end) WasUI:CreateToggleWithTitle(tabGame,"猫娘R63", false, function(state) loadstring(game:HttpGet([[https://raw.githubusercontent.com/Tescalus/Pendulum-Hubs-Source/main/Pendulum%20Hub%20V5.lua]]))() end) WasUI:CreateToggleWithTitle(tabGame, "FE 超长级把", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/ESWSFND7", true))() end) WasUI:CreateToggleWithTitle(tabGame, "获得管理员权限", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/sZpgTVas"))() end) WasUI:CreateToggleWithTitle(tabGame, "FE Tuber93入侵弹窗图显示", false, function(state) loadstring(game:HttpGet("https://pastefy.app/veGCWoZ6/raw"))() end) WasUI:CreateToggleWithTitle(tabGame, "FE 修改皮脚本天空", false, function(state) loadstring(game:HttpGet("https://pastefy.app/HZaYQYHa/raw"))() end) WasUI:CreateToggleWithTitle(tabGame, "FE 黑客入侵", false, function(state) loadstring(game:HttpGet("https://pastefy.app/qQOkHeaY/raw"))() end) WasUI:CreateToggleWithTitle(tabGame, "人物螺旋上天", false, function(state) loadstring(game:HttpGet("https://pastefy.app/xV1T3PAi/raw"))() end) WasUI:CreateToggleWithTitle(tabGame, "甩飞所有人", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/zqyDSUWX"))() end) WasUI:CreateToggleWithTitle(tabGame, "夜视", false, function(enabled) spawn(function() while task.wait() do local lighting = game.Lighting if enabled then lighting.Ambient = Color3.new(1, 1, 1) else lighting.Ambient = Color3.new(0, 0, 0) end end end) end) WasUI:CreateToggleWithTitle(tabGame, "FE 香蕉枪", false, function(state) loadstring(game:HttpGet("https://raw.githubusercontent.com/MrNeRD0/Doors-Hack/main/BananaGunByNerd.lua"))() end) WasUI:CreateToggleWithTitle(tabGame, "杀戮光环", false, function(enabled) local Players = nil local isRunning = nil if enabled then local existingConnections = getgenv().configs and getgenv().configs.connections if existingConnections then local disableEvent = getgenv().configs.Disable for _, connection in pairs(existingConnections) do connection:Disconnect() end disableEvent:Fire() disableEvent:Destroy() table.clear(getgenv().configs) end local disableEvent = Instance.new("BindableEvent") getgenv().configs = { connections = {}, Disable = disableEvent, Size = Vector3.new(10, 10, 10), DeathCheck = true, } Players = game:GetService("Players") local RunService = game:GetService("RunService") local localPlayer = Players.LocalPlayer isRunning = true local overlapParams = OverlapParams.new() overlapParams.FilterType = Enum.RaycastFilterType.Include local function GetCharacter(player) if not player then player = localPlayer end return player.Character end -- ...existing code... local function GetHumanoid(model) if not model then return nil end -- safe check for Instance-like objects if type(model) == "userdata" and model.IsA then if model:IsA("Player") then -- if a Player was passed, use its character model = GetCharacter(model) end if model and type(model) == "userdata" and model.IsA then if model:IsA("Model") then return model:FindFirstChildWhichIsA("Humanoid") or model:FindFirstChild("Humanoid") elseif model:IsA("Humanoid") then return model end end end return nil end -- ...existing code... local function IsAlive(humanoid) return humanoid and 0 < humanoid.Health end local function HasTouchTransmitter(tool) return tool and tool:FindFirstChildWhichIsA("TouchTransmitter", true) end local function GetOtherCharacters(excludeCharacter) local characters = {} for _, player in pairs(Players:GetPlayers()) do table.insert(characters, GetCharacter(player)) end for index, character in pairs(characters) do if character == excludeCharacter then table.remove(characters, index) break end end return characters end local function ActivateTool(tool, part, targetPart) if tool:IsDescendantOf(workspace) then tool:Activate() firetouchinterest(part, targetPart, 1) firetouchinterest(part, targetPart, 0) end end table.insert(getgenv().configs.connections, disableEvent.Event:Connect(function() isRunning = false end)) while isRunning do local localCharacter = GetCharacter() if IsAlive(GetHumanoid(localCharacter)) then local tool = localCharacter and localCharacter:FindFirstChildWhichIsA("Tool") local touchTransmitter = tool and HasTouchTransmitter(tool) if touchTransmitter then local toolPart = touchTransmitter.Parent local otherCharacters = GetOtherCharacters(localCharacter) overlapParams.FilterDescendantsInstances = otherCharacters for _, part in pairs(workspace:GetPartBoundsInBox(toolPart.CFrame, toolPart.Size + getgenv().configs.Size, overlapParams)) do local characterModel = part:FindFirstAncestorWhichIsA("Model") if table.find(otherCharacters, characterModel) then if getgenv().configs.DeathCheck and IsAlive(GetHumanoid(characterModel)) then ActivateTool(tool, toolPart, part) elseif not getgenv().configs.DeathCheck then ActivateTool(tool, toolPart, part) end end end end end RunService.Heartbeat:Wait() end else local disableEvent = getgenv().configs.Disable if disableEvent then disableEvent:Fire() disableEvent:Destroy() end local configs = getgenv().configs local connections = configs.connections for _, connection in pairs(connections) do connection:Disconnect() end table.clear(connections) Run = false end end) WasUI:CreateToggleWithTitle(tabGame, "靠近自动攻击(需要拿起武器)", false, function(enabled) local Players = nil local isRunning = nil if enabled then local r1_585 = getgenv().configs and getgenv().configs.connections if r1_585 then local r2_585 = getgenv().configs.Disable r3_585 = pairs for r6_585, r7_585 in r3_585(r1_585) do r7_585:Disconnect() end r2_585:Fire() r2_585:Destroy() table.clear(getgenv().configs) end local r2_585 = Instance.new("BindableEvent") r3_585 = getgenv() r3_585.configs = { connections = {}, Disable = r2_585, Size = Vector3.new(10, 10, 10), DeathCheck = true, } r3_585 = game:GetService("Players") local r4_585 = game:GetService("RunService") local r5_585 = r3_585.LocalPlayer r6_585 = true local r7_585 = OverlapParams.new() r7_585.FilterType = Enum.RaycastFilterType.Include local function r8_585(r0_591) if not r0_591 then r0_591 = r5_585 end return r0_591.Character end -- ...existing code... local function r9_585(r0_590) -- 安全版:接受 Player / Model / Humanoid,并返回 Humanoid 或 nil if not r0_590 then return nil end -- 如果传入的是 Player,则获取其角色(使用文件中已有的 r8_585) local candidate = r0_590 if type(candidate) == "userdata" and candidate.IsA then if candidate:IsA("Player") then candidate = r8_585(candidate) end if candidate and type(candidate) == "userdata" and candidate.IsA then if candidate:IsA("Model") then return candidate:FindFirstChildWhichIsA("Humanoid") or candidate:FindFirstChild("Humanoid") elseif candidate:IsA("Humanoid") then return candidate end end end return nil end -- ...existing code... local function r10_585(r0_587) return r0_587 and 0 < r0_587.Health end local function r11_585(r0_588) return r0_588 and r0_588:FindFirstChildWhichIsA("TouchTransmitter", true) end local function r12_585(r0_589) local r1_589 = {} for r5_589, r6_589 in pairs(r3_585:GetPlayers()) do table.insert(r1_589, r8_585(r6_589)) end for r5_589, r6_589 in pairs(r1_589) do if r6_589 == r0_589 then table.remove(r1_589, r5_589) break end end return r1_589 end local function r13_585(r0_592, r1_592, r2_592) if r0_592:IsDescendantOf(workspace) then r0_592:Activate() firetouchinterest(r1_592, r2_592, 1) firetouchinterest(r1_592, r2_592, 0) end end table.insert(getgenv().configs.connections, r2_585.Event:Connect(function() r6_585 = false end)) while r6_585 do local r14_585 = r8_585() if r10_585(r9_585(r14_585)) then local r15_585 = r14_585 and r14_585:FindFirstChildWhichIsA("Tool") local r16_585 = r15_585 and r11_585(r15_585) if r16_585 then local r17_585 = r16_585.Parent local r18_585 = r12_585(r14_585) r7_585.FilterDescendantsInstances = r18_585 for r23_585, r24_585 in pairs(workspace:GetPartBoundsInBox(r17_585.CFrame, r17_585.Size + getgenv().configs.Size, r7_585)) do local r25_585 = r24_585:FindFirstAncestorWhichIsA("Model") if table.find(r18_585, r25_585) then if getgenv().configs.DeathCheck and r10_585(r9_585(r25_585)) then r13_585(r15_585, r17_585, r24_585) elseif not getgenv().configs.DeathCheck then r13_585(r15_585, r17_585, r24_585) end end end end end r4_585.Heartbeat:Wait() end else local r1_585 = getgenv().configs.Disable if r1_585 then r1_585:Fire() r1_585:Destroy() end r3_585 = getgenv r3_585 = r3_585() r3_585 = r3_585.configs r3_585 = r3_585.connections for r5_585, r6_585 in pairs(r3_585) do r6_585:Disconnect() end r3_585 = getgenv r3_585 = r3_585() r3_585 = r3_585.configs r3_585 = r3_585.connections table.clear(r3_585) Run = false end end) WasUI:CreateToggleWithTitle(tabGame, "防踢出", false, function(state) local aS, aT, aU, aV, aW, aX, aY, aZ, a_ =getgenv, getnamecallmethod, hookmetamethod, hookfunction, newcclosure, checkcaller, string.lower, string.gsub, string.match if aS().ED_AntiKick then return end local a0 = cloneref or function(...) return ... end local a1 = clonefunction or function(...) return ... end local a2, a3, a4 =a0(game:GetService("Players")), a0(game:GetService("Players").LocalPlayer), a0(game:GetService("StarterGui")) local a5 = a1(a4.SetCore) local a6 = a1(game.FindFirstChild) local a7 = (CompareInstances and function(a7, a8) if typeof(a7) == "Instance" and typeof(a8) == "Instance" then return CompareInstances(a7, a8) end end) or function(a7, a8) return (typeof(a7) == "Instance" and typeof(a8) == "Instance") end local a8 = function(...) return pcall(a6, game, ...) end aS().ED_AntiKick = { Enabled = true, SendNotifications = true, CheckCaller = true } local a9; a9 = aU(game, "__namecall", aW(function(...) local ba, bb = ... local bc = aT() if ((aS().ED_AntiKick.CheckCaller and not aX()) or true) and a7(ba, a3) and aZ(bc, "^%l", string.upper) == "Kick" and ED_AntiKick.Enabled then if a8(bb) then if aS().ED_AntiKick.SendNotifications then a5(a4, "SendNotification", { Title = "防踢系统", Text = "成功拦截踢出尝试", Icon = "rbxassetid://6238540373", Duration = 2 }) end return end end return a9(...) end)) local ba; ba = aV(a3.Kick, function(...) local bb, bc = ... if ((ED_AntiKick.CheckCaller and not aX()) or true) and a7(bb, a3) and ED_AntiKick.Enabled then if a8(bc) then if ED_AntiKick.SendNotifications then a5(a4, "SendNotification", { Title = "防踢系统", Text = "成功拦截踢出尝试", Icon = "rbxassetid://6238540373", Duration = 2 }) end return end end end) if aS().ED_AntiKick.SendNotifications then a4:SetCore("SendNotification", { Title = "防踢系统", Text = "防踢功能已启用", Icon = "rbxassetid://6238537240", Duration = 3 }) end end) WasUI:CreateToggleWithTitle(tabGame, "隐身", false, function(enabled) local localPlayer = game.Players.LocalPlayer for _, child in pairs((localPlayer.Character or localPlayer.CharacterAdded:Wait()):GetChildren()) do local isBasePart = child:IsA("BasePart") if isBasePart then if enabled then isBasePart = 1 else isBasePart = 0 end child.Transparency = isBasePart child.CanCollide = not enabled elseif child:IsA("Accessory") then local handle = child.Handle local transparency = nil if enabled then transparency = 1 else transparency = 0 end handle.Transparency = transparency end end end) WasUI:CreateToggleWithTitle(tabGame, "自杀", false, function(state) game.Players.LocalPlayer.Character.Humanoid.Health = 0 end) WasUI:CreateToggleWithTitle(tabGame, "78子弹追踪2", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/1AJ69eRG"))() end) WasUI:CreateToggleWithTitle(tabGame, "踢人脚本", false, function(state) loadstring(game:HttpGet([[https://raw.githubusercontent.com/xiaopi77/xiaopi77/main/c8320f69b6aa4f5d.txt_2024-08-08_214628.OTed.lua]]))() end) WasUI:CreateToggleWithTitle(tabGame, "获取所有玩家背包", false, function(enabled) if enabled then while enabled do for _, player in pairs(game.Players:GetChildren()) do wait() for _, tool in pairs(player.Backpack:GetChildren()) do tool.Parent = game.Players.LocalPlayer.Backpack wait() end end end end end) WasUI:CreateToggleWithTitle(tabGame, "获取当前道具", false, function(state) loadstring(game:HttpGet("https://pastefy.app/3FU05Dyt/raw"))() end) WasUI:CreateToggleWithTitle(tabGame, "装备全部道具", false, function(state) loadstring(game:HttpGet("https://pastefy.app/uBqVR9JC/raw"))() end) WasUI:CreateToggleWithTitle(tabGame, "循环恢复血量", false, function(enabled) if enabled then getgenv().HFLoop = true task.spawn(function() while getgenv().HFLoop do local lp = game.Players.LocalPlayer local hum = lp and lp.Character and lp.Character:FindFirstChildWhichIsA("Humanoid") if hum and hum.Parent then hum.Health = 9000000000 end task.wait(0.5) end end) else getgenv().HFLoop = false end end) WasUI:CreateToggleWithTitle(tabGame, "解锁最大视野", false, function(enabled) Cam1 = enabled if Cam1 then Cam2() end end) function Cam2() while Cam1 do wait(0.1) local localPlayer = game:GetService("Players").LocalPlayer localPlayer.CameraMaxZoomDistance = 9000000000 end while not Cam1 do wait(0.1) local localPlayer = game:GetService("Players").LocalPlayer localPlayer.CameraMaxZoomDistance = 32 end end WasUI:CreateToggleWithTitle(tabGame, "反挂机", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/9fFu43FF"))() end) WasUI:CreateToggleWithTitle(tabGame, "FE 大长腿", false, function(state) loadstring(game:HttpGet([[https://gist.githubusercontent.com/1BlueCat/7291747e9f093555573e027621f08d6e/raw/23b48f2463942befe19d81aa8a06e3222996242c/FE%2520Da%2520Feets]]))() end) WasUI:CreateToggleWithTitle(tabGame, "FE 用头", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/BK4Q0DfU"))() end) WasUI:CreateToggleWithTitle(tabGame, "FE 复仇者", false, function(state) loadstring(game:HttpGet("https://pastefy.ga/iGyVaTvs/raw", true))() end) WasUI:CreateToggleWithTitle(tabGame, "传送到警局(监狱人生)", false, function(state) game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(847.7261352539062, 98.95999908447266, 2267.387451171875) end) WasUI:CreateToggleWithTitle(tabGame, "传送到警察总部(监狱人生)", false, function(state) game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(919.2575073242188, 98.95999908447266, 2379.74169921875) end) WasUI:CreateToggleWithTitle(tabGame, "传送到罪犯重生点(监狱人生)", false, function(state) game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-937.5891723632812, 93.09876251220703, 2063.031982421875) end) WasUI:CreateToggleWithTitle(tabGame, "传送到警察塔(监狱人生)", false, function(state) game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(760.6033325195312, 96.96992492675781, 2475.405029296875) end) WasUI:CreateToggleWithTitle(tabGame, "传送到监狱(监狱人生)", false, function(state) game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(788.5759887695312, 97.99992370605469, 2455.056640625) end) WasUI:CreateToggleWithTitle(tabGame, "传送到武器商店(监狱人生)", false, function(state) game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(602.7301635742188, 98.20000457763672, 2503.56982421875) end) WasUI:CreateToggleWithTitle(tabGame, "获取全部武器(监狱人生)", false, function(state) game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(847.72613525391, 98.959999084473, 2267.3874511719) end) WasUI:CreateToggleWithTitle(tabGame, "传送到死人下水道(监狱人生)", false, function(state) game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(921.00592041016, 99.989936828613, 2289.2309570313) end) WasUI:CreateToggleWithTitle(tabGame, "传送到食堂(监狱人生)", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/DssJhd7Z"))() end) WasUI:CreateToggleWithTitle(tabGame, "隐身(监狱人生)", false, function(state) loadstring(game:HttpGet("https://raw.githubusercontent.com/0Ben1/fe/main/obf_rf6iQURzu1fqrytcnLBAvW34C9N55kS9g9G3CKz086rC47M6632sEd4ZZYB0AYgV.lua.txt"))() end) WasUI:CreateToggleWithTitle(tabGame, "死亡笔记(监狱人生)", false, function(state) loadstring(game:HttpGet("https://raw.githubusercontent.com/krlpl/dfhj/main/%E6%AD%BB%E4%BA%A1%E7%AC%94%E8%AE%B0.txt"))() end) WasUI:CreateToggleWithTitle(tabGame, "闪现传送(脱狱)(监狱人生)", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/mSLiAZHk"))() end) WasUI:CreateToggleWithTitle(tabGame, "夺取钥匙(监狱人生)", false, function(state) loadstring(game:HttpGet("https://pastebin.com/ewv9bbRp"))() end) WasUI:CreateToggleWithTitle(tabGame, "M9光环(监狱人生)", false, function(state) loadstring(game:HttpGet("https://tc.qqij.cn/down.php/cf4c131142aa3bdc1f5d7b67c392ee55.lua"))() end) WasUI:CreateToggleWithTitle(tabGame, "遥想公瑾当年(监狱人生)", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/7prijqYH"))() end) WasUI:CreateToggleWithTitle(tabGame, "杀死所有人(监狱人生)", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/kXjfpFPh"))() end) WasUI:CreateToggleWithTitle(tabGame, "无敌模式(监狱人生)", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/LdTVujTA"))() end) WasUI:CreateToggleWithTitle(tabGame, "杀入光环(监狱人生)", false, function(SSGH) States.KillAura = SSGH if state then print("Kill Aura On") CreateKillPart() else print("Kill Aura Off") if Parts[1] and Parts[1].Name == "KillAura" then Parts[1]:Destroy() Parts[1] = nil end end end) function CreateKillPart() if Parts[1] then pcall(function() Parts[1]:Destroy() end) Parts[1] = nil end local Part = Instance.new("Part",plr.Character) local hilight = Instance.new("Highlight",Part) hilight.FillTransparency = 1 Part.Anchored = true Part.CanCollide = false Part.CanTouch = false Part.Material = Enum.Material.SmoothPlastic Part.Transparency = .98 Part.Material = Enum.Material.SmoothPlastic Part.BrickColor = BrickColor.White() Part.Size = Vector3.new(20,2,20) Part.Name = "KillAura" Parts[1] = Part end task.spawn(function() repeat task.wait()until plr.Character and char and char:FindFirstChildOfClass("Humanoid") if States.KillAura then CreateKillPart() end end) game:GetService("RunService").Stepped:Connect(function() if States.KillAura then for i,v in pairs(game.Players:GetPlayers()) do if v ~= game.Players.LocalPlayer then if (v.Character.HumanoidRootPart.Position - plr.Character.HumanoidRootPart.Position).magnitude <14 and v.Character.Humanoid.Health >0 then local args = {[1] = v} for i =1,2 do task.spawn(function() game:GetService("ReplicatedStorage").meleeEvent:FireServer(unpack(args)) end) end end end end end end) WasUI:CreateToggleWithTitle(tabGame, "杀戮光环(手枪竞技场)", false, function(state) loadstring(game:HttpGet("https://tc.qqij.cn/down.php/8fe99b8bae1aca90ee778746a9927a75.lua"))() end) WasUI:CreateToggleWithTitle(tabGame, "杀戮光环(光环狙击场)", false, function(state) loadstring(game:HttpGet("https://tc.qqij.cn/down.php/e451892f902d296b0ebdc0c9ab871e8c.lua"))() end) WasUI:CreateToggleWithTitle(tabGame, "杀戮光环(光环狙击场)", false, function(state) loadstring(game:HttpGet("https://tc.qqij.cn/down.php/e451892f902d296b0ebdc0c9ab871e8c.lua"))() end) WasUI:CreateToggleWithTitle(tabGame, "强锁追踪", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/jfNm6XvA"))() end) WasUI:CreateToggleWithTitle(tabGame, "全图瞬移", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/63AP7sSE"))() end) WasUI:CreateToggleWithTitle(tabGame, "平移追击", false, function(state) loadstring(game:HttpGet("https://pastebin.com/raw/KCFizBq3"))() end) WasUI:CreateToggleWithTitle(tabGame, "优化自瞄(不瞄墙壁后的人)", false, function(state) loadstring(game:HttpGet("https://tc.qqij.cn/down.php/d8624b4791a62dd644c5c211906411eb.txt"))() end) WasUI:CreateToggleWithTitle(tabGame, "入人", false, function(state) loadstring(game:HttpGet('https://pastefy.app/vKYKLCAW/raw'))() end) WasUI:CreateToggleWithTitle(tabGame, "通用子弹追踪", false, function(state) loadstring(game:HttpGet('https://tc.qqij.cn/down.php/6d689efc777e0ec4d540e8d47aa93cf9.lua'))() end) -- 滑块调节 配置保存 WasUI:CreateSlider(tabGame, "行走速度调节", 16, 150, 50, function(value) local char = game.Players.LocalPlayer.Character if char and char:FindFirstChild("Humanoid") then char.Humanoid.WalkSpeed = value WasUI:Notify({Title = "行走速度", Content = "行走速度已设为 " .. value, Duration = 1}) end end, "walk_speed") WasUI:CreateSlider(tabGame, "跳跃高度调节", 50, 300, 100, function(value) local char = game.Players.LocalPlayer.Character if char and char:FindFirstChild("Humanoid") then char.Humanoid.JumpPower = value WasUI:Notify({Title = "跳跃高度", Content = "跳跃高度已设为 " .. value, Duration = 1}) end end, "jump_power") -- 下拉菜单示例 配置保存 WasUI:CreateDropdown(tabGame, "选择游戏模式", { "生存模式", "创造模式", "冒险模式", "旁观者模式" }, "生存模式", function(selected) WasUI:Notify({Title = "游戏模式", Content = "已切换到:" .. selected, Duration = 2}) end, false, "game_mode") -- 重置按钮 WasUI:CreateButton(tabGame, "重置角色状态", function() local char = game.Players.LocalPlayer.Character if char and char:FindFirstChild("Humanoid") then char.Humanoid.WalkSpeed = 16 char.Humanoid.JumpPower = 100 WasUI:Notify({Title = "重置", Content = "角色状态已重置", Duration = 2}) end end) WasUI:CreateCategory(tabOld, "动态下拉菜单 - 玩家列表") local playerDropdown = nil local refreshButton = WasUI:CreateButton(tabOld, "刷新玩家列表", function() local players = game:GetService("Players"):GetPlayers() local playerNames = {} for _, player in ipairs(players) do table.insert(playerNames, player.Name) end if #playerNames == 0 then WasUI:Notify({Title = "提示", Content = "当前没有玩家", Duration = 2}) return end if playerDropdown then local currentSelected = playerDropdown.SelectedValue local newDefault = nil for _, name in ipairs(playerNames) do if name == currentSelected then newDefault = currentSelected break end end if not newDefault and #playerNames > 0 then newDefault = playerNames[1] end playerDropdown:UpdateOptions(playerNames, newDefault) end WasUI:Notify({Title = "刷新成功", Content = "已更新玩家列表,共 " .. #playerNames .. " 人", Duration = 2}) end) playerDropdown = WasUI:CreateDropdown(tabOld, "选择玩家", {}, "无", function(selected) if selected and selected ~= "无" then WasUI:Notify({Title = "选中玩家", Content = "你选择了:" .. selected, Duration = 2}) end end, false, "selected_player") WasUI:CreateLabel(tabOld, "提示:点击「刷新玩家列表」按钮,即可从游戏服务器获取当前所有在线玩家并更新下拉菜单。") WasUI:CreateLabel(tabOld, "你可以通过下拉菜单选择一个玩家,点击后会显示通知。") WasUI:CreateLabel(tabOld, "当有玩家加入或离开时,再次点击刷新即可更新列表。") WasUI:CreateCategory(tabNew, "颜色选择器") WasUI:CreateColorPickerButton( tabNew, "选择颜色", Color3.fromRGB(100, 150, 255), function(color, alpha) WasUI:Notify({ Title = "颜色已选择", Content = string.format("#%s (透明度: %.2f)", color:ToHex():upper(), alpha), Duration = 3 }) end, "demo_color" ) WasUI:CreateCategory(tabNew, "二次确认控件") -- 确认按钮示例 带输入框 修正参数顺序 size 传 nil 图标放在第6个参数 WasUI:CreateConfirmButton(tabNew, "删除文件", { title = "危险操作", titleColor = WasUI.CurrentTheme.Error, description = "您确定要删除所有文件吗?此操作不可恢复。", descriptionColor = WasUI.CurrentTheme.Text, showInput = true, inputPlaceholder = "请输入 YES 确认", inputDefault = "", confirmText = "确认删除", cancelText = "取消", onConfirm = function(inputValue) if inputValue == "YES" then WasUI:Notify({Title = "删除成功", Content = "所有文件已被删除", Duration = 3, BackgroundColor = WasUI.CurrentTheme.Success}) else WasUI:Notify({Title = "验证失败", Content = "输入内容不正确,操作已取消", Duration = 3, BackgroundColor = WasUI.CurrentTheme.Error}) end end, onCancel = function() WasUI:Notify({Title = "已取消", Content = "删除操作已取消", Duration = 2}) end }, nil, nil, "trash-2") -- 确认开关示例 开启时需要确认 WasUI:CreateConfirmToggle(tabNew, "危险开关", false, { title = "开启危险开关", titleColor = WasUI.CurrentTheme.Warning, description = "你确定要开启这个危险开关吗?", confirmText = "确认开启", cancelText = "取消", onConfirm = function() WasUI:Notify({Title = "开关状态", Content = "危险开关已开启", Duration = 2}) end, onCancel = function() WasUI:Notify({Title = "已取消", Content = "开启操作已取消", Duration = 2}) end }, function(state) if not state then WasUI:Notify({Title = "开关状态", Content = "危险开关已关闭", Duration = 2}) end end, "危险开关", nil, nil, "danger_toggle") WasUI:CreateCategory(tabNew, "手动配置操作") WasUI:CreateButton(tabNew, "保存所有配置", function() local config = cfg:GetConfig("user_settings") if config then config:Save() end WasUI:Notify({Title = "保存", Content = "当前配置已写入文件", Duration = 2}) end) WasUI:CreateButton(tabNew, "加载配置", function() local config = cfg:GetConfig("user_settings") if config then config:Load() end WasUI:Notify({Title = "加载", Content = "配置已从文件恢复", Duration = 2}) end) WasUI:CreateButton(tabNew, "删除配置文件", function() cfg:DeleteConfig("user_settings") WasUI:Notify({Title = "删除", Content = "配置文件已清除", Duration = 2}) end) -- 初始化通知 WasUI:Notify({Title = "初始化", Content = "WasUI 示例加载完成", Duration = 4})