Run it
Copy the script and paste it into your executor.
local player = game.Players.LocalPlayer
local gui = Instance.new("ScreenGui")
gui.Parent = player:WaitForChild("PlayerGui")
local button = Instance.new("TextButton")
button.Size = UDim2.new(0, 150, 0, 50)
button.Position = UDim2.new(0.5, -75, 0.85, 0)
button.Text = "Lock-On: OFF"
button.Parent = gui
local enabled = false
button.MouseButton1Click:Connect(function()
enabled = not enabled
button.Text = enabled and "Lock-On: ON" or "Lock-On: OFF"
end)local player = game.Players.LocalPlayer local gui = Instance.new("ScreenGui") gui.Parent = player:WaitForChild("PlayerGui") local button = Instance.new("TextButton") button.Size = UDim2.new(0, 150, 0, 50) button.Position = UDim2.new(0.5, -75, 0.85, 0) button.Text = "Lock-On: OFF" button.Parent = gui local enabled = false button.MouseButton1Click:Connect(function() enabled = not enabled button.Text = enabled and "Lock-On: ON" or "Lock-On: OFF" end)

Universal