local function onInputBegan(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then print("Mouse button clicked") -- You could add game logic here end end

userInputService.InputBegan:Connect(onInputBegan) This script listens for a mouse click and prints a message. It's a basic example and doesn't offer any "OP" advantages but shows how to interact with game events.

-- A simple example of a LocalScript that prints a message when the player clicks local player = game.Players.LocalPlayer local userInputService = game:GetService("UserInputService")