I feel like this is an easy answer haha but I can't get it. What's going on?

Output: 16:22:42.022 - Value cannot be assigned to 16:22:42.023 - Script 'Workspace.Cyan.Portal', Line 22 16:22:42.025 - Stack End

bullet.Touched:connect(function(hit)
	if hit.Parent.ClassName ~= "Tool" then
		bullet:Destroy()
		if hit.Name == "WhiteWall" then
			if name == "Cyan" then
				for _,v in pairs(workspace.Walls:GetChildren()) do
					if v:FindFirstChild("CyanPortal") then
						v.CyanPortal:Destroy()
						v.CanTeleport.Value = false
						v.Color.Value = "White"
					end
				end
				wait()
				local decal = Instance.new("Decal",hit)
				decal.Texture = "http://www.roblox.com/asset/?id=189212648"
				decal.Face = "Front"
				decal.Name = "CyanPortal"
				hit.CanTeleport.Value = true
				hit.Color.Value = "Cyan"
			elseif name == "Orange" then
				for _,v in pairs(workspace.Walls:GetChildren()) do
					if v:FindFirstChild("OrangePortal") then
						v.OrangePortal:Destroy()
						v.CanTeleport.Value = false
						v.Color.Value = "White"
					end
				end
				wait()
				local decal = Instance.new("Decal",hit)
				decal.Texture = "http://www.roblox.com/asset/?id=189212620"
				decal.Face = "Front"
				decal.Name = "OrangePortal"
				hit.CanTeleport.Value = true
				hit.Color.Value = "Orange"
			end
		end
	end
end)