I am making a border game and I needed a passport regen script here is the script

local function check ()
	local check = game.Workspace.findFirstChild("Passport")
	if not check then
		wait(5)
		game.Lighting.Passport:clone().Parent = game.Workspace
	end
end

while true do
	wait (.1)
	check()
end

What is wrong with the code?