when im clicking its saying ive realist
local UserInputService = game:GetService("UserInputService")
Been_clicked = false
local function onInputBegan(input, _gameProcessed)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
print("The left mouse button has been pressed!")
end
end
UserInputService.InputBegan:Connect(onInputBegan)
local function onInputEnded(input, _gameProcessed)
if input.UserInputType == Enum.UserInputType.MouseButton1 then
print("The left mouse button has been realist!")
end
end
UserInputService.InputBegan:Connect(onInputEnded)