Detecting/Counting Humanoids through Raycasts

local isActive = false
Clip.Scanning.Changed:Connect(function()
	isActive = Clip.Scanning.Value

	while isActive do
		task.wait(0.1)
		Scan()
	end
end)

This appears to be working the same way as the previous method

Yeah ok wait I’m dumb it’s probably something else. Is nothing printing at all or does it constantly print print("nothing detected") ?

Yeah, it’s pretty much a constant stream of printing such. That’s why I figure it’s something with the detection, not the trigger

When a game is running, what does your workspace.Entitiy folder look like in studio?

1 Like

It’s, workspace > Entities > Dummy (Imported from the default Build Rig plugin)