local replicatedStorage = game:GetService("ReplicatedStorage") local players = game:GetService("Players") local coreGui = game:GetService("CoreGui") local parryModule = require(replicatedStorage:WaitForChild("Modules"):WaitForChild("ParryModule")) local screenGui = Instance.new("ScreenGui") screenGui.Name = "ParryAnywhereUI" screenGui.ResetOnSpawn = false local mainButton = Instance.new("TextButton") mainButton.Name = "ParryButton" mainButton.Size = UDim2.new(0, 200, 0, 50) mainButton.Position = UDim2.new(0.5, -100, 0.8, -25) mainButton.BackgroundColor3 = Color3.fromRGB(35, 35, 35) mainButton.TextColor3 = Color3.fromRGB(255, 255, 255) mainButton.Text = "Parry Anywhere" mainButton.Font = Enum.Font.SourceSans mainButton.TextSize = 18 mainButton.BorderSizePixel = 0 mainButton.AutoButtonColor = true local success, targetParent = pcall(function() return coreGui:FindFirstChild("RobloxGui") or coreGui end) if success and targetParent then screenGui.Parent = targetParent else screenGui.Parent = players.LocalPlayer:WaitForChild("PlayerGui") end mainButton.MouseButton1Click:Connect(function() if parryModule and parryModule.CheckIfParry then parryModule.CheckIfParry() if parryModule.Visual then parryModule.Visual() end end end) mainButton.Parent = screenGui