im trying to make a simulator game. i want the user to be able to click anywhere on the screen and get points. the only way I've found to do it is to make the button the whole screen but then you cant look around.
local userinputservice = game:GetService("UserInputService") userinputservice.InputBegan:Connect(function(input, event) if event then return false end if input.UserInputType == Enum.UserInputType.MouseButton1 then -- your code here end end)