This script will create a simple GUI button to toggle the auto parry feature.
-- GUI Setup local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui
local toggleButton = Instance.new("ImageButton") toggleButton.Parent = screenGui toggleButton.Size = UDim2.new(0, 100, 0, 50) toggleButton.Position = UDim2.new(0.5, -50, 0.9, -25) toggleButton.Image = "rbxassetid:// YOUR_IMAGE_ID_HERE" -- Change to your button image toggleButton.MouseButton1Click:Connect(toggleAutoParry)
This script will create a simple GUI button to toggle the auto parry feature.
-- GUI Setup local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui Op Auto Parry Gui Script
local toggleButton = Instance.new("ImageButton") toggleButton.Parent = screenGui toggleButton.Size = UDim2.new(0, 100, 0, 50) toggleButton.Position = UDim2.new(0.5, -50, 0.9, -25) toggleButton.Image = "rbxassetid:// YOUR_IMAGE_ID_HERE" -- Change to your button image toggleButton.MouseButton1Click:Connect(toggleAutoParry) This script will create a simple GUI button