Is there a way to detect when the player started recording with the default roblox recorder?

I’m trying to make it so that whenever you are recording it automatically hides some ui elements but I’m having trouble detecting whenever the player starts recording.

I’ve tried using userinputservice to detect whenever the player presses F12 but it just doesn’t seem to register.

I noticed that whenever you start recording it says
image
I’m pretty sure there was a way to detect whenever a specific message was sent to the console somehow but I don’t remember how.

nvm got it :smiley:

game:GetService("LogService").MessageOut:Connect(function(message, messageType)
	if message == "Video recording started" then
		--started recording
	elseif message == "Video recording stopped" then
		--stopped recording
	end
end)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.