Thermal Camera doesn't capture other players

Hello! So I’m trying to create a thermal camera simply by using a viewport frame and colouring characters when detected (or anything hot for that matter). It works great, but it doesn’t capture other players. The player exists in the game, but my local script won’t clone the player’s character into the model of the viewport frame.

This is the function for cloning objects in the player’s workspace:

local function getImage()
		for _, object in pairs(game.Workspace:GetChildren()) do
			if not object:IsA("Terrain") then
				if object.Name ~= player.Name then
					local clone
					local success, err = pcall(function()
						clone = object:Clone()
					end)

					if success and clone then
						clone.Parent = model
					end
				end
			end
		end
	end

Video:
Video Link

Full script (for reference):

:warning: The script is only a prototype, so it may be messy or inefficient. I’m aware.