Detect if player is in area

Is there any way to detect if a player is in a certain area?

You may want to try the Search tool up top first.
<Detecting Player In a Certain Area Question

You could create a region 3 and repeat check if the player was in it

local Region = Region3.new(minVector, maxVector)
local Character = plr.Character

repeat
	wait(5)--change at will
	local Parts = Workspace:FindPartsInRegion3WithWhitelist(Region, {Character.PrimaryPart})
	if #Parts > 0 then--Thing is there
		--do stuff
	end
until false

This probably isn’t the best way but it is the easiest way I could think of