Google Forms has no native response limit. You can stop accepting responses manually, but there is no setting for "close after 30 submissions" — and no way to cap an individual choice so it disappears once it is full.
The manual route is Responses → Accepting responses, toggled off when you decide you have enough. It works, but somebody has to remember to do it — which is awkward if the cutoff falls during a lesson or overnight.
To automate it you need either a Workspace add-on such as Form Limiter, or an app that can set the cap for you:
This is the harder one, and it is what most people are actually asking for: a sign-up sheet where each time slot, shift or workshop can only be taken a fixed number of times, and disappears from the list when it fills.
Google Forms cannot do this at all. The classic solution is the Choice Eliminator add-on. The same behaviour is available from your phone:
A total cap and a per-option cap are different things. Use a total cap for "first 100 people". Use a per-option cap for slots, shifts, appointments and anything where each choice has its own capacity.
AI Forms for Google Docs does this from your phone — no add-on, no laptop. Get it on the App Store.